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.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
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
gnome-power-manager. See also this thread.
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