<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On 26 June 2013 17:46, Martin Moores <span dir="ltr">&lt;<a href="mailto:moores.martin@gmail.com" target="_blank">moores.martin@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">

<div class="im">On 26 June 2013 01:51, Phil Wild <span dir="ltr">&lt;<a href="mailto:phil@holobyte.com.au" target="_blank">phil@holobyte.com.au</a>&gt;</span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">



<div dir="ltr"><div><div class="gmail_extra"><div class="gmail_quote"><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">



<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">

<div><div><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div dir="ltr"><div class="gmail_extra">

<div class="gmail_quote"><div><br></div></div></div></div></blockquote><div><br></div></div></div><div>I would use irexec to run &quot;xscreensaver-command -deactivate&quot;.  Can&#39;t think of any reason not to use irexec.</div>





<div><br></div></div></div></div></blockquote></div></div></div></div></blockquote><div> </div></div><div>Just wanted to hop on the end of this question.  I have an irexec command mapped to a button on my remote,  It works fine, but only if I start irexec manually first.  What&#39;s the best way to get this running on boot in Ubuntu, so it is ready and listening for commands?</div>



<div> </div><div>I&#39;ve put &quot;/usr/bin/irexec -d&quot; in startup applications without sucess.</div><div> </div><div><br></div></div></div></div></blockquote><div><br></div><div style>To get it to work I edited<br>

</div><div style><br></div><div style>~/.lirc/mythtv</div><div style><br></div><div style>and added the following (two unused buttons) followed by a reboot(not sure if needed but rebooted anyways).</div><div style>I am running 12.04 ubuntu with devinput for lirc.</div>

<div style><br></div><div style><div><br></div><div>begin</div><div>    remote = devinput</div><div>    prog = irexec</div><div>    button = KEY_RADIO</div><div>    config = xscreensaver-command -deactivate</div><div>    repeat = 0</div>

<div>    delay = 0</div><div>end</div><div>begin</div><div>    remote = devinput</div><div>    prog = irexec</div><div>    button = KEY_MEDIA</div><div>    config = xscreensaver-command -activate</div><div>    repeat = 0</div>

<div>    delay = 0</div><div>end</div><div><br></div></div></div></div></div>