Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Before switching off the screen, the screen saver dims the screen a bit. For me, the time of having the screen dimmed is not long enough, so I often have to retype my password. I'd like to have a longer dim-time. How can I get this?

(I am not asking for How do you change the amount of time before the screen dims?)

share|improve this question
up vote 3 down vote accepted

It seems this value (10 seconds) is hard coded in the code. There is no way to change it unless you re-compile the power management code. It's managed by gnome-screensaver.

enter image description here


You can however download gnome-screensaver source package from Launchpad: The source code of fade out effect can be found in gs-fade.c and gs-fade.h files from src directory:

enter image description here

To install, follow this post: Installing applications from source

Credit to: Gnome source code of fade out effect for inactivity

share|improve this answer

Your Answer


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.