A patch to make startplasma-x11 invoke ksmserver with --no-lockscreen for the benefit of xscreensaver. Relevant to versions 5.17 → 5.20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- startplasma.cpp.orig 2021-04-11 21:16:44.570404892 +1200 | |
+++ startplasma.cpp 2021-04-11 21:17:22.973819429 +1200 | |
@@ -365,9 +365,7 @@ | |
if (qEnvironmentVariableIsSet("KDEWM")) { | |
ksmserverOptions << QStringLiteral("--windowmanager") << qEnvironmentVariable("KDEWM"); | |
} | |
- if (desktopLockedAtStart) { | |
- ksmserverOptions << QStringLiteral("--lockscreen"); | |
- } | |
+ ksmserverOptions << QStringLiteral("--no-lockscreen"); | |
} | |
const auto exitCode = runSync(QStringLiteral(CMAKE_INSTALL_FULL_BINDIR "/plasma_session"), ksmserverOptions); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment