Which dconf keys are used
To know which keys are changed in dconf, you can use dconf watch /
while changing settings. In this case, you'll see something like :
/org/gnome/settings-daemon/plugins/power/sleep-display-ac
1800
/org/gnome/settings-daemon/plugins/power/sleep-display-battery
1800
/org/gnome/desktop/session/idle-delay
uint32 1800
Then, you put these keys in a file in /etc/dconf
.
Create and activate /etc/dconf
If this directory does not exists, you have to create it and activate its use with these commands :
mkdir -p /etc/dconf/profile /etc/dconf/db/local.d
cat <<EOF >/etc/dconf/profile/user
user-db:user
system-db:local
EOF
cf: https://live.gnome.org/dconf/SystemAdministrators
Put your global settings
Use a file in /etc/dconf/db/local.d
named, for example, screensaver-delay
:
[org/gnome/settings-daemon/plugins/power]
sleep-display-ac=1800
sleep-display-battery=1800
[org/gnome/desktop/session]
idle-delay=1800
Apply it running the command: dconf update
. It will (re)generate the file /etc/dconf/db/local
which will be used if keys do not conflict with user defined values.
Force global values
If you want to force these global values over user selected values, you can do it by using a file in /etc/dconf/db/local.d/locks
named, for example, screensaver-delay
:
# Force screensaver delay
/org/gnome/settings-daemon/plugins/power/sleep-display-ac
/org/gnome/settings-daemon/plugins/power/sleep-display-battery
/org/gnome/desktop/session/idle-delay
Best Answer
I'm not certain which one thing fixed it, but here's what I did:
power
(case-sensitive).Here's what I've got set:
idle-brightness = 0
idle-dim-time = 0
sleep-display-ac = 0
sleep-display-battery = 0
sleep-inactive-ac-timeout = 0
sleep-inactive-battery-timeout = 0
Try setting those and see if it helps you. Again, not exactly sure which one thing fixes it, I haven't taken the time to check. And ultimately, one shouldn't have to do this in the first place.