[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Monitor power saving (seems to be a FAQ).



There are really 2 issues: getting X to do power saving, and getting
the text console to do power saving.

This is how I set all my consoles to all have powersaving enabled:

  #!/bin/sh
  # File: /etc/rc.boot/0vc-powersave
  # Turn on power-saving on the VC's

  test -f /usr/bin/setterm || exit 0

  echo -n "Turning power-saving on for VC's:"
  for i in 1 2 3 4 5 6
  do
    setterm -powersave < /dev/tty$i
    setterm -blank 15 < /dev/tty$i
    echo -n " $i"
  done
  echo "."
  exit 0

And this is how I get X to have powersaving enabled:

from /etc/X11/XF86Config

  Section "Device"
     ...
     Option "power_saver"
     ...
  EndSection 

>From the end of my /etc/X11/xdm/Xsetup_0

  xset dpms 600 900 

The command used to be "xset s power...", so if you have an older
version of xset than I do then you might need the following instead:

  # Turn on the builtin screensaver
  xset s 480
  # and set the monitor shutdown time
  xset s power 900 900

That should do it.
-- 
Rob


--
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: