noobdummy / blog

MIT License
0 stars 0 forks source link

ubuntu disable automatic screen dimming #17

Open noobdummy opened 3 years ago

noobdummy commented 3 years ago

https://askubuntu.com/questions/1072933/how-can-i-disable-automatic-screen-dimming-when-the-wireless-mouse-has-low-batte

:~# gsettings get org.gnome.settings-daemon.plugins.power idle-dim
true
:~# gsettings get org.gnome.settings-daemon.plugins.power idle-brightness
30
:~# gsettings set org.gnome.settings-daemon.plugins.power idle-dim false

(process:14320): dconf-WARNING **: 09:29:22.465: failed to commit changes to dconf: Cannot autolaunch D-Bus without X11 $DISPLAY

https://askubuntu.com/questions/323776/gsettings-not-working-over-ssh/326773#326773

:~# dbus-launch  gsettings set org.gnome.settings-daemon.plugins.power idle-dim false
:~# gsettings get org.gnome.settings-daemon.plugins.power idle-dim
false
noobdummy commented 3 years ago
:~# gsettings get org.gnome.desktop.session idle-delay
uint32 300
:~# dbus-launch gsettings set org.gnome.desktop.session idle-delay 0
:~# gsettings get org.gnome.desktop.session idle-delay
uint32 0
:~# gsettings get org.gnome.desktop.screensaver lock-enabled
true
:~# dbus-launch gsettings set org.gnome.desktop.screensaver lock-enabled false
:~# gsettings get org.gnome.desktop.screensaver lock-enabled
false