Skip to content

Instantly share code, notes, and snippets.

Created Apr 11, 2021
What would you like to do?
A patch against KDE 5.00 → 5.16 startkde to invoke ksmserver with "--no-lockscreen" so eg xscreensaver-systemd can run.
--- /usr/bin/startkde 2019-02-14 09:06:30.000000000 +1300
+++ startkde 2021-04-06 14:21:36.507071358 +1200
@@ -309,8 +309,8 @@
test -n "$KDEWM" && KDEWM="--windowmanager $KDEWM"
# If the session should be locked from the start (locked autologin),
# lock now and do the rest of the KDE startup underneath the locker.
-test -n "$dl" && KSMSERVEROPTIONS=" --lockscreen"
+#test -n "$dl" && KSMSERVEROPTIONS=" --lockscreen"
kwrapper5 /usr/bin/ksmserver $KDEWM $KSMSERVEROPTIONS
if test $? -eq 255; then
# Startup error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment