How to Disable Screen Lock on Ubuntu 13.04

July 15, 2013 — 4 Comments

When your computer is idled for a certain time, Ubuntu goes into screensaver and lock it self. You’re prompt to enter password to continue your session. Below steps will show you how to prevent your screen from locking on Ubuntu 13.04 Raring Ringtial.


To get started, open terminal from unity dash or by pressing Ctrl+Alt+T

Open Terminal to run commands

Copy and paste below command and hit enter to run:

gsettings set org.gnome.desktop.screensaver lock-enabled false

command to disable screen lock

That’s it! The unlock dialog has gone

I'm a freelance blogger who started using Ubuntu 5+ years ago and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me on Google Plus or email to

4 responses to How to Disable Screen Lock on Ubuntu 13.04

  1. Thanks, it also worked on Ubuntu 13.10. The issue I encountered was a screen lock on closing the lid. This seems to have done the trick, I do not have to sign in every time I close and open the lid anymore, thanks again!

  2. Well… Actually, this seems to have created another problem, I used to have blank screen on lid-close, but it has now switched to do nothing and the screen stays on when I close the lid…
    I tried to edit /etc/systemd/logind.conf different ways, especially “HandleLidSwitch” (now set to ignore as anything else seems to suspend on lid-close) and “LidSwitchIgnoreInhibited” (now hashed out and inactive), of course I checked dconf-editor and everything for lid-action looks fine (lid-close-ac-action set to blank).
    Would you have any idea or advice as to how to fix this by any chance?

  3. On the other hand Xfce4 Power Manager will handle this fine and run on unity, I just cannot manage to autostart it, beside I am not sure I want to since it might be a bit heavy on memory, gnome power manager should be able to handle this but I haven’t managed to set it or find the correct option as of yet…

  4. On 15.04 I had to also disable another option: ubuntu-lock-on-suspend

    There is an option in Settings -> Privacy, but it did not work for me. Manually in dconf worked fine.

    I suppose not everyone will want to do this part. If your system rarely suspends or if you have a laptop you take everywhere, then you might want to leave this option.

    Me, I only use my laptop at home. With kids screaming all around me, forcing me to close my laptop, reopen it, close it, reopen it – much better without that lockscreen.

Leave a Reply


Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>