3

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?)

false
  • 1,852

1 Answers1

3

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

Parto
  • 15,325
  • 24
  • 86
  • 117