<div dir="ltr">I use my desktop as a mediac pc and run mythfrontend, mplayer, Mpd/mpc, etc. I&#39;ve run into the problem where if I open mythfrontend, any keypresses that are also used by mpc will be caught my mpc and for example hitting play in mplayer will hit play in mpc, etc.<br>
<br>I&#39;m wondering how I can make a script or something to potentially &quot;switch&quot; or choose which app at a given time gets to use LIRC? Previously with Amarok I had a few buttons bound to &quot;amarok -q&quot; and &quot;amarok&quot; to start and stop the app itself so I could kill it when mplayer started and open it again at any time, but I&#39;ve switched to mpd and am wondering how I can do this now.<br>
<br>Thanks<br>Bob<br></div>