-
Create the key file
/etc/dconf/db/local.d/00-screensaver to provide
information for the local database.
/etc/dconf/db/local.d/00-screensaver
# Specify the dconf path
[org/gnome/desktop/session]
# Number of seconds of inactivity before the screen goes blank
# Set to 0 seconds if you want to deactivate the screensaver.
idle-delay=uint32 180
# Specify the dconf path
[org/gnome/desktop/screensaver]
# Number of seconds after the screen is blank before locking the screen
lock-delay=uint32 0
You must include the uint32 along with the
integer key values as shown.