Skip to content

Instantly share code, notes, and snippets.

@jaydub
Created April 11, 2021 10:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaydub/234c935814be7643d3382a54ea084ccb to your computer and use it in GitHub Desktop.
Save jaydub/234c935814be7643d3382a54ea084ccb to your computer and use it in GitHub Desktop.
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.
-KSMSERVEROPTIONS=""
-test -n "$dl" && KSMSERVEROPTIONS=" --lockscreen"
+KSMSERVEROPTIONS="--no-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