Re: xset - global settings

1999-05-14 Thread Joachim Trinkwitz
Arcady Genkin [EMAIL PROTECTED] writes:

 I'm experimenting with utilizing xset's dpms setting to suspend and
 turn off my monitor. It works fine if I add a line like this:
 /usr/X11R6/bin/xset dpms 300 600 900
 to my .xsession.
 
 Problem: I would like to go a step further and set this feature to
 work even wiht graphical login screen. So that if I boot up my
 computer, but don't want to login, the screen would be blanked after
 certain time. Which script do I put the setting in?
 
 I tried /etc/X11/xinit/xinitrc, /etc/X11/Xsession, and
 /etc/X11/wdm/Xstartup_0, but I guess all these scripts are read only
 *after* an actual login by a user.

Try to edit your XF86Config file like this excerpt from mine:

Section Device
Identifier  My_card
[...]
Option  power_saver   # 
EndSection
Section Screen
Driver  svga
[...]
BlankTime   3   # 
SuspendTime 10  # 
OffTime 20  # 

This blanks the screen after 3 min., suspends the monitor after 10 and 
turns it off after 20.

Greetings,
joachim


Re: xset - global settings

1999-05-14 Thread Arcady Genkin
Joachim Trinkwitz [EMAIL PROTECTED] writes:

 Try to edit your XF86Config file like this excerpt from mine:
 
 Section Device
 Identifier  My_card
 [...]
 Option  power_saver   # 
 EndSection
 Section Screen
 Driver  svga
 [...]
 BlankTime   3   # 
 SuspendTime 10  # 
 OffTime 20  # 
 
 This blanks the screen after 3 min., suspends the monitor after 10 and 
 turns it off after 20.

Cool! This seems to be exactly what I wanted to do! I'll test it
tomorrow. 
Do I still need to run xset dpms 300 600 90 from my ~/.xsession
now, though, or will it be taken care of by the global setting in
XF86Config?

TIA!
-- 
Arcady Genkin


Re: xset - global settings

1999-05-14 Thread Branden Robinson
On Thu, May 13, 1999 at 10:47:46PM -0400, Arcady Genkin wrote:
 Cool! This seems to be exactly what I wanted to do! I'll test it
 tomorrow.  Do I still need to run xset dpms 300 600 90 from my
 ~/.xsession now, though, or will it be taken care of by the global
 setting in XF86Config?

There is no need to mess with xset dpms if the settings would be the same
as those in the XF86Config file.

-- 
G. Branden Robinson  |   I must despise the world which does not
Debian GNU/Linux |   know that music is a higher revelation
[EMAIL PROTECTED]   |   than all wisdom and philosophy.
cartoon.ecn.purdue.edu/~branden/ |   -- Ludwig van Beethoven


pgpjPn0XNAZEp.pgp
Description: PGP signature


Re: xset - global settings

1999-05-09 Thread Branden Robinson
On Sat, May 08, 1999 at 12:45:44AM -0400, Arcady Genkin wrote:
 Problem: I would like to go a step further and set this feature to
 work even wiht graphical login screen. So that if I boot up my
 computer, but don't want to login, the screen would be blanked after
 certain time. Which script do I put the setting in?

man setterm

If you want this to happen no matter what when booting, you might consider
editing /etc/rc.boot/kbd to include the appropriate setterm command(s).

-- 
G. Branden Robinson  | I came, I saw, she conquered.  The
Debian GNU/Linux | original Latin seems to have been
[EMAIL PROTECTED]   | garbled.
cartoon.ecn.purdue.edu/~branden/ | -- Robert Heinlein


pgpQLtiKX2mrE.pgp
Description: PGP signature


xset - global settings

1999-05-08 Thread Arcady Genkin
Hi all:

I'm experimenting with utilizing xset's dpms setting to suspend and
turn off my monitor. It works fine if I add a line like this:
/usr/X11R6/bin/xset dpms 300 600 900

to my .xsession.

Problem: I would like to go a step further and set this feature to
work even wiht graphical login screen. So that if I boot up my
computer, but don't want to login, the screen would be blanked after
certain time. Which script do I put the setting in?

I tried /etc/X11/xinit/xinitrc, /etc/X11/Xsession, and
/etc/X11/wdm/Xstartup_0, but I guess all these scripts are read only
*after* an actual login by a user.

-- 
Arcady Genkin