3

Where I can find the source code for fade out animation when the computer is inactive for x minutes?

I guess that it somewhere in /usr/share/gnome-shell/js/ui but I want to find the line.

enter image description here

Note - this question is NOT a duplicate of this:

0

1 Answer 1

2

I don't think you're looking in the right way. The respective effect of fade out is realised by gnome-screensaver. Now, you can check (with which gnome-screensaver in terminal) that you have installed on your system gnome-screensaver, but the problem is that this is the compiled version, so no sources on your system in this sense.

But, don't worry, you can download gnome-screensaver source package from Launchpad: https://launchpad.net/ubuntu/raring/+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:

gs-fade.c

2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .