I am using Fedora 20 with Gnome. The screen Power Savings blanks the screen after 15 minutes and then the screen gets automatically locked. I'd like to have the screen blanked and locked after an hour, but the pop-up only goes up to 15 minutes. Is there any way to make it an hour?

share|improve this question
up vote 39 down vote accepted

You can set the desired settings in GSettings directly.

Timeout for blanking the screen (seconds; 0 = never):

gsettings set org.gnome.desktop.session idle-delay 3600

Timeout for locking the screen after blanking (seconds; 0 = instant):

gsettings set org.gnome.desktop.screensaver lock-delay 0
share|improve this answer
1  
That is great. Is there anyplace where all of this is documented? – vy32 Mar 11 '14 at 0:16
2  
Probably not. But the schemas and keys themselves do have descriptions, visible in dconf-editor. – grawity Mar 15 '14 at 9:26
    
And you can also get the current settings via: gsettings get org.gnome.desktop.screensaver lock-delay – JasonStack Nov 6 '15 at 20:10
1  
Just for the sake of completion, there is also org.gnome.desktop.screensaver lock-enabled for just enabling/disabling the locking. If you set this to false, the lock-delay will be ignored. – Prahlad Yeri Jan 25 '16 at 6:38
    
If you run the above commands from an SSH session and gets a warning about spawning dbus you need to either launch dbus or use terminal in the local session. – Mark Edington Jun 4 '17 at 19:10

This can also be accessed by using:

  • Settings -> Privacy.
share|improve this answer
    
I only see the lock-delay option, worded as "Lock screen after blank for", and not the idle-delay option, which is what most people probably want to control. – kbolino Aug 6 '17 at 15:08

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.