[mythtv] Minimizing and restoring an external application by pressing a mythtv menu button?

hendrixski hendrixski at storsint.com
Sat Jun 2 00:34:55 UTC 2007


I was thinking about doing something similar with a program that's
written in python, and I started going down the path of learning how to
embed python in C++ so that I could then make a plugin... but it's way
more work than is worth it for something that just I would be using.
I'm on the verge of giving up.

Your idea is much more feasible for me, to just call the application
from exec() or fork() and just have it launch separately!

Would you be able to send me some sample code? I'm still kind of new to
programming and I understand that there are a lot of intricacies to
system calls so seeing an example would be MUCHO helpful.  :-)

Thanks in advance!
 - your biggest fan!  hendrixski at storsint.com

Michael T. Dean wrote:
> On 06/01/2007 03:54 AM, florin baiduc wrote:
>> I plan to launch an external application from a MythTV menu (in the
>> background by using exec &). This starts then minimized Has anyone
>> have any clue on how can one restore this already running application
>> by pressing the same MythTV button? I presume there should be some
>> call to the windowmanager, but my search returned no good results
>> (still looking around). This would be really useful for example for
>> skype and other "always on" applications..
> Please ask on the -users list.  When you do, you should specify which WM
> you're using, too, as it's purely a WM issue (not a Myth thing).
> Mike
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

More information about the mythtv-dev mailing list