On 6/22/05, IvanK. <[EMAIL PROTECTED]> 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 _______________________________________________ mythtv-users mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
