Re: Monitor power saving (seems to be a FAQ).

1997-09-02 Thread Will Lowe
On 2 Sep 1997, Rob Browning wrote:

> Will Lowe <[EMAIL PROTECTED]> writes:
> 
> > On 1 Sep 1997, Rob Browning wrote:
> > 
> > Where do you do this? Bash_profile?
> 
> Note:
> 
>   # File: /etc/rc.boot/0vc-powersave

Oops,  yeah,  I found it.  Thanks.
Will

---
 [EMAIL PROTECTED]
   [EMAIL PROTECTED]
[EMAIL PROTECTED]
 http://www.cis.udel.edu/~lowe/
  For PGP Public Key,  visit my website.
---


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Monitor power saving (seems to be a FAQ).

1997-09-02 Thread Rob Browning
Will Lowe <[EMAIL PROTECTED]> writes:

> On 1 Sep 1997, Rob Browning wrote:
> 
> Where do you do this? Bash_profile?

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

Note:

  # File: /etc/rc.boot/0vc-powersave

So it's in /etc/rc.boot/0vc-powersave, hence it happens every time the
machine boots.

-- 
Rob


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Monitor power saving (seems to be a FAQ).

1997-09-02 Thread Will Lowe
On 1 Sep 1997, Rob Browning wrote:

Where do you do this? Bash_profile?

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

Will

---
 [EMAIL PROTECTED]
   [EMAIL PROTECTED]
[EMAIL PROTECTED]
 http://www.cis.udel.edu/~lowe/
  For PGP Public Key,  visit my website.
---


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Monitor power saving (seems to be a FAQ).

1997-09-02 Thread Rob Browning

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
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .