Unlike Windows, Screensaver in this OS is using the standard XScreensaver. Folks like me would not enjoy some fancy graphics dancing around when I'm not using the machine. What I love to do (usually), is to set the computer to turn-off the monitor as it hits the timeout. The reason is plain simple:
Go to MENU
> Preferences
> Screensaver
In Display Modes:
Blank Screen Only
2
minutes2
minutesUn-Check
Lock Screen After X
minutesIn Advanced:
Power Management Enabled
2
minutes2
minutes or your liking2
minutes or your likingCheck
Quick Power-off in Blank Only ModesCheck
Fate to Black when Blanking1~3
seconds.Close the Windows once it's done.
Now, add these hot-keys (screen lock) into your local OpenBox configurations (~/.config/openbox/lxde-rc.xml
)
<keybind key="C-S-L">
<action name="Execute">
<command>xscreensaver-command -lock</command>
</action>
</keybind>
<keybind key="C-A-L">
<action name="Execute">
<command>xscreensaver-command -lock</command>
</action>
</keybind>
<keybind key="W-L">
<action name="Execute">
<command>xscreensaver-command -lock</command>
</action>
</keybind>
This allows you to manually lock your screen through CTRL + SHIFT + L
, CTRL + ALT + L
, WINDOWS/MAC + L
hot keys. They're standardized keys across various operating systems. Save it and exit.
Restart your OpenBox and then try out the screen lock settings. You should be able to experience manual locking and automatic locking easily.
$ openbox --reconfigure
Restart your computer to take effect. You should xscreensaver locking the screen. Yes it is ugly but xscreensaver is by far the most stable and safest version available.