Bug 410542

Summary: Add "Lock and suspend" option on lid close
Product: [Unmaintained] Powerdevil Reporter: Lastique <andysem>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: justin.zobel, kde, nate
Priority: NOR    
Version First Reported In: 5.15.4   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Lastique 2019-08-03 16:23:05 UTC
SUMMARY

I'd like to be able to configure KDE Energy Saving (in System Settings, Power Management) so that when laptop lid is closed, the screen would lock and the laptop would go into suspend mode. The intention is that when the lid is opened, the laptop wakes up in the locked mode.

Currently, there are two separate options in the Energy Saving: either lock the screen (in which case the laptop remains active) or suspend (in which case it wakes up unlocked). My current workaround is to lock the screen manually before closing the lid, but it is too easy to forget.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 19.04 x86_64
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2
Comment 1 Kai Uwe Broulik 2019-08-03 18:10:23 UTC
You can configure the screen to lock on suspend in lock screen settings.
Comment 2 Lastique 2019-08-03 18:53:04 UTC
Thanks, I found it. Still, looking for the option in the Desktop Behavior section is kind of non-obvious. Is it possible to make that option accessible from the Energy Saving as well?
Comment 3 Justin Zobel 2020-11-23 03:15:54 UTC
Moving to wishlist.
Comment 4 Nate Graham 2021-08-19 20:30:10 UTC
That locks when waking up, not when sleeping. Maybe the difference is academic, but still. :)

*** This bug has been marked as a duplicate of bug 397592 ***