/usr/bin/setterm -blank 3 -powersave powerdown
It works for me as I'm using lcd panel plugged to my home box.
I think that it would be better to put this code in /etc/rc.local since /etc/rc.sysinit is subject to change with system updates. It's true that won't be changed without your permission yet I remember that a couple of times I've lost some of my settings because I've been updating my configs without paying atention to the fact that I've modified them previously . Since then I'm putting my settings in places that are not specific parts of distro.
]]>But I don't see why you don't just use something like s2ram(it's in AUR)...why exactly do you need everything else running at full power with the screen off? You can do s2m --force --radeontool...the extra command getting rid of the strange white lines when you resume from s2m. I find it to be one of the best ways to save power if I'm not using my laptop.
]]>I don't remember exactly, but I think you have to run it as root or set the 's' bit on the binary.
]]>#!/bin/bash
xset dpms 0 0 120
To turn the screen & backlight off after 2 minutes.
Also, get rid of these packages, which interfere with turning the *backlight* off:
pacman -R gnome-screensaver xscreensaver gnome-power-manager
sleep 1 && xset dpms force off
You could put it as an alias in your .bashrc (alias screenoff='sleep 1 && xset dpms force off') or bind a key to it to make it easier.
Also, scroll to the bottom of /etc/rc.sysinit and change the value of this line to however many minutes. I'm thinking that it only blanks the screen though rather than turning it off:
# Screen blanks after 15 minutes idle time
/usr/bin/setterm -blank 15
I have a Toshiba Satellite A215 [AMD Turion64x2, 2gb ram,ATI Graphics]
I am trying to configure linux to use the smallest amount of battery as possible. This is going really well, and I have surpassed Vista by 30mins, with a special program on vista to force the monitor to be turned off (apparantly the monitor uses the most amount of power on a laptop).
Is there a way to force the monitor to turn off for a laptop? I can close the lid, but this isn't convinient if i'm constantly opening and clsoing. it's probably bad for the laptop too.
I'm sure there is a way to do it, I just don't know how. I've tried following the files in /etc/acpi.. to find out whats making it turn off, but that didn't lead anywhere; just to the laptop-mode stuff.
So overall, question:
How can I force my laptop's monitor / screen to turn off, not just lower brightness?
Anyone?
]]>