How to Set Custom Blank Screen / Lock Screen Time in Ubuntu 18.04

January 21, 2019

gnome shell

In Ubuntu 18.04 Gnome Shell Power settings, you can choose how long when system is inactive to turn off the screen, though only from 1 minute to 15 minutes and ‘Never’ are available in the drop-down box.

For those who want to increase or set a custom time for “Blank screen” as well as “Lock screen” options in Privacy settings, this tutorial may help.

1. Open Ubuntu Software, search for and install dconf Editor.

2. Launch dconf Editor, navigate to org.gnome.desktop.session, and change the value of idle-delay:

  • Disable ‘Use default value’ switch
  • Type a number in Custom value box(1800=30 minutes in pic.)

3. Then navigate to org.gnome.desktop.screensaver, and change the value of lock-delay:

  • Disable ‘Use default value’ switch
  • Type a number in Custom value box (2700=45 minutes in pic.)

Note that after applying the changes, the Power and Privacy settings will display incorrectly. And it will override previous steps if you change the values in the 2 settings page.

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 ubuntuhandbook1@gmail.com