Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
disable screensaver
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
wHAcKer
Apprentice
Apprentice


Joined: 18 Oct 2002
Posts: 228
Location: Grimbergen, Belgium

PostPosted: Mon Nov 18, 2002 6:25 pm    Post subject: disable screensaver Reply with quote

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
View user's profile Send private message
ch0c0b0
n00b
n00b


Joined: 24 Apr 2002
Posts: 55
Location: New York, NY

PostPosted: Mon Nov 18, 2002 6:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
wHAcKer
Apprentice
Apprentice


Joined: 18 Oct 2002
Posts: 228
Location: Grimbergen, Belgium

PostPosted: Mon Nov 18, 2002 8:39 pm    Post subject: Reply with quote

oh yeah, i'm sorry i didn't say that, it's fluxbox
Back to top
View user's profile Send private message
vers_iq
Apprentice
Apprentice


Joined: 18 May 2002
Posts: 264

PostPosted: Mon Nov 18, 2002 10:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
wHAcKer
Apprentice
Apprentice


Joined: 18 Oct 2002
Posts: 228
Location: Grimbergen, Belgium

PostPosted: Mon Nov 18, 2002 10:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
masseya
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 2602
Location: Baltimore, MD

PostPosted: Tue Nov 19, 2002 1:56 am    Post subject: Reply with quote

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
View user's profile Send private message
wHAcKer
Apprentice
Apprentice


Joined: 18 Oct 2002
Posts: 228
Location: Grimbergen, Belgium

PostPosted: Wed Nov 20, 2002 11:09 pm    Post subject: Reply with quote

oh, yeah right, i finally c real use for a wrapper script ;)
THANKS MATE, I'm gonna sort that out :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum