[mythtv-users] Power off from remote

Michael Watson michael at thewatsonfamily.id.au
Fri Aug 10 22:02:56 UTC 2012


On 10/08/2012 3:11 PM, Joel Ebel wrote:
> I got around to setting up wake-on-lan, and I have a widget on my
> phone to easily turn on my frontend, but now I need a way to get my IR
> remote to turn off the frontend.  What's the best way to do this?  Is
> there an existing keybinding that can be used to immediately shut down
> or suspend a front-end?  Perhaps I could set it up as a keystroke
> event handler, and have mythtv's lircrc create that keystroke.
> Alternatively, I could do it outside of mythtv with irexec, but I
> already run irexec on demand when I use mythgames, and running a
> separate one with a separate config file just to shut down my machine
> seems excessive if mythtv could already do it.  I'm curious how other
> people are handling this.
>
> Thanks,
> Joel
>
I use a script that automatically turns off the frontend after a 
predefined time of inactivity.  I use xscreensaver with a 5 min delay to 
protect screen from burn in, and after the screen saver has been active 
for 20 minutes, it shuts down the frontend cleanly, and powers off the 
machine.




More information about the mythtv-users mailing list