I am presently running Fedora 14 (Laughlin) Gnome on my HP 6515b. There are so many times I have to leave my lappie on for the whole night for a download to finish. I wish it to be as dark as possible when I’m sleeping but the ‘Lock Screen’ option in Gnome simply blanks out the screen but doesn’t switch the backlight hence preventing me from falling asleep. Also, we are talking about a lot of power consumption. Wouldn’t it be wonderful to actually switch the screen off completely. Well here’s the solution:
First check if acpi is enabled in your kernel or not by entering the following command in your terminal
[Suyashkmr@suyash ~]$ cat /proc/acpi/info
The result should be something like this:
version: 20100428
Then simply type:
[Suyashkmr@suyash ~]$ xset dpms force off
and VoilĂ !!!
UPDATE!!! :-
Apparently there is some problem related to the gnome-power-manger. This command works only if gnome-power-manager has been killed. You need to follow the following sequence of commands to make it work properly.
[Suyashkmr@suyash ~]$ killall gnome-power-manager
[Suyashkmr@suyash ~]$ xset dpms force off
Please keep in mind that I am only putting this up as a temporary work around. I’ll try and find a solution and accordingly an update will be put up.
I have put the commands in the form of this script.
Simply give it execute permission and bind it to a key or a launcher for your convenience.
ADIOS!!!