Sim wrote:

>On Sunday 05 June 2005 08:23, Pete Cable wrote:
>  
>
>>On 6/4/05, Nick <[EMAIL PROTECTED]> wrote:
>>    
>>
>>>On 6/4/05, Michael T. Dean <[EMAIL PROTECTED]> wrote:
>>>      
>>>
>>>>Sim wrote:
>>>>        
>>>>
>>>>>I use KDE and want to set the TV button my remote to start mythtv. 
>>>>>Any
>>>>>          
>>>>>
>>>ideas
>>>
>>>      
>>>
>>>>>how to do this - i've tried using irxevent to pass a ctrl-t (which is
>>>>>          
>>>>>
>>>the
>>>
>>>      
>>>
>>>>>hotkey i setup in kde for mythtv) but that did not work.
>>>>>          
>>>>>
>>I use irexec to do this. Here's the relevant section from my .lircrc
>>    
>>
>
>Thanks everyone - I've got it working rst ever perl script later :-)
>Simon
>_______________________________________________
>mythtv-users mailing list
>[email protected]
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>  
>
Well - I did mine a bit different since I feel that a power button
should both quit and start things:

[EMAIL PROTECTED] ~ $ cat .checkmythrunning.sh
#!/bin/sh

pkill irexec;
mythfrontend && irexec -d;



In my .lircrc:
.
.
.
begin
    prog = irexec
    button = power
    config = /home/supermario/.checkmythrunning.sh
end

begin
   prog = mythtv
   button = power
   config = Escape
end

.
.
.


_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to