[mythtv-users] Run a program from a key?

Tom Lichti tom at redpepperracing.com
Mon Feb 6 21:27:12 UTC 2012


On Mon, Feb 6, 2012 at 4:01 PM, Kris B. <krisbee at krisbee.com> wrote:
>
> On Mon, Feb 6, 2012, at 08:17 PM, Robert Longbottom wrote:
>> Hi,
>>
>> I use irexec and a mapping in my lirc config file to achieve the same
>> thing using an rc6 ir remote control. Presumably you could do something
>> similar.
>>
>> You need to have irexec running in the background as a daemon and the in
>> just executes the script.
>>
>> begin
>>   prog = irexec
>>   button = KEY_POWER
>>   repeat = 0
>>   config = /home/mythtv/bin/suspend.sh
>> end
>>
>
> The problem for me (and I should have mentioned before), is that I use
> an IR keyboard (airboard), so irexec isn't being used - it just plugs
> into the ps/2 keyboard spot.  So, I am pretty sure that won't work for
> me, though if I am wrong, please tell me...

What desktop manager are you running? Most of them have a facility to
remap keys, or go lower level and use xbindkeys.

Tom


More information about the mythtv-users mailing list