Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My Ubuntu 12.04 suddenly stopped to auto-lock after X minutes. It doesn't matter how long I leave the computer idle, it NEVER turns the screen off and never locks the screen either.

I am using Gnome-shell. Under the Brightness and Lock menu, I have marked:

  • Dim screen to save power
  • Turn screen off when idle for 5 minutes
  • Lock screen after 5 minutes

I have already re-installed gnome-screensaver (no effect). Any ideas?

share|improve this question
Did you do sudo apt-get purge gnome-screensaver, and then sudo apt-get update && sudo apt-get install gnome-screensaver? – Max Tither Aug 18 '12 at 22:42
@cgubuntu1204, no success... purged gnome-screensaver and reinstalled it. Seems to have no effect. Still wont lock the screen. – yurividal Aug 19 '12 at 19:14
Did it used to work? Did you do something recently that could cause this? – Max Tither Aug 19 '12 at 19:16
It used to work. I have done nothing besides update-manager... Also, i have noticed that it is not related to GNOME, because even if i login on Unity interface, it still does not work – yurividal Aug 19 '12 at 19:23

Start the terminal with Ctrl + Alt + T, and then type:

  1. sudo apt-get install dconf-tools
  2. Start dconf-editor
  3. UnCheck(if the option check means) org->gnome->desktop->lockdown-> disable-lock-screen (for verify - goto System settings->Brightness & Lock: check the Lock option enable or not).
  4. Close the editor.
  5. Restart the system & see the changes.
share|improve this answer

Your Answer


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.