[mythtv] Request - disable screensaver

Joseph A. Caputo jcaputo1 at comcast.net
Fri Oct 17 23:08:40 EDT 2003


Michael Anthon wrote:
> On Saturday 18 October 2003 00:41, Joseph A. Caputo wrote:
> 
> 
>>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
> 
> 
> I believe this can be easily worked around by running irxevent and setting it 
> up to send a keypress to the screensaver when you press a (or any) button on 
> the remote.  My understanding of this is that only the focused window is able 
> to get events from lirc... and when the screensaver cuts in it is the focused 
> window.  I could be wrong, might test this out later.

I don't think the screensaver works by using window-focused X-events.  I 
think it works by listening to registered X-Input devices directly 
through the X keyboard & mouse drivers.  If this is the case, having 
irxevent send XKeyEvents is never going to clear the screensaver.  LIRC 
can, however, be configured to act as a pseudo-mouse device using the 
XInput mouse device, so in that sense LIRC could be used in lieu of a 
mouse; however, this is completely separate from irxevent and any key 
configured to be a 'mouse' key cannot simultaneously do anything else as 
far as controlling Myth, AFAIK.

-JAC



More information about the mythtv-dev mailing list