How To Lock Your Screen in Lubuntu

Please post all general support questions for LXDE here.
rarehero
Posts: 1
Joined: Thu Oct 18, 2012 3:08 am

Re: How To Lock Your Screen in Lubuntu

Post by rarehero »

This was super helpful! Thanks!
M_Mynaardt
Posts: 72
Joined: Wed Dec 15, 2010 9:37 pm
Location: Victoria, BC, Canada

Re: How To Lock Your Screen in Lubuntu

Post by M_Mynaardt »

Anyway, I don't use Lock Screen often, but I like doing it using a short-cut, instead of an icon. What I did to lock my screen was make it a hot-key in the lubuntu-rc.xml file. I chose Super-l as an easy to remember hot-key combination. My code for it was:

Code: Select all

    <!-- Super-L to lock the screen with the screen saver -->
    <keybind key="W-l">
      <action name="Execute">
        <command>xscreensaver-command -lock</command>
      </action>
    </keybind>
 
Of course, I tinkered with lubuntu-rc.xml a bit to remove and/or change some of the default key-bindings, so that I could make my own short-cuts.

Hope someone finds that useful./keybind
~*~ M_Mynaardt ~*~

LXDE is your computer's Friend!
Always trust LXDE!
Locked