<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> </tt><br>
<tt>Thanks a lot:)</tt><br>
<br>
<tt>Jerry</tt><br>
<br>
<tt><br>
>OK. Here are two other ways:<br>
<br>
>1) shut down mythfrontend before starting the new app and start<br>
>mythfrontend after closing the new app<br>
<br>
>2) stop using Myth's native LIRC support and instead use irxevent to<br>
>send X events /only/ to the focused app.<br>
<br>
>I know it's not what you want to hear, but there are really no good<br>
>options. Short of writing code to create a keybinding to tell Myth to<br>
>stop listening to LIRC events (save one that re-enables LIRC).<br>
<br>
>LIRC's mode support is probably the closest thing to what you want, but<br>
>you have to work to get it (it's a challenge to set up) and it has its<br>
>own limitations.<br>
<br>
>Mike</tt><br>
<br>
<br>
<br>
<br>
</body></html>