Disabling dpms

  • Follow


I have seen threads about this before, but not been able to saolve my
problem.

My monitor blanks after some minutes, and I dont want this.
It does so even if the x server is not started. Is it dmps causing
this? I am kind of new to Linux so I dont know when different
configuration files are read, but I have tried editing the xorg.conf
and the XF86Config (I removed the Option "dpms" from the "Monitor"
section). My screen still goes blank though.

Any clues?

0
Reply marcussilfver (26) 5/14/2007 9:13:01 AM

marcussilfver@gmail.com staggered into the Black Sun and said:
> My monitor blanks after some minutes, and I don't want this.  It does
> so even if the X server is not started. Is [DPMS] causing this?

Probably not.  The virtual consoles handle things totally differently
than X does.  What you might try is "setterm -blank 0" to disable
console blanking on the VCs.

> kind of new to Linux so I dont know when different configuration files
> are read, but I have tried editing the xorg.conf and the XF86Config

xorg.conf is used in preference to XF86Config now.  You also have to do
"xset -dpms" or an equivalent to turn DPMS off.

> removed the Option "dpms" from the "Monitor" section. My screen still
> goes blank though.  Any clues?

Are you running a screensaver in X?  Don't run one.  Some machines
(laptops, mostly) have yet another way to blank the screen.  You
generally set this option from within the laptop's BIOS Setup.  HTH,

-- 
   "Dreams?  Best leave dreams to those that can afford them."
   --Aunt Cordelia, _Wizard and Glass_, Stephen King
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
0
Reply danSPANceswithTRAPcrows (499) 5/14/2007 2:21:53 PM


On 14 May 2007 02:13:01 -0700, marcussilfver@gmail.com 
  <marcussilfver@gmail.com> wrote:
>
>
> I have seen threads about this before, but not been able to saolve my
> problem.
>
> My monitor blanks after some minutes, and I dont want this.
> It does so even if the x server is not started. Is it dmps causing
> this? I am kind of new to Linux so I dont know when different
> configuration files are read, but I have tried editing the xorg.conf
> and the XF86Config (I removed the Option "dpms" from the "Monitor"
> section). My screen still goes blank though.
>
> Any clues?
>
To disable blanking when you are not using X, setterm -blank 0.

-- 
OK, enough hype.
		-- Larry Wall in the perl man page
0
Reply marcumbill (1012) 5/14/2007 2:40:01 PM

In article <1179133981.406537.294490@e51g2000hsg.googlegroups.com>,
 <marcussilfver@gmail.com> wrote:
:
:My monitor blanks after some minutes, and I dont want this.
:It does so even if the x server is not started. Is it dmps causing
:this? I am kind of new to Linux so I dont know when different
:configuration files are read, but I have tried editing the xorg.conf
:and the XF86Config (I removed the Option "dpms" from the "Monitor"
:section). My screen still goes blank though.

Looking through my files of old stuff that might or might not work
any more, I find:

    setterm -term linux -powersave off -powerdown 0 -blank 0

-- 
Bob Nichols         AT comcast.net I am "RNichols42"
0
Reply SEE_SIGNATURE1 (213) 5/14/2007 2:54:33 PM

On 14 Maj, 16:54, Robert Nichols
<SEE_SIGNAT...@localhost.localdomain.invalid> wrote:
> In article <1179133981.406537.294...@e51g2000hsg.googlegroups.com>, <marcussilf...@gmail.com> wrote:
>
> :
> :My monitor blanks after some minutes, and I dont want this.
> :It does so even if the x server is not started. Is it dmps causing
> :this? I am kind of new to Linux so I dont know when different
> :configuration files are read, but I have tried editing the xorg.conf
> :and the XF86Config (I removed the Option "dpms" from the "Monitor"
> :section). My screen still goes blank though.
>
> Looking through my files of old stuff that might or might not work
> any more, I find:
>
>     setterm -term linux -powersave off -powerdown 0 -blank 0
>
> --
> Bob Nichols         AT comcast.net I am "RNichols42"


thanks for answering everybody. One more question:

In what file should I put this? It has to be a file that is parsed
even if no one has logged on and even if x server has not been
started.

0
Reply marcussilfver (26) 5/15/2007 8:10:58 AM

In article <1179216658.311216.239720@k79g2000hse.googlegroups.com>,
 <marcussilfver@gmail.com> wrote:
:On 14 Maj, 16:54, Robert Nichols
:<SEE_SIGNAT...@localhost.localdomain.invalid> wrote:
:> In article <1179133981.406537.294...@e51g2000hsg.googlegroups.com>, <marcussilf...@gmail.com> wrote:
:>
:> :
:> :My monitor blanks after some minutes, and I dont want this.
:> :It does so even if the x server is not started. Is it dmps causing
:> :this? I am kind of new to Linux so I dont know when different
:> :configuration files are read, but I have tried editing the xorg.conf
:> :and the XF86Config (I removed the Option "dpms" from the "Monitor"
:> :section). My screen still goes blank though.
:>
:> Looking through my files of old stuff that might or might not work
:> any more, I find:
:>
:>     setterm -term linux -powersave off -powerdown 0 -blank 0
:>
:> --
:> Bob Nichols         AT comcast.net I am "RNichols42"
:
:
:thanks for answering everybody. One more question:
:
:In what file should I put this? It has to be a file that is parsed
:even if no one has logged on and even if x server has not been
:started.

That could be a problem.  You can try putting this in /etc/rc.d/rc.local :

  setterm -term linux -powersave off -powerdown 0 -blank 0 </dev/tty1 >/dev/tty1

You'll need the I/O redirection because the process isn't yet associated
with a tty.  The possible problem is that the power saving modes might
get reset when the process exits because no other process is yet using
the device.  Give it a try.

-- 
Bob Nichols         AT comcast.net I am "RNichols42"
0
Reply SEE_SIGNATURE1 (213) 5/15/2007 12:16:53 PM

5 Replies
31 Views

(page loaded in 0.098 seconds)


Reply: