View previous topic :: View next topic |
Author |
Message |
wHAcKer Apprentice
Joined: 18 Oct 2002 Posts: 228 Location: Grimbergen, Belgium
|
Posted: Mon Nov 18, 2002 6:25 pm Post subject: disable screensaver |
|
|
I recently installed xscreensaver and I like to have it at 3 minutes black out. However, when I'm watching a movie or some episode there must be a way to quickly disable it. I checked the man from xscreensaver but it doesn't say anything about it being disabled when a certain program runs. I could write a script to disable it but then I always have to run that script when i start mplayer.
do you guys have any idea how to disable xscreensaver temporarily? |
|
Back to top |
|
|
ch0c0b0 n00b
Joined: 24 Apr 2002 Posts: 55 Location: New York, NY
|
Posted: Mon Nov 18, 2002 6:34 pm Post subject: |
|
|
Don't know which desktop manager your running, but in Gnome this can be configured in the Desktop Preferences menu (forgot which tab cuz I'm not on my box right now). |
|
Back to top |
|
|
wHAcKer Apprentice
Joined: 18 Oct 2002 Posts: 228 Location: Grimbergen, Belgium
|
Posted: Mon Nov 18, 2002 8:39 pm Post subject: |
|
|
oh yeah, i'm sorry i didn't say that, it's fluxbox |
|
Back to top |
|
|
vers_iq Apprentice
Joined: 18 May 2002 Posts: 264
|
Posted: Mon Nov 18, 2002 10:36 pm Post subject: |
|
|
i thought mplayer will handle this automagically (disable any monitor management temporarily). If i was wrong you can Code: | xset -dpms
xset s off
xset s noblank |
|
|
Back to top |
|
|
wHAcKer Apprentice
Joined: 18 Oct 2002 Posts: 228 Location: Grimbergen, Belgium
|
Posted: Mon Nov 18, 2002 10:58 pm Post subject: |
|
|
correct me if I'm wrong but that would disable the blank screen you get when you are in CLI too?
The aim is to temporarily disable xscreensaver but only when mplayer is active.
I guess it's kinda hard to do |
|
Back to top |
|
|
masseya Bodhisattva
Joined: 17 Apr 2002 Posts: 2602 Location: Baltimore, MD
|
Posted: Tue Nov 19, 2002 1:56 am Post subject: |
|
|
The best thing that I can think of would be to use this Code: | xscreensaver-command -exit | to stop it and this Code: | xscreensaver -nosplash & | to restart it. You could add these in a wrapper script that started mplayer. HTH.. _________________ if i never try anything, i never learn anything..
if i never take a risk, i stay where i am.. |
|
Back to top |
|
|
wHAcKer Apprentice
Joined: 18 Oct 2002 Posts: 228 Location: Grimbergen, Belgium
|
Posted: Wed Nov 20, 2002 11:09 pm Post subject: |
|
|
oh, yeah right, i finally c real use for a wrapper script
THANKS MATE, I'm gonna sort that out |
|
Back to top |
|
|
|