Configure openbox to lock screen via xscreensaver

Here we configure openbox to lock screen via xscreensaver when you pressed Ctrl + Alt + L in LXDE.

vim ~/.config/openbox/lxde-rc.xml
<?xml version="1.0" encoding="UTF-8"?>
<openbox_config xmlns="http://openbox.org/3.4/rc">
    <keyboard>
        <keybind key="C-A-l">
            <action name="Execute">
                <command>xscreensaver-command -lock</command>
            </action>
        </keybind>
    </keyboard>
</openbox_config>

Over!

Leave a Reply

Your email address will not be published. Required fields are marked *