[plasma/plasma-setup] files: fix: dont require password when resuming from sleep

Kristen McWilliam <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 80bfa5996fefa71744bb7b8c4c3321d0df05fbde by Kristen McWilliam.
Committed on 20/07/2026 at 15:20.
Pushed by merritt into branch 'master'.

fix: dont require password when resuming from sleep

If a system was waiting to be set up and went to sleep (e.g. a laptop),
after resuming it would show the lock screen with the user as `Plasma
Setup` and require a password to unlock.

Add the config for the plasma-setup user to not require password when
resuming from sleep.

BUG: 508935

FIXED-IN: 6.7.4

M  +1    -1    files/plasma-setup-tmpfiles.conf.in

https://invent.kde.org/plasma/plasma-setup/-/commit/80bfa5996fefa71744bb7b8c4c3321d0df05fbde

diff --git a/files/plasma-setup-tmpfiles.conf.in b/files/plasma-setup-tmpfiles.conf.in
index ff7eef1..02cfdd7 100644
--- a/files/plasma-setup-tmpfiles.conf.in
+++ b/files/plasma-setup-tmpfiles.conf.in
@@ -25,7 +25,7 @@ f /run/plasma-setup/.config/plasma-welcomerc - - - - [General]\nLastSeenVersion=
 #
 # The plasma-setup special user does not have a password (nor would it be appropriate
 # to require one during first user setup).
-f /run/plasma-setup/.config/kscreenlockerrc - - - - [Daemon]\nAutolock=false\nTimeout=0
+f /run/plasma-setup/.config/kscreenlockerrc - - - - [Daemon]\nAutolock=false\nLockOnResume=false\nTimeout=0
 
 # Disable KWallet so it doesn't bother the user during initial setup
 f /run/plasma-setup/.config/kwalletrc - - - - [Wallet]\nEnabled=false
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.