[mythtv] Tv power control idea

Petr Stehlik pstehlik at sophics.cz
Fri Dec 30 03:44:14 EST 2005

Neil Whelchel píše v Čt 29. 12. 2005 v 18:11 -0800:
> So I came up with the idea of powering off the TV when the screensaver
> would come on. (Also this has the ability to turn the TV on as well.)
> At the moment I hacked the fillowing into screensaver-x11.cpp. Knowing
> that this ais a temporary hack I am posting here for ideas as to what the
> correct way to go about this is...

You don't have to hack xscreensaver.

> The hack simply checks for the presence of a FIFO in the /tmp directory.
> If the file is there it simply writes a number to it to indicate the state
> of the screensaver.

try xscreensaver-command -watch


More information about the mythtv-dev mailing list