SleepSafe

Utilities

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

1
Become a Fan
5.0

Available as/for:
Description:
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.

Ratings & Comments

2 Comments

auspex

"KDE gives the option to always lock the screen before going to sleep," 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.

Contrast

Thanks, glad you found it useful.

Pling
0 Affiliates
Details
license
version 1.0
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

More Utilities from Contrast:

Timer Plasmoid Companion Script
Contrast
last update date: 15 years ago

Score 5.0

Other Utilities:

Gis Weather
RingOV
last update date: 8 years ago

Score 8.0

Splash Screen Manager
zorinos
last update date: 14 years ago

Score 7.4

BashStyle-NG
Chrispy
last update date: 9 years ago

Score 6.1

anymeal
wedesoft
last update date: 6 months ago

Score 5.0

MonA3XN 01
A3XN
last update date: 2 years ago

Score 5.0

SuperCalc (By Keshav bhatt)
keshavnrj
last update date: 10 years ago

Score 5.0



System Tags