Screensaver
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:
- Save battery power.
Go to MENU
> Preferences
> Screensaver
In Display Modes:
- Select
Blank Screen Only
- Blank After
2
minutes - Cycle After
2
minutes Un-Check
Lock Screen AfterX
minutes
In Advanced:
- Select
Power Management Enabled
- Standby After
2
minutes - Suspend After
2
minutes or your liking - Off After
2
minutes or your liking Check
Quick Power-off in Blank Only ModesCheck
Fate to Black when Blanking- Change fade duration to:
1~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.