You are not logged in.

#1 2007-05-28 00:40:41

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

[solved]How to stop monitor from going to sleep

Arch puts my monitor to 'sleep', or 'blanks' or suspends by default, in 20 minutes or so. It ihappens even without X installed. Where or how do I tweak it to never go to sleep?
I have tried
xset s off
as well as disabling DPMS in xorg.
Couldn't find anything in the wiki pertaining to this exactly.

Last edited by Misfit138 (2007-06-03 12:32:01)

Offline

#2 2007-05-28 02:56:19

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: [solved]How to stop monitor from going to sleep

Take a look in the system BIOS menu and see if it has any special power saving settings. Perhaps something weird is going on with that. Also, you could try setting the delay to some huge number (999) in xorg.conf. I'm not sure of the proper names for the settings but you can look at the man page.

Offline

#3 2007-05-30 00:42:40

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: [solved]How to stop monitor from going to sleep

Hmmm...Even from a base install with just command line, on every machine I install Arch on, the monitor goes to sleep, or to a black screen after 15 or 20 minutes...pressing a key wakes it right back up again, but I want to disable this completely.
Any other thoughts?

Offline

#4 2007-05-30 05:23:29

harlekin
Member
From: Germany
Registered: 2006-07-13
Posts: 408

Re: [solved]How to stop monitor from going to sleep

No thoughts, sorry. But I can confirm this behavior. It's somehow annoying that my monitor goes to sleep after about 30 minutes even if I disabled dpms via xset.

Either I can confirm that this is not X relating as it happens out of X, too. Didn't found a BIOS option for that.


Hail to the thief!

Offline

#5 2007-05-30 06:07:03

Zaffe
Member
From: Santiago, Chile
Registered: 2007-02-22
Posts: 26

Re: [solved]How to stop monitor from going to sleep

Well with Xorg i know that u can stop that with

Section "ServerLayout"
                Option         "BlankTime" "0"

Outside xorg.. mabye u can try

setterm -blank 0
setterm -powersave off

or dpms off

xset -dpms

(dpms on: xset +dpms)

But im just guessing.

Offline

#6 2007-05-30 07:19:59

H-man
Member
Registered: 2007-05-30
Posts: 3

Re: [solved]How to stop monitor from going to sleep

Offline

#7 2007-05-30 12:33:39

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: [solved]How to stop monitor from going to sleep

Thanks for all the replies. I will try and report back.

Offline

#8 2007-05-30 12:44:01

RaisedFist
Member
From: Romania
Registered: 2007-01-30
Posts: 556
Website

Re: [solved]How to stop monitor from going to sleep

In my case the situation is exactly the opposite: I would like the monitor to go off after 15 minutes of idleing, but I don;t know how to do this. Xscreensaver is set to go on after 10 minutes, but the monitor never goes on standby.

Offline

#9 2007-05-30 14:57:29

harlekin
Member
From: Germany
Registered: 2006-07-13
Posts: 408

Re: [solved]How to stop monitor from going to sleep

xset works pretty well for that.

To control Energy Star (DPMS) features:
    -dpms      Energy Star features off
    +dpms      Energy Star features on
     dpms [standby [suspend [off]]]     
          force standby
          force suspend
          force off
          force on
          (also implicitly enables DPMS features)
          a timeout value of zero disables the mode

edit: thanks Zaffe, will try that later. (:

Last edited by harlekin (2007-05-30 15:00:14)


Hail to the thief!

Offline

#10 2007-05-31 15:32:31

RaisedFist
Member
From: Romania
Registered: 2007-01-30
Posts: 556
Website

Re: [solved]How to stop monitor from going to sleep

Thanks!

Offline

#11 2007-06-01 14:34:57

ezzetabi
Member
Registered: 2006-08-27
Posts: 947

Re: [solved]How to stop monitor from going to sleep

give a look to the end of /etc/rc.sysinit ...

Offline

#12 2007-06-02 07:03:03

RaisedFist
Member
From: Romania
Registered: 2007-01-30
Posts: 556
Website

Re: [solved]How to stop monitor from going to sleep

If anyone has problems with the monitor not going to standby or hibernation, check the .xscreensaver file for this option:

dpmsEnabled:    True

In my case this was set to False so that's why the monitor never went in standby mode.

Last edited by RaisedFist (2007-06-02 07:03:48)

Offline

#13 2007-06-02 13:36:50

harlekin
Member
From: Germany
Registered: 2006-07-13
Posts: 408

Re: [solved]How to stop monitor from going to sleep

ezzetabi wrote:

give a look to the end of /etc/rc.sysinit ...

Thanks a lot! (:


Hail to the thief!

Offline

#14 2007-06-03 12:39:22

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: [solved]How to stop monitor from going to sleep

Well I have tried editing xorg with:

Section "ServerLayout"
                Option         "BlankTime" "0"

And also,

setterm -blank 0

setterm -powersave off

xset -dpms

And removing the command at the end of /etc/rc.sysinit

But while I am watching a DVD on VLC, my screen still goes black. hmm

Last edited by Misfit138 (2007-06-03 12:40:53)

Offline

#15 2007-06-03 15:55:08

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: [solved]How to stop monitor from going to sleep

You don't happen to have xscreensaver or something similar running, do you? It could just be a screensaver running in "draw black screen" mode.

Offline

#16 2007-06-03 17:08:12

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: [solved]How to stop monitor from going to sleep

I've got the same problem, I turn my screensaver off (killall gnome-screensaver) and disable dpms (xset -dpms) and still my screen goes blank... Really annoying when you're trying to watch a movie from your bed or sofa...
I'm now running a java app which uses the Robot class to move my mouse a pixel every ten minutes as a workaround, but a real solution would be nice.

Offline

#17 2007-06-04 20:15:48

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: [solved]How to stop monitor from going to sleep

ataraxia wrote:

You don't happen to have xscreensaver or something similar running, do you? It could just be a screensaver running in "draw black screen" mode.

No, I did not intend or specifically install it.

Offline

#18 2007-07-13 04:25:20

stingray
Member
From: Lima, Peru SA
Registered: 2006-03-24
Posts: 188

Re: [solved]How to stop monitor from going to sleep

ezzetabi wrote:

give a look to the end of /etc/rc.sysinit ...

I tried changing this, rebooted, but my screen still goes to sleep for me...

# Screen blanks after 15 minutes idle time
#/usr/bin/setterm -blank 15
/usr/bin/setterm -blank 0

man page for setterm

-blank [0-60] (virtual consoles only)
              Sets the interval of inactivity, in  minutes,  after  which  the
              screen  will  be automatically blanked (using APM if available).
              Without an argument, defaults to 0 (disable console blanking).

Offline

#19 2007-07-13 12:27:26

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: [solved]How to stop monitor from going to sleep

I finally found a workaround for this through xorg.conf. I will post my tweak when I get home this evening.
As for the console, I haven't tested the 15 minutes yet.

Offline

#20 2007-07-14 13:57:43

stingray
Member
From: Lima, Peru SA
Registered: 2006-03-24
Posts: 188

Re: [solved]How to stop monitor from going to sleep

Misfit138 wrote:

I finally found a workaround for this through xorg.conf. I will post my tweak when I get home this evening.

Thank you! That would be a great!

Offline

#21 2007-07-14 21:33:21

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: [solved]How to stop monitor from going to sleep

Ok, this is how I fixed mine in /etc/X11/xorg.conf

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Evdev Mouse" "CorePointer"
      Option "BlankTime" "0"
      Option "StandbyTime" "0"
      Option "SuspendTime" "0"
      Option "OffTime" "0"

I just added the 4 options you see there. Test it out and post back. Good luck.

Offline

#22 2007-07-15 13:22:08

stingray
Member
From: Lima, Peru SA
Registered: 2006-03-24
Posts: 188

Re: [solved]How to stop monitor from going to sleep

That works!  Thank you!

Offline

#23 2007-07-15 23:38:27

satanius
Member
Registered: 2007-07-07
Posts: 10

Re: [solved]How to stop monitor from going to sleep

Definitely works. Thanks man.

Offline

#24 2007-07-19 21:22:59

antis
Member
From: sweden
Registered: 2007-05-18
Posts: 108

Re: [solved]How to stop monitor from going to sleep

This is what's great about good forums. You ask a question... doesn't get the problem solved... find the solution on your own... AND post the answer in your own thread.
Good work Misfit138! This has been an anoying issue for me as well. Looking forward to getting rid of it.

Offline

#25 2007-07-21 12:15:06

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: [solved]How to stop monitor from going to sleep

antis wrote:

This is what's great about good forums. You ask a question... doesn't get the problem solved... find the solution on your own... AND post the answer in your own thread.
Good work Misfit138! This has been an anoying issue for me as well. Looking forward to getting rid of it.

Glad you appreciated that. Welcome to the best distro, with the best community and forum. wink

Offline

Board footer

Powered by FluxBB