[RELEASE] Launcher - application launcher plugin for Linux, Mac, Windows, and Xbox - Printable Version
+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (/forumdisplay.php?fid=151)
+---- Thread: [RELEASE] Launcher - application launcher plugin for Linux, Mac, Windows, and Xbox (/showthread.php?tid=35739)
- slacker666 - 2009-03-01 18:17
digitalhigh Wrote:I'm sorry...I am definitely not a linux person. I was just re-iterating what I saw in the documentation.
yeah, i got that passed that, as the edit said. but the problem is that firefox is running in "the background" with launcher in the background saying 100%, if i press enter, the launcher responds instead of firefox.
i dunno, but this also seems to hang the launcher and to get back to xbmc, i have to reboot it.
edit: this seems to be reported by at least one more user.
- digitalhigh - 2009-03-01 18:23
slacker666 Wrote:yeah, i got that passed that, as the edit said. but the problem is that firefox is running in "the background" with launcher in the background saying 100%, if i press enter, the launcher responds instead of firefox.
Again, not a linux person, so this is more of me throwing off ideas but...
What version of XBMC are you using? I believe that there were some issues (for windows, at least) regarding XBMC not giving up focus to the launched program? Perhaps installing? a newer version could help?
- slacker666 - 2009-03-01 19:26
i am using one of the latest versions, pre-9.04 build 18153 for Ubuntu. (compiled on February 28th)
- frostwork - 2009-03-02 10:24
unfortunately this is standard-behaviour.
I "fixed" this by editing
and calling something like
os.system("%s" % ('devilspie $HOME/.devilspie/xbmc-mini.ds &'))
os.system("%s %s" % (launcher["application"], launcher["args"]))
os.system("%s" % ('devilspie $HOME/.devilspie/xbmc-unminifs.ds &'))
after it, so it looks somehow like:
And similar edits near the rom-launcher line somewhere below.
the "killall -9 devilspie" line makes sure that that, yes,
devilspie is killed.
Of course you need devilspie installed to un-/minimize xbmc.
Far from being perfect, but it worked quiet fine here as long as I used it.
will grow up fast, to get rid of Launcher plugin.
(it was very cool for the beginning, no doubt, but application launching
should be built in imho)
atm I use the netbook-launcher application
under xbmc and simply launch apps from there. less complicated for now.
And it also can be perfectly controlled with remote, so when done with "launching apps" I can navigate in the netbook-launcher to xbmc
(or, what I prefer, simply hit my xbmc button on the remote )
- slacker666 - 2009-03-02 16:25
thanks for the ideas frostwork.
however, im confused when it comes to xbmc-mini.ds and xbmc-unminifs.ds
are these existing files and if so where are they located? if they aren't existing already, where do i create them?
also, how do u launch netbook-launcher from xbmc?
- frostwork - 2009-03-02 18:53
you need to create both xbmc-mini.ds and xbmc-unminifs.ds (or whatever you would like to call them ).
I have mine in $HOME/.devilspie/
(you probably also need to create the .devilspie directory first if you want to use the same path), but it doesn't matter where the files are, as long as you provide the
absolut path to devilspie
(check the code in my previous post).
I expressed very bad with saying "under xbmc".
In fact I meant below xbmc, means I autostart both netbook-launcher and xbmc (where xbmc is on top).
You could add a script (f.e. netbook.py) containing
to your $HOME/.xbmc/scripts/My\ Scripts/
and create an other bashscript (f.e unminixbmc) like
which uses a /usr/local/share/applications/unminixbmc.desktop
On that way you can minimize xbmc from xbmc,
will be dropped to the netbook-launcher
(which you could even tweak a little, so it'll look more
like your fav. xbmcskin ), launch your apps there, and
unminimize xbmc when you're done with your apps.
- slacker666 - 2009-03-02 19:52
i dont think i am doing it right, i've created those .ds files but it still takes focus of the firefox app. meaning xbmc responds and not firefox.
i autostart my ubuntu to run xbmc, so i never get to the actual desktop of ubuntu.
- frostwork - 2009-03-02 20:49
ah, so some small wm like openbox,xfce4,evilwm,whatever
should fix this.
- slacker666 - 2009-03-02 21:16
hmm, could you tell me what those do exactly? and how i use them? not familiar with any of them.
- frostwork - 2009-03-02 22:01
slacker666 Wrote:hmm, could you tell me what those do exactly? and how i use them? not familiar with any of them.
I'm sure their very own homepages/docs can answer those questions best.
- empty - 2009-03-02 22:55
mhhm I have a Problem, I have XBMC-Windows and tried to use the Launcher 1.02 plugin, but this error message comes up:
- slacker666 - 2009-03-02 23:09
frostwork Wrote:I'm sure their very own homepages/docs can answer those questions best.
dont see how they can help me as i ONLY run XBMC, nothing else (except Ubuntu backend).
Any ideas how to fix the things you described earlier, they seem to be my best shot atm.
- ryansebiz - 2009-03-03 05:34
leo2 Wrote:Known Bugs:
I'm having this problem. XBMC will minimize, launch the standalone app, I exit the app, and XBMC doesn't maximize back.
Any ideas on how to fix this?
Also, how can I add my Launcher app to the home screen main menu?
- slacker666 - 2009-03-04 15:30
this application is in major need for an update that will fix the problems regarding "losing focus" on the opened application.
it seems no one actually have been able to (properly) run firefox for example?
- ronie - 2009-03-04 22:04
slacker666 Wrote:this application is in major need for an update that will fix the problems regarding "losing focus" on the opened application.
I have no problems with losing focus and i am able to launch firefox without any problem.
I'm not using devilspie, netbook-launcher or any other tool mentioned in the previous posts.
The only thing i did was create a script which will start the gnome windowmanager and launch firefox.
Just launch this script with the Launcher plugin:
That's all. Once you quit firefox, the script will kill the windowmanager and XBMC will regain focus.
But maybe things depend on the way you autostart XBMC? I use gdm to launch XBMC as a session. The behavior might be different when using others methods...