LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Icewm: how to avoid the black screen to come after 15minutes? (https://www.linuxquestions.org/questions/linux-general-1/icewm-how-to-avoid-the-black-screen-to-come-after-15minutes-668700/)

frenchn00b 09-09-2008 12:18 PM

Icewm: how to avoid the black screen to come after 15minutes?
 
Hi,

Then I have to press a key to reput the sort of blakc screen saver away...
Any ideas?

thanks !
Happy Tux

TB0ne 09-09-2008 12:56 PM

Quote:

Originally Posted by frenchn00b (Post 3274755)

Then I have to press a key to reput the sort of blakc screen saver away...
Any ideas?

Your 'question' makes no sense. Please try to write clearly. Are you asking as to why you have to press a key, to make the screen wake up after 15 minutes?

You probably have power-management turned on, which will put your monitor to sleep after 15 minutes or so. Pressing a key wakes it up. Either you can press the key, or disable that.

frenchn00b 09-09-2008 01:25 PM

Quote:

Originally Posted by TB0ne (Post 3274793)
Your 'question' makes no sense. Please try to write clearly. Are you asking as to why you have to press a key, to make the screen wake up after 15 minutes?

You probably have power-management turned on, which will put your monitor to sleep after 15 minutes or so. Pressing a key wakes it up. Either you can press the key, or disable that.

sorry
the X puts the monitor blakc, then I have to press a key to reactivate it

TB0ne 09-09-2008 01:50 PM

Quote:

Originally Posted by frenchn00b (Post 3274826)
sorry
the X puts the monitor blakc, then I have to press a key to reactivate it

Still not making sense. What "X puts the monitor blakc"??

frenchn00b 09-10-2008 01:56 PM

I know

it is xset !!

please how to avoid xset to run in background?
I looked in google, but didnt find it :(

happy tux

IsaacKuo 09-10-2008 02:51 PM

Actually, it's an option in xorg called "DPMS". It has nothing to do with IceWM.

You change it by editing your /etc/X11/xorg.conf. You'll find a line in the Monitor section like this:

Option "DPMS"

Comment out this line by putting a "#" in front of it:

# Option "DPMS"

Then quit IceWM and restart X. If you're using a graphical login manager like GDM, then you can restart X with ctrl-alt-backspace.

IsaacKuo 09-10-2008 02:53 PM

Oh, the above assumes you are using Debian Etch. With Debian Lenny, I think the option "DPMS" is turned on by default even if there's no line in xorg.conf referencing it. For Lenny, I added a line like this:

Option "DPMS" "off"

...which seems to work. I think. I'm not as familiar with Lenny.

frenchn00b 09-16-2008 12:55 PM

Quote:

ot a strange question at all and it is completely possible. There is a utility called "xset" which is built for the purpose of tweaking X.

Quick list of what it does:
xset s Reset to standard settings
xset s 600 Activate after 10 minutes
xset s blank Use blank screen
xset s off Deactivate screensaver
xset s on Switch on screensaver
xset s activate Activate screensaver immediately
xset q Display current settings
xset +dpms Enable power saving
xset -dpms Disable power saving

So for you to enable:
CODE
xset +dpms
xset s on
xset s activate


And to disable:
CODE
xset s off
xset -dpms


You can use cron to enable at a time.. and disable at a time.
should work I guess


All times are GMT -5. The time now is 06:12 AM.