Lock Your Screen with Hotkeys in Lubuntu

Posted: Wednesday, August 1, 2012 | Posted by Unknown | Labels: ,
You can bind the screensaver lock command to CTRL+ALT+L by editing your Lubuntu keyboard & mouse configuration file. In the terminal, paste:
leafpad ~/.config/openbox/lubuntu-rc.xml
Find a spot where you see a lot of "keybind" words. Directly after a </keybind >, paste the following block:
<keybind key="C-A-L">
    <action name="Execute">
    <command>xscreensaver-command -lock</command>
    </action>
</keybind>
It should look similar to this:
Again, in the terminal, type
openbox --reconfigure
for changes to take effect.

Source: r/Lubuntu
Did you find this post helpful? Subscribe to our RSS feed and stay connected with Lubuntu Tips!

0 comments:

Post a Comment