You need to use irexec (make it run at system startup), then change your config to...<br><br>begin<br>&nbsp;&nbsp;&nbsp; prog = irexec<br>&nbsp;&nbsp;&nbsp; button = Power<br>&nbsp;&nbsp;&nbsp; config = /local/power.sh &amp;<br>end<br><br>That should then work (so long as /local/power.sh is the correct path to your script),
<br>Ash.<br><br><br><div><span class="gmail_quote">On 22/03/06, <b class="gmail_sendername">James Armstrong</b> &lt;<a href="mailto:james@thearmstrongs.org">james@thearmstrongs.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>On Mar 21, 2006, at 10:22 PM, Sean Watkins wrote:<br><br>&gt; Hi,<br>&gt;<br>&gt; I started using MythTV a few days ago. I have gone and customized the<br>&gt; lircrc in ~mythtv/.mythtv as to how I wanted it. Basically some
<br>&gt; buttons were setup kind of weird.<br>&gt;<br>&gt; I would like to run a power down script (which sends a Power Off to<br>&gt; my TV and Home Theatre System) whenever I push the power button on my<br>&gt; remote.<br>
&gt;<br>&gt; My lircrc contains this:<br>&gt; ...<br>&gt; begin<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;prog = mythtv<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;button = Power<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; config = /local/power.sh &amp;<br>&gt; end<br>&gt; ...<br>&gt;<br>I don't know a good answer because I am no expert, but I was just
<br>looking at the lirc code in myth for another issues I had and saw<br>there is a configurable external script that can be run on each<br>keypress. I don't know if the key that was pressed is passed or not,<br>I don't have the code in front of me now. It is mainly used so you
<br>can have feedback from keypresses such as an led.<br><br>Look at lirc.cpp in libs/libmythtv<br><br>- James<br><br>&gt; But it doesn't do anything - I get this error<br>&gt;<br>&gt; LircClient warning: attempt to convert '/local/power.sh &amp;' to a key
<br>&gt; sequence failed. Fix your key mappings.<br>&gt;<br>&gt;<br>&gt; Ideas?<br>&gt;<br>&gt; Sean<br>&gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; mythtv-users mailing list<br>&gt; 
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>&gt; <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br><br>_______________________________________________
<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
</a><br></blockquote></div><br>