LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to stop screensaver automatically when play videos? (http://www.linuxquestions.org/questions/linux-software-2/how-to-stop-screensaver-automatically-when-play-videos-378780/)

wuqso 10-31-2005 07:55 PM

How to stop screensaver automatically when playing videos?
 
When playing videos with totem, mplayer, xine, etc, can the screensaver be stopped automatically?

Tinkster 10-31-2005 09:07 PM

The generic answer is: no :}

It would be a bit of a big ask of either of those apps or the varied
screensavers (xlock, xlockmore, xscreensaver, gnomes built-in
or KDEs built-in) to check for all possible others at all times. One
work-around would be (e.g. if you were using xscreensaver) to
use a wrapper-script for the player like so:

Code:

#!/bin/bash
xscreensaver-command -exit
mplayer $0
xscreensaver&



Cheers,
Tink


All times are GMT -5. The time now is 10:36 PM.