Different delays for blank screen and screen lock

Hi,

under “Settings > Privacy & Security > Screen Lock” I can configure “Blank Screen Delay” and “Automatic Screen Lock”.

I have an OLED and want to set “Blank Screen Delay” to 5min, but since I’m mostly working at home with my Laptop, I want to set a “Screen Lock Delay” to something like 15min.

I don’t see an option how to do this. Can this be achieved?

Hello,

Via terminal you make use of the gsettings command, or you can also use dconf-editor to add custom values.
Timeout for blanking the screen (seconds; 0 = never), for 5 minutes then is:

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

But that is already available in the dropdown.
Timeout for locking the screen after blanking (seconds; 0 = instant), so in your case, to have extra 15 minutes after blank, you run from terminal:

gsettings set org.gnome.desktop.screensaver lock-delay 900

But for whatever reason it might not come up as a value in the dropdown menu in the Settings … and it might get reset to 0.

Best to use the values that are available, so probably 30 minutes will be fine for you.

Also the values seems to be somehow funky …

1 Like

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.