[neon/neon/settings/Neon/unstable] usr/share/initramfs-tools/scripts/casper-bottom: switch to plasmalogin on livecd iso's
Carlos De Maine
null at kde.org
Thu May 28 11:23:18 BST 2026
Git commit 000f24619701ea46145224bd8003753d6079800b by Carlos De Maine.
Committed on 28/05/2026 at 10:17.
Pushed by carlosdem into branch 'Neon/unstable'.
switch to plasmalogin on livecd iso's
M +11 -8 usr/share/initramfs-tools/scripts/casper-bottom/40kde_neon_setup
https://invent.kde.org/neon/neon/settings/-/commit/000f24619701ea46145224bd8003753d6079800b
diff --git a/usr/share/initramfs-tools/scripts/casper-bottom/40kde_neon_setup b/usr/share/initramfs-tools/scripts/casper-bottom/40kde_neon_setup
index 81cb7a7..8b25c44 100755
--- a/usr/share/initramfs-tools/scripts/casper-bottom/40kde_neon_setup
+++ b/usr/share/initramfs-tools/scripts/casper-bottom/40kde_neon_setup
@@ -60,12 +60,13 @@ rm -fv /root/lib/systemd/system/*.wants/snapd.service
rm -fv /root/lib/systemd/system/ubiquity.service
rm -fv /root/lib/systemd/system/*.wants/ubiquity.service
-# Override ubuntu's sddm autologin config, it's not good enough. Notably
-# we'll want to set Relogin to not ever end up in a scenario where sddm shows
+# Override ubuntu's plasmalogin autologin config, it's not good enough. Notably
+# we'll want to set Relogin to not ever end up in a scenario where plasmalogin shows
# the login prompt as the users will not know what the password is or what to
# do.
-if [ -f /root/usr/bin/sddm ] && [ -f /root/usr/bin/startplasmamobile ]; then
- cat << EOF > /root/etc/sddm.conf
+if [ -f /root/usr/bin/plasmalogin ] && [ -f /root/usr/bin/startplasmamobile ]; then
+ touch /root/usr/lib/plasmalogin/plasmalogin.conf.d/00neon-plasmalogin.conf
+ cat << EOF > /root/usr/lib/plasmalogin/plasmalogin.conf.d/00neon-plasmalogin.conf
[Users]
MinimumUid=999
@@ -74,8 +75,9 @@ User=$USERNAME
Session=/usr/share/wayland-sessions/plasma-mobile.desktop
Relogin=true
EOF
-elif [ -f /root/usr/bin/sddm ] && [ -f /root/usr/bin/plasma-bigscreen-wayland ]; then
- cat << EOF > /root/etc/sddm.conf
+elif [ -f /root/usr/bin/plasmalogin ] && [ -f /root/usr/bin/plasma-bigscreen-wayland ]; then
+ touch /root/usr/lib/plasmalogin/plasmalogin.conf.d/00neon-plasmalogin.conf
+ cat << EOF > /root/usr/lib/plasmalogin/plasmalogin.conf.d/00neon-plasmalogin.conf
[Users]
MinimumUid=999
@@ -84,8 +86,9 @@ User=$USERNAME
Session=plasma-bigscreen-wayland.desktop
Relogin=true
EOF
-elif [ -f /root/usr/bin/sddm ]; then
- cat << EOF > /root/etc/sddm.conf
+elif [ -f /root/usr/bin/plasmalogin ]; then
+ touch /root/usr/lib/plasmalogin/plasmalogin.conf.d/00neon-plasmalogin.conf
+ cat << EOF > /root/usr/lib/plasmalogin/plasmalogin.conf.d/00neon-plasmalogin.conf
[Users]
MinimumUid=999
More information about the Neon-commits
mailing list