how do i disable xscreensaver temperarily? i want to watch a movie in mplayer and i keep getting interupted.
Printable View
how do i disable xscreensaver temperarily? i want to watch a movie in mplayer and i keep getting interupted.
KDE/Gnome?
For KDE you could use the KDE Control Center to disable or see if there is a manpage for xscreensaver (man xscreensaver) or installed documentation that could possibly tell you how to temporarily disable.
Anyone know a quick way to disable?
I don't know if this would qualify as a quick way, but you could go to xscreensaver-demo and either choose "Disable Screen Saver" or you can just kill the xscreensaver daemon.
I was thinking of that too, but then you would need to restart the daemon.Quote:
Originally posted by Ryochan7
Or you can just kill the xscreensaver daemon.
Hopefully the xscreensaver docs have something on temporarily disabling.
*BUMP*
I'm having this exact same problem--I have configured mplayer to my liking, but it gets interrupted by xscreensaver. Anyone have an answer?
Thanks!
From the xscreensaver manpage (man xscreensaver)Quote:
Originally posted by IsaacKuo
*BUMP*
I'm having this exact same problem--I have configured mplayer to my liking, but it gets interrupted by xscreensaver. Anyone have an answer?
Thanks!
ORQuote:
USING KDE (K DESKTOP ENVIRONMENT)
I understand that KDE has invented their own wrapper around xscreensaver, that is inferior to xscreen_
saver-demo(1) in any number of ways. I've never actually seen it, but I'm told that this is the way you
disable it:
1: Switch off KDE's screen saver.
Open the ``Control Center'' and select the ``Look and Feel / Screensaver'' page. Turn off the
``Enable Screensaver'' checkbox.
xscreensaver-command -exit
Thanks, I'm aware of ways to manually disabling the screensaver, but neither of those methods are temporary.
I suppose I could make a simple script something like this:
But this is slower and kludgy, and requires some tweaking all around (like disabling xscreensaver's splash screen).Code:#!/bin/sh
xscreensaver -exit
mplayer "$1"
xscreensaver
xscreensaver -nosplashQuote:
Originally posted by IsaacKuo
But this is slower and kludgy, and requires some tweaking all around (like disabling xscreensaver's splash screen).
Also in the xscreensaver manpage. :pQuote:
Originally posted by blargety
xscreensaver -nosplash
Does mplayer have a option that will disable screensavers?
If so, I haven't found it. gmplayer seems to have a line in ~/.mplayer/gui.conf which can supposedly deactivate xscreensaver, but I haven't been able to transplant this line successfully anywhere that mplayer would react to. I'm not even sure if it works with gmplayer, actually. There are a number of reasons I'm not using gmplayer, like it fails to come up in fullscreen properly initially (has blue border on the bottom; repeatedly toggling full-screen mode eventually fixes it).
Anyway, I don't know how to get internet videos to work with the shell script I made. This isn't such a severe problem, because internet videos tend to be very short anyway. However, it does point out how inelegant the shell script solution is.
How about just setting it not to blank until after more minutes than the movie is.
If the movie is 190 minutes. Set it to blank after 200 minutes.
guys guys guys... There's an option in mplayer to stop xscreensaver from activating! From the mplayer man page:
or you could always just do killall xscreensaver and then run xscreensaver again. Or move your mouse every 3 minutes.Code:-stop-xscreensaver (X11 only)
Turns off xscreensaver at startup and turns it on again on exit.
Thanks! Success! I somehow failed to see that -stop-xscreensaver option in the man pages. Based on a previous modification I made to get full screen playback, I edited ~/.mplayer/config to:
This works like a charm! Now, the videos play back at full screen and with the screensaver temporarily deactivated.Code:vo=xv,x11
ao=arts,esd,oss
fs=yes
stop-xscreensaver=yes
Additionally, I am running KDE, and it wa necessary to go into KDE's Control Center-->Appearance & Themes-->Screen Saver configuration. I deactivated KDE's "start screensaver automatically" feature. If this feature is turned on, then the screen will blank to black when its timeout occurs.
Just so you know, it's xscreensaver-command -exit instead of xscreensaver -exit.Quote:
Originally posted by IsaacKuo
Code:#!/bin/sh
xscreensaver -exit
mplayer "$1"
xscreensaver
Exactly as I posted above. :DQuote:
Originally posted by serz
Just so you know, it's xscreensaver-command -exit instead of xscreensaver -exit.