
SleepSafe
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
This is a simple two-line script that locks the screen, then puts the system to sleep (it uses qdbus and KDE's power management system for these actions, hence its listing on KDE Apps). KDE gives the option to always lock the screen before going to sleep, but half the time I suspend my system, locking it isn't necessary. I recommend setting a keyboard shortcut in KDE Menu Editor for easy access.
Installation:
Extract the archive, copy the .sh file to your path, the .desktop file to ~/.local/share/applications/, and the .png file to ~/.local/share/icons/. You can find it under Utilities in the applications menu.
auspex
9 years ago
Actually, I reported this as a bug years ago, and nothing has been done, afaik. What KDE really does is sleep, then lock before _waking_. This leaves a security exposure when - sometimes for quite a while - the screen is visible before it is blanked and locked. Your solution is a big improvement.
Report
Contrast
9 years ago
Report