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.

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

1 Answer 1

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

Source: http://people.canonical.com/~bradf/power-management.html

You can however download gnome-screensaver source package from Launchpad: https://launchpad.net/ubuntu/precise/+source/gnome-screensaver. 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

 
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.