7

I am using Ubuntu 12.04 with many DE. Lubuntu is one of them. I don't have any option to lock screen in Lubuntu while I do in Unity and other DE.

Is there any program / application that I can install in order to lock screen in Lubuntu?

jokerdino
  • 41,732
Raja G
  • 105,327
  • 107
  • 262
  • 331

6 Answers6

7

I just use the keybindings I've always used on ubuntu. Press: Ctrl + Alt + L

Should work

Raja G
  • 105,327
  • 107
  • 262
  • 331
Erik R.
  • 86
  • 1
  • 1
3

There is an article at the here at the LXDE forums. It gives instructions on creating a .desktop file to lock the screen, and adding it to the top panel.

Aaron Hill
  • 5,035
3

The lxlock program provides screen locking functionality in LXDE.

It is part of lxsession. The lxsession Install lxsession package provides it.

Try running lxlock from the Run dialog (Alt+F2 or LXDE Menu > Run) or the LXTerminal (Alt+F2).

If lxlock locks the screen, you can work around the problem by running it that way or by creating a launcher for it on the menu, panel, or desktop.

If lxlock runs but does not lock the screen, that's probably a bug.

If lxlock is not present on your system, run this to install (or, if it's installed but damaged, to reinstall) the lxsession package:

sudo apt-get update && sudo apt-get --reinstall install lxsession

After installing that, lxlock should work, but if it runs and fails, try logging off and back on to see if that helps.

Joshua K
  • 313
1

Try installing lubuntu-default-settings package. Open a terminal and run this command:

sudo apt-get install lubuntu-default-settings

This should fix the problem.

Anwar
  • 77,855
1

There are several ways of doing it. The easiest being:

LXDE Menu - Other - Lock Screen (XScreensaver).

HTH.

deshmukh
  • 4,121
0

open .config file and right click on lxde-rc.xml open with any editor and find desktop paste the below script on keyboard below

<keybind key="W-L">
    <action name="Execute">
        <command>xscreensaver-command -lock</command>
    </action>
</keybind>  

save the file exit reboot the system it will be work properly.

A.B.
  • 92,125