<html><body>
<p><tt>Dear Mike</tt><br>
<tt>Thanks a lot for your kind help and indication.</tt><br>
<tt>You are right, there are in fact not good choices for this point.</tt><br>
<tt>Now, I also adopted your 2nd suggestion, and now it works well.</tt><br>
<tt>Meanwhile, I have another problem:</tt><br>
<tt>How to shutdown MythTV from external command from terminal in Linux or external Java program?</tt><br>
<tt>&nbsp;</tt><br>
<tt>Thanks a lot:)</tt><br>
<br>
<tt>Jerry</tt><br>
<br>
<tt><br>
&gt;OK. &nbsp;Here are two other ways:<br>
<br>
&gt;1) shut down mythfrontend before starting the new app and start<br>
&gt;mythfrontend after closing the new app<br>
<br>
&gt;2) stop using Myth's native LIRC support and instead use irxevent to<br>
&gt;send X events /only/ to the focused app.<br>
<br>
&gt;I know it's not what you want to hear, but there are really no good<br>
&gt;options. &nbsp;Short of writing code to create a keybinding to tell Myth to<br>
&gt;stop listening to LIRC events (save one that re-enables LIRC).<br>
<br>
&gt;LIRC's mode support is probably the closest thing to what you want, but<br>
&gt;you have to work to get it (it's a challenge to set up) and it has its<br>
&gt;own limitations.<br>
<br>
&gt;Mike</tt><br>
<br>
<br>
<br>
<br>
</body></html>