[mythtv-users] program remote's power key to stop mythfrontend?

Craig Tinson craig at 8010.co.uk
Thu Sep 22 14:15:25 UTC 2005


Brian J. Murrell wrote:

>On Thu, 2005-09-22 at 11:21 +0100, David Watkins wrote:
>  
>
>>AFAIK there's no reason why killing the frontend should prevent it
>>making a graceful exit.
>>    
>>
>
>Indeed.  But IMHO, if you are going to catch SIGTERM, it would be nice
>to pop up that "are you sure you want to quit dialog".  That way
>accidental presses of the power button can be aborted.
>
>  
>
>>I thought that was what kill -9 was for.
>>    
>>
>
>That one's not "course", it's ruthless.  :-)
>
>b.
>
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>mythtv-users mailing list
>mythtv-users at mythtv.org
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>  
>
hey

am not an expert on this.. but couldn't you just use irexec to send 
half-a-dozen ESC keys? no matter where you are in myth that should take 
you to the close screen? not exactly pretty but should do what your 
asking.. and you can still press the OK to confirm

just a thought

Craig




More information about the mythtv-users mailing list