<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 8, 2019 at 6:57 PM Stephen Worthington <<a href="mailto:stephen_agent@jsw.gen.nz" target="_blank">stephen_agent@jsw.gen.nz</a>> wrote:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
One alternative is to use lirc to assign a button on your remote to<br>
kill mythfrontend.real.  Lirc can be set up to run scripts using<br>
irexec.  The script would do a ps -e and find any running copies of<br>
mythbackend.real and kill them.  Then the mythfrontend script would<br>
see that mythfrontend.real had died and would restart it.<br></blockquote><div><br></div><div>Stephen</div><div>I have tried this without success.  Here is what I did.</div><div>1) I modified a key definition to run irexec and change a key definition to escape</div><div>2) I verified that the key was now the escape key</div><div>3) I changed the config action to "killall mythfrontend.real"</div><div>4) The key did nothing. Myth did not close and the pid did not change</div><div>5) I copied the config action to a terminal and it killed mythfrontend</div><div><br></div><div>By the way, myth does not restart when I kill it.</div><div><br></div><div>This is not exactly what you told me to do but it seemed like it should work.</div><div><br></div><div>Allen</div></div></div>