You are not logged in.

#1 2005-08-24 14:06:45

scrawler
Member
Registered: 2005-06-07
Posts: 312

an easy one (hopefully) sleeeeeep.

Hi guys,  I've got arch running nicely on an old laptop.  How do I get the screen to sleep?  I can walk a way for an hour, come back, and it's still awake!

thanks, sorry for the dumb question...

Offline

#2 2005-08-24 14:10:42

medicated
Member
From: Storm Lake, IA
Registered: 2005-03-11
Posts: 79

Re: an easy one (hopefully) sleeeeeep.

Take a look at the 'xset' command.  It will allow you to set a timeout before your screen will blank and such.

Offline

#3 2005-08-24 14:20:09

arooaroo
Member
From: London, UK
Registered: 2005-01-13
Posts: 1,268
Website

Re: an easy one (hopefully) sleeeeeep.

scrawler wrote:

Hi guys,  I've got arch running nicely on an old laptop.  How do I get the screen to sleep?  I can walk a way for an hour, come back, and it's still awake!

thanks, sorry for the dumb question...

Make some warm milk and pour it over the screen. It won't be long before it goes to sleep... wink

Offline

#4 2005-08-24 15:33:35

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: an easy one (hopefully) sleeeeeep.

it depends on what screen - if you mean from the console, this should be taken care of in the initscripts... but I can't recall the app name

It you mean X, you need to use dpms settings, which can be seen in "man xset"

You may also need to enable DPMS via your xorg.conf, in the monitor section.

For the record, I use:

xset dpms 300 600 1200

Offline

#5 2005-08-25 14:12:58

scrawler
Member
Registered: 2005-06-07
Posts: 312

Re: an easy one (hopefully) sleeeeeep.

I tried the warm milk, and it worked like a charm!  Now I need to know how to wake little lappy back up...

:-)

Thanks for the replies.  I edited xorg.conf (just uncommented a couple lines, actually, and used phrakture's xset line.

to no effect.  What lines, exactly, in xorg.conf need to be added or altered?

thanks.

Offline

#6 2005-08-25 15:16:28

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: an easy one (hopefully) sleeeeeep.

Add
Option "DPMS" "true"
to your monitor section.

Offline

#7 2005-08-25 16:02:54

sh__
Member
Registered: 2005-07-19
Posts: 271

Re: an easy one (hopefully) sleeeeeep.

Hmm, if it is a really old laptop then the screen might have some issues with DPMS. Try adding the following line under the section "ServerLayout" in xorg.conf:

Option         "BlankTime" "5"

This enables a simple screen blanker after 5 minutes of inactivity (doesn't try to save power like the DPMS options).

The DPMS timeout options go also under "ServerLayout":

Option         "StandbyTime" "15"
Option         "SuspendTime" "20"
Option         "OffTime" "30" 

These work only if DPMS is enabled, so put

Option "DPMS" "true"

under section "Monitor".

Offline

#8 2005-08-29 03:27:57

scrawler
Member
Registered: 2005-06-07
Posts: 312

Re: an easy one (hopefully) sleeeeeep.

howdy again.

This is a little frustrating.  I've made every change you guys have
suggested, with no effect.  Wait, no, my laptop does seem to sleep
eventually if I'm not in x.

Hmm.  Any other thoughts?

Offline

#9 2005-08-29 11:44:51

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 549

Re: an easy one (hopefully) sleeeeeep.

You could use the xscreensaver-demo package to blank it.

Regarding switching off the backlight, I read somewhere that it damaged the tube as it only has a limited number of switch ons.

Offline

#10 2005-08-29 15:08:35

scrawler
Member
Registered: 2005-06-07
Posts: 312

Re: an easy one (hopefully) sleeeeeep.

Cotton wrote:

You could use the xscreensaver-demo package to blank it.

Regarding switching off the backlight, I read somewhere that it damaged the tube as it only has a limited number of switch ons.

Thanks, I'll try that.  Based on the rest of this thread, am I switching off my backlight?

Offline

#11 2005-08-29 21:44:59

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 549

Re: an easy one (hopefully) sleeeeeep.

...am I switching off my backlight?

I believe thats what DPMS does.

xscreensaver leaves it on, and so the screen will give a faint glow when blank.

Offline

#12 2005-09-20 05:33:55

acetylcholine
Member
From: NY, USA
Registered: 2004-11-07
Posts: 46
Website

Re: an easy one (hopefully) sleeeeeep.

If you have any GL apps running (xscreensaver) i think you wont be able to dpms off.

Offline

Board footer

Powered by FluxBB