File tree Expand file tree Collapse file tree 2 files changed +20
-7
lines changed
channels/plasma/airootfs.any Expand file tree Collapse file tree 2 files changed +20
-7
lines changed Original file line number Diff line number Diff line change 1+ [Autologin]
2+ User=%USERNAME%
3+ Session=plasma.desktop
Original file line number Diff line number Diff line change @@ -89,13 +89,23 @@ if [[ "${arch}" = "x86_64" ]]; then
8989fi
9090
9191
92- # Disable services.
93- # To disable start up of sddm.
94- # If it is enable, Users have to enter password.
95- # systemctl disable sddm
96- # if [[ ${boot_splash} = true ]]; then
97- # systemctl disable sddm-plymouth.service
98- # fi
92+ # Bluetooth
93+ rfkill unblock all
94+ systemctl enable bluetooth
95+
96+ # Update system datebase
97+ dconf update
98+
99+ # Enable SDDM to auto login in live session
100+ if [[ " ${boot_splash} " = true ]]; then
101+ systemctl enable sddm-plymouth.service
102+ systemctl disable sddm.service
103+ else
104+ systemctl enable sddm.service
105+ fi
106+
107+ echo -e " \nremove /etc/sddm.conf.d/autologin.conf" >> " /usr/share/calamares/final-process"
108+ sed -i " s|%USERNAME%|${username} |g" " /etc/sddm.conf.d/autologin.conf"
99109
100110
101111# ntp
You can’t perform that action at this time.
0 commit comments