[mythtv] screensaver patch

Xavier Hervy maxpower44 at tiscali.fr
Tue Feb 24 06:03:17 EST 2004


Cliff Draper wrote:

> I'm attaching the patch for automatic disabling of screensavers
> (standard X blanking, DPMS, and xscreensaver).  It adds the following
> functions to util.cpp:
>   void ScreenSaverOff();
>   void ScreenSaverRestore();
>   void ResetScreenSaver();
> 
> which are called at the right locations when the video player makes a
> state transition, when pause is engaged or disengaged, and when
> myth_system is called.
> 
> Since xscreensaver requires a constant deactivate message, I decided
> to write that using a small perl script, rather than add another
> thread to mythfrontend.
> 
> Here's what I have in my .xsession (which uses xscreensaver and not
> the others):
> xset s off
> xset -dpms
> xscreensaver -nosplash &
> xscreensaver-keeper &
> 
> regards,
> Cliff Draper    Sun Microsystems, Forte Tools
> My opinions may or may not reflect those of my employer.
> ---------------------------- food for thought ---------------------------
> "The one thing that unites all human beings, regardless of age,
> gender, religion, economic status, or ethnic background, is that, deep
> down inside, we ALL believe that we are above-average drivers." -Dave Barry
> 
> 

This patch seems to be interessant.
Any chance to have this without a perl script ?
I supposed it's why it was never applied ?

Xavier



More information about the mythtv-dev mailing list