Comment 5 for bug 352077

Revision history for this message
Gary Butters (gbutters) wrote :

Here is a patch for this

It depends on wmctrl

--- mythfrontend.sh.orig 2009-10-06 03:54:43.000000000 -0500
+++ mythfrontend.sh 2009-10-10 22:33:30.322126832 -0500
@@ -2,6 +2,8 @@
 # Mario Limonciello, March 2007
 # partially merged with startmythtv.sh by Michael Haas, October 2007

+pidof mythfrontend.real 2>/dev/null && wmctrl -a "MythTV Frontend" 2>/dev/null && exit
+
 #source our dialog functions
 . /usr/share/mythtv/dialog_functions.sh