Sunday, December 4, 2011

Screen Lock in LXDE

After using LXDE on my work computer for over a month now, I can only say, wow! But some things I took for granted like locking the screen using keystrokes when I was on GNOME doesn't work out of the box.

To enable screen lock using keystrokes on LXDE, edit the ~/.config/openbox/lxde-rc.xml file and put in the following:

<keybind key="C-A-l">
     <action name="Execute">
           <command>xscreensaver-command -lock</command>
     </action>
    

Log off and on and you will be able to lock the screen with Ctrl-Alt-L

1 comment:

Babs Notes said...

Thank you so much. A newbie and a convert to LXDE here. First thing I was looking for was locking desktop and I wonder why the creators havent thought about it.