[mythtv-users] how to stop lircmd interacting with myth menus?

Robert Parker theparkers.mailbox at gmail.com
Fri Nov 27 19:50:31 UTC 2009

With firefox running, when I alt-tab back to mythtv the menu items are
not shown - it's just the blue mythtv background. Doesnt this indicate
that mythtv thinks the exec'd program is still running ?
Anyway, I'll give your suggestion a go.

2009/11/27 Robert Johnston <anaerin at gmail.com>:
> On Fri, Nov 27, 2009 at 13:20, Robert Parker
> <theparkers.mailbox at gmail.com> wrote:
>> I have configured lircmd so that I can control the mouse using the
>> remote control.
>> In mainmenu.xml I have a button to shell out to firefox:
>>   <button>
>>      <type>TV_WATCH_TV</type>
>>       <text>iPlayer</text>
>>       <action>EXEC firefox http://bbc.co.uk/iplayer/bigscreen </action>
>>   </button>
>> After exiting from firefox, mythtv does not return me to the menu
>> position from where I launched the EXEC, instead I am in some random
>> place in the menu hierarchy, probably guided by the remote control
>> button presses that I used to direct the cursor (?).
>> The http://www.mythtv.org/wiki/Menu_theme_development_guide says that
>> the EXEC will "tell MythTV to ignore LIRC button presses until the
>> program exits".
>> Could it be that mythtv is not ignoring lirc input (at least in the
>> case when lircmd is also running). Is this a bug?
>> Anyone got any ideas for a work-around?
> As I recall, Firefox on Linux forks itself into a separate process,
> returning immediately. Thus Myth doesn't know that Firefox is still
> running. It may be possible to write a script that launches Firefox,
> then loops (with a wait, to avoid spinlocking) until ps no longer
> reports firefox is running, and only then returns.
> --
> Robert "Anaerin" Johnston
> Sent from Regina, SK, Canada
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

More information about the mythtv-users mailing list