Re: powersave
>>>>> "MS" == Markus Schneider <Schneider@informatik.unibw-muenchen.de> writes:
MS> I try to make use of the powersave-ability of my monitor. Typing
MS> "setterm -powersave on" on a textconsole is working properly but how
MS> can I set this at boottime for ALL textconsoles? I've put this command
MS> into a little script in /etc/rc.boot/ however powersaving then works
MS> only at tty0.
Here's what I use:
#!/bin/sh
# Turn on power-saving on the VC's
test -f /usr/bin/setterm || exit 0
case "$1" in
start) echo -n "Turning power-saving on for VC's."
for i in 1 2 3 4 5 6
do
setterm -powersave < /dev/tty$i
done
echo "."
;;
stop) echo -n "Nothing to do to turn power-saving for VC's off."
;;
*) echo "Usage: /etc/init.d/powersave start|stop"; exit 1
;;
esac
exit 0
(I never want to turn this off so stop doesn't do anything useful.)
MS> Under X I have not been successful at all. "xset s power" doesn't seam
MS> to have any effect reagardless which argument I specify. From the xset
MS> manpage I know: "The 'power' flag allows the power saver parameters to
MS> be set on servers which have the XFree86-Misc server extension." So my
MS> second question is how to get this server extension for Debian or how
MS> else could I get powersaving working under X?
MS> My monitor: Samsung SyncMaster 20GLsi, my videocard: Matrox Millenium
MS> (2MB).
I put the following in the Device section of my XF86Config:
Option "power_saver"
--
Mark Plaksin http://www.negia.net/~happy/
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to:
- References:
- powersave
- From: Markus Schneider <Schneider@informatik.unibw-muenchen.de>