[mythtv-users] Remote control issues

Mark Knecht markknecht at gmail.com
Wed Jun 22 16:19:44 UTC 2005


On 6/22/05, IvanK. <chepati at yahoo.com> wrote:
> On Wednesday 22 June 2005 11:19 am, Tachtevrenidis, Kosta wrote:
> > 1) Does anybody know how to make one of the buttons of the remote
> > control launch an application (for example mythtv frontend). Sometimes
> > my front end crashes and I am sitting there looking at the kde desktop
> > with nothing to do but reboot because I have no keyboard attached to the
> > machine.
> 
> 
> Use irexec.  Example:
> 1) create /etc/irexec.conf
> 2) put there something like this (just the stuff between the ===):
> ===
> begin
>    prog = irexec
>    button = RS_15-2116_SLEEP
>    config = /sbin/reboot
> end
> ===
> 
> the config = [command] line specifies what [program] to execute when you press
> the button.  The button, of course, must have been defined in lircd.conf
> 
> 3) put in one of your boot scripts this line:
> /usr/bin/irexec -d /etc/irexec.conf
> 
> That should work.
> 

And it does!

Hey, thanks! I was looking for a simple way to do this so I don't have
to get out of bed before I go to sleep. Now, if you just had a way to
turn the machine on with the same remote... ;-)

cheers,
Mark


More information about the mythtv-users mailing list