On Ubuntu 11.10, when on battery, the screen dims after 10 seconds of inactivity. This is annoying because it is too short. Is there anyway to increase this timeout?
I know I can disable it, but that is not what I want.
This command should set the time to 60 seconds:
gsettings set org.gnome.settings-daemon.plugins.power idle-dim-time 60
In earlier Ubuntu versions, this setting can be found with the gconf-editor
under gnome-power-manager
. See also this thread.
gconf-editor
does not exist in newer Ubuntus any more. Use dconf-editor
instead.
Nov 22, 2012 at 14:51
The answer marked above from 'lumbric' no longer works for Ubuntu 14.04.
If you need to do this from a command (e.g. for a script wrapping something that plays video), you now need to run:
gsettings set org.gnome.desktop.session idle-delay <seconds>
also useful in such a case might be disabling the screen lock:
gsettings set org.gnome.desktop.screensaver lock-enabled false
idle-delay
is currently set to 300 seconds, while the screen dims after 30 already. I'm guessing idle-delay
is the time before the screensaver is activated? Not the time until screen brightness is reduced?
In 12.04, the setting using GUI now exists via System Settings → Brightness and Lock.