2011/6/20 Craig Huff <span dir="ltr">&lt;<a href="mailto:huffcslists@gmail.com">huffcslists@gmail.com</a>&gt;</span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div>Use irexec on top of current lirc config to touch a file for any/all key presses and have your script test if date (-u, IIRC -- seconds since epoch) minus file modification date is less than &quot;n&quot;seconds.</div>
</blockquote><div> <br>Great idea, thanks! And it&#39;s even simpler: the monitor script runs in 30sec intervals anyway, so I just need to check for the magic file and if it exists, delete it and reset the idle counter.<br>
<br>However, my original post wasn&#39;t exact enough, I fear: because I had implied that I also need to monitor keypresses from the keyboard, i.e. input NOT going through lirc. That&#39;s way I originally had hoped to use Myth&#39;s system events. Any other ideas?<br>
<br>Greg<br><br></div></div>