[mythtv] Request - disable screensaver

Joseph A. Caputo jcaputo1 at comcast.net
Fri Oct 17 15:41:14 EDT 2003


On Friday 17 October 2003 05:15 pm, Cliff Draper wrote:
> From: Chris Petersen <lists at forevermore.net>
> Date: Thu, 16 Oct 2003 22:17:22 -0700
> > I've taken to watching some recorded shows right on my workstation, and
> > it gets rather annoying when xscreensaver kicks in.  
> 
> Not only does this make sense for a workstation, but also for TVs that
> can suffer burn in.
> 
> > Though it'd be nice
> > to have it run if left in a menu type mode, it should probably be
> > disabled while watching recordings or live tv.
> 
> It should be as simple as running `xset s on` or `xset s off` at the
> right times.  I suspect the right times are right before playing
> video, run `xset s off` and right after playing run `xset s on`.
> 
> If I could find the time, I bet I could code that in....


I'm not sure it's as simple as that... while it will enable the screensaver, I 
think there might still be a problem.  In my experience before I disabled the 
screensaver, if the screensaver kicked in while I was watching something, 
taking actions with my LIRC remote didn't clear the screensaver; I needed to 
plug in a real keyboard or mouse to get it to clear.  I think this is because 
the LIRC device is not recognized as an X input device; it merely runs 
through a client program that fires off X-events.  So, yes, you could turn on 
the screensaver when in 'menu' mode, but if your only input is a remote 
control you won't be able to clear the screensaver.

The real solution is to build screensaver calls directly into Myth.  Shouldn't 
be that hard.

-JAC



More information about the mythtv-dev mailing list