Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question

3 Answers 3

up vote 16 down vote accepted

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.

share|improve this answer
    
Thanks! This worked :D –  amfcosta Jan 24 '12 at 20:05
4  
I'm absolutely comfortable using the terminal (and this worked great for me by the way), but I sure do wish Ubuntu 11.10 let me change these kind of things through the "System Settings" GUI... –  blong Feb 17 '12 at 0:01
    
There's no reason this shouldn't be configurable through the GUI settings. –  Thucydides411 Jul 23 '12 at 16:16
1  
gconf-editor does not exist in newer Ubuntus any more. Use dconf-editor instead. –  Karl Frisk Nov 22 '12 at 14:51
    
This answer no longer works as of Ubuntu 14.04. It reports "No such key 'idle-dim-time'". Some of us would like to be able to do this from a script (e.g. as a wrapper for something that's going to play video to the screen), so the GUI is not usable. See my answer below. –  Bob Doolittle Sep 16 at 18:24

In 12.04, the setting using GUI now exists via System SettingsBrightness and Lock.

share|improve this answer
6  
I'm using 12.04, all updates installed, and there's no setting to set the screen dim timeout in "Brightness and lock". The only "timeout" option on the "Brightness and lock" settings menu is to turn the screen off, which is not the same thing as dimming its brightness. –  amfcosta Sep 13 '12 at 13:38

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.