Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Once I disabled the screen lock using a command that I can't remember.

Now I want to re-enable the screen lock (via Ctrl+Alt+L) but I don't know how.

If I look at System SettingsBrightness and Lock the Lock switcher is dimmed, how to enable it?

share|improve this question
    
Which one was it @coanor ?? –  Rinzwind Jan 28 '13 at 9:59
    
@Rinzwind: tag=12.10 –  coanor Jan 28 '13 at 16:38

1 Answer 1

up vote 5 down vote accepted
  • Command line you should be able to control this option with...

    gsettings set org.gnome.desktop.lockdown disable-lock-screen 'false'
    
  • This will lock the screen from command line

    gnome-screensaver-command -l
    

    If it says command not found you found your answer: you probably removed gnome-screensaver so the option became invalid. (sudo apt-get install gnome-screensaver to re-install).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.