How to get lock screen option in Lubuntu?

272

Solution 1

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

Should work

Solution 2

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.

Solution 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.

Solution 4

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

LXDE Menu - Other - Lock Screen (XScreensaver).

HTH.

Solution 5

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.

Share:
272
Martin Smellworse
Author by

Martin Smellworse

Updated on September 18, 2022

Comments

  • Martin Smellworse
    Martin Smellworse over 1 year

    On a web page, I need to allow users to input the path to a file - which will be stored in a database so I can subsequently display 'a list of documents that apply to this project'.

    If I put an input type="file" on the page, it makes it easy for the user to browse to the document ... but, when the form is submitted, the document will be uploaded to the server. I don't want the document, I just want the path.

    How would you provide the functionality to allow a user to browse to a file so that you could record the path to the file without actually uploading the file itself?

    I just want to end up showing, on a web page, a list of files like:

    \myserver\folder20\somefolder\somefile.doc

    \myserver2\folder50\somefolder\somefile.doc

    I need to give users an easy way to locate those files in the first place - without having to laboriously open Windows Explorer, find the file, and copy and paste the path. A file upload control gives you access to the path - which is what I need - but I don't want the file uploaded.

    • Admin
      Admin over 11 years
      Have you installed lubuntu-desktop or only lxde?
    • Admin
      Admin over 11 years
      actually both but I've that application in my list of apps because I've got more environments installed as gnome shell , unity and kde recently .
    • Tim Schmelter
      Tim Schmelter almost 11 years
      Not at all, because you cannot get the full path from a file at the client due to security restrictions.
    • Md. Parvez Alam
      Md. Parvez Alam almost 11 years
      mover over , what will be then use of path, if it is being accessed on another machine
    • Tim Schmelter
      Tim Schmelter almost 11 years
      @Md.ParvezAlam: I assume that OP wants to log the paths where the file is stored at each client. So if someone aks "who has this file and where is it" he can tell it. But that won't work as a server should not be interested in the directory structure of a client.
    • Martin Smellworse
      Martin Smellworse almost 11 years
      I don't want to 'get the full path from a file at the client' - I want users to enter the path to a file that they want to access later - when they are looking at a list of files belonging to a project. I just want to give them an easy way to navigate to the file without them having to open windows explorer, navigate to the file and cut and paste the path into a text box.
    • Martin Smellworse
      Martin Smellworse almost 11 years
      @TimSchmelter 'I assume that OP wants to log the paths where the file is stored at each client. So if someone aks "who has this file and where is it" he can tell it.' No, that is not what I am after (thanks for your reply). I have modified the question to try to make cleared.
    • Rich Andrews
      Rich Andrews almost 11 years
      It is worth mentioning that the file uploads path property is unreliable across browsers. For example in chrome it will come out as C:\fakepath\filename.txt
    • Martin Smellworse
      Martin Smellworse almost 11 years
      This is an IE only Intranet situation
  • mx7
    mx7 over 11 years
    hey i have tried that & did as it said but i am not getting screen lock option while with application launcher option .
  • mx7
    mx7 over 11 years
    Cool man +1 , i have tried and Its worked . But are sure about this , that it will work in Lubuntu too ?
  • Joshua K
    Joshua K over 11 years
    this is a keybinding. he asked for "program/application". It gives him a good start on finding the answer he is seeking, but doesnt tell him where to look though (openbox configuration file).
  • Martin Smellworse
    Martin Smellworse almost 11 years
    Thanks for that, I'll give it a go. I always thought you couldn't access the value of an input type = file. But, I guess you can access the value but could not change it?
  • samar
    samar almost 11 years
    I dont think the other way round is possible. I just searched some sites and questions on stackoverflow and they all say it is not possible but, now-a-days, you never know. I have not tried it from my end. You can research and let me also know if you find anything lead in this regard.