Gnome: change timeout for blanking the screen and locking

By default, when my session is idle for 5 min (300 sec) my screen gets blank and locked right after. With GSettings I can change those timeout.

To get the timeout values:

$ gsettings get org.gnome.desktop.session idle-delay
uint32 300
$ gsettings get org.gnome.desktop.screensaver lock-enabled
$ gsettings get org.gnome.desktop.screensaver lock-delay
uint32 0


In my case, I don’t want my screen to getting blank nor locked:

$ gsettings set org.gnome.desktop.session idle-delay 0
$ gsettings set org.gnome.desktop.screensaver lock-enabled false

For idle-delay, 0 sec means never.


That’s all folks!

0 commentaire

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *