Kodi Community Forum
[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)



- myspacee - 2009-07-17 18:06

hello to all,
have last Windows XBMC installed and 1.03 Launcher working on my system

Can't find a way to solve know bug :

2. (Windows Only) Minimizing and not maximizing back the XBMC after program finished.

Search solution for this and i can do script to maximizing back XBMC if not.
But i see that XBMC is in hang and not only minimized.

Any Windows user can help community to solve this issue?

Thank you all for any help,

m.


- medicineuk - 2009-07-18 14:49

I have just installed app launcher under Linux and I'm not really sure if it's working correctly. I can launcher transmission but on launching I'm pushed back out in to the Linux GUI transmission opens but then I can't get back in to XBMC? Are the application meant to launcher inside XBMC ? or just as they normally would on the desktop.


- o_neill - 2009-07-19 15:04

Can someone give me a hint what is wrong with my installation (Ubuntu 8.04)?
I unzipped the Launcher to .xbmc\plugins\programs and created the
symlink but everything I get is an error "python script failed." Below are parts of the Debug Log, telling: [Errno 13] Permission denied: '/usr/share/xbmc/UserData



Code:
14:56:45 T:2957466512 M:3339083776  NOTICE: Traceback (most recent call last):
14:56:45 T:2957466512 M:3339083776  NOTICE:   File "/home/xbmc/.xbmc/plugins/programs/Launcher/default.py", line 20, in ?
14:56:45 T:2957466512 M:3339083776  NOTICE:
14:56:45 T:2957466512 M:3339083776  NOTICE: plugin.Main()
14:56:45 T:2957466512 M:3339083776  NOTICE:   File "/home/xbmc/.xbmc/plugins/programs/Launcher/resources/lib/launcher_plugin.py", lin$
14:56:45 T:2957466512 M:3339083776  NOTICE:
14:56:45 T:2957466512 M:3339083776  NOTICE: self._get_settings()
14:56:45 T:2957466512 M:3339083776  NOTICE:   File "/home/xbmc/.xbmc/plugins/programs/Launcher/resources/lib/launcher_plugin.py", lin$
14:56:45 T:2957466512 M:3339177984  NOTICE:
14:56:45 T:2957466512 M:3339177984  NOTICE: os.makedirs(os.path.dirname(self.settings[ "thumbs_path" ]));
14:56:45 T:2957466512 M:3339177984  NOTICE:   File "/home/xbmc/XBMC-test/XBMC/xbmc/lib/libPython/linux/../Python/Lib/os.py", line 156$
14:56:45 T:2957466512 M:3339177984  NOTICE:
14:56:45 T:2957466512 M:3339177984  NOTICE: makedirs(head, mode)
14:56:45 T:2957466512 M:3339177984  NOTICE:   File "/home/xbmc/XBMC-test/XBMC/xbmc/lib/libPython/linux/../Python/Lib/os.py", line 159$
14:56:45 T:2957466512 M:3339177984  NOTICE:
14:56:45 T:2957466512 M:3339177984  NOTICE: mkdir(name, mode)
14:56:45 T:2957466512 M:3339177984  NOTICE: OSError
14:56:45 T:2957466512 M:3339177984  NOTICE: :
14:56:45 T:2957466512 M:3339177984  NOTICE: [Errno 13] Permission denied: '/usr/share/xbmc/UserData'
14:56:45 T:2957466512 M:3339177984  NOTICE:
14:56:45 T:2957466512 M:3339177984   ERROR: Scriptresult: Error
14:56:45 T:2957466512 M:3339177984    INFO: Loading skin file: DialogOK.xml
14:56:45 T:2957466512 M:3339177984   DEBUG: Load DialogOK.xml: 1.32ms
14:56:45 T:3051743072 M:3339177984   DEBUG: ------------------- GUI_MSG_WINDOW_INIT



- us1111 - 2009-07-19 16:56

o_neill Wrote:Can someone give me a hint what is wrong with my installation (Ubuntu 8.04)?
I unzipped the Launcher to .xbmc\plugins\programs and created the
symlink but everything I get is an error "python script failed." Below are parts of the Debug Log, telling: [Errno 13] Permission denied: '/usr/share/xbmc/UserData



Code:
14:56:45 T:2957466512 M:3339083776  NOTICE: Traceback (most recent call last):
14:56:45 T:2957466512 M:3339083776  NOTICE:   File "/home/xbmc/.xbmc/plugins/programs/Launcher/default.py", line 20, in ?
14:56:45 T:2957466512 M:3339083776  NOTICE:
14:56:45 T:2957466512 M:3339083776  NOTICE: plugin.Main()
14:56:45 T:2957466512 M:3339083776  NOTICE:   File "/home/xbmc/.xbmc/plugins/programs/Launcher/resources/lib/launcher_plugin.py", lin$
14:56:45 T:2957466512 M:3339083776  NOTICE:
14:56:45 T:2957466512 M:3339083776  NOTICE: self._get_settings()
14:56:45 T:2957466512 M:3339083776  NOTICE:   File "/home/xbmc/.xbmc/plugins/programs/Launcher/resources/lib/launcher_plugin.py", lin$
14:56:45 T:2957466512 M:3339177984  NOTICE:
14:56:45 T:2957466512 M:3339177984  NOTICE: os.makedirs(os.path.dirname(self.settings[ "thumbs_path" ]));
14:56:45 T:2957466512 M:3339177984  NOTICE:   File "/home/xbmc/XBMC-test/XBMC/xbmc/lib/libPython/linux/../Python/Lib/os.py", line 156$
14:56:45 T:2957466512 M:3339177984  NOTICE:
14:56:45 T:2957466512 M:3339177984  NOTICE: makedirs(head, mode)
14:56:45 T:2957466512 M:3339177984  NOTICE:   File "/home/xbmc/XBMC-test/XBMC/xbmc/lib/libPython/linux/../Python/Lib/os.py", line 159$
14:56:45 T:2957466512 M:3339177984  NOTICE:
14:56:45 T:2957466512 M:3339177984  NOTICE: mkdir(name, mode)
14:56:45 T:2957466512 M:3339177984  NOTICE: OSError
14:56:45 T:2957466512 M:3339177984  NOTICE: :
14:56:45 T:2957466512 M:3339177984  NOTICE: [Errno 13] Permission denied: '/usr/share/xbmc/UserData'
14:56:45 T:2957466512 M:3339177984  NOTICE:
14:56:45 T:2957466512 M:3339177984   ERROR: Scriptresult: Error
14:56:45 T:2957466512 M:3339177984    INFO: Loading skin file: DialogOK.xml
14:56:45 T:2957466512 M:3339177984   DEBUG: Load DialogOK.xml: 1.32ms
14:56:45 T:3051743072 M:3339177984   DEBUG: ------------------- GUI_MSG_WINDOW_INIT

Check if UserData exist and not "userdata". If UserData does not exist, create softlink. Also check permissions...

Now.Can anyone explain to me how to start and use firefox with launcher?? I can start it, but it is not focused and mouse is not working (not even a mouse cursor Sad)


launcher not showing up - jeepguy81 - 2009-07-20 17:28

Morning all,
Just found this site over the weekend so please bear with me on any questions. Loaded XBMC 9.04 and eveything went fine, but im having an issue with the app launcher plugin. Followed the really easy instructions but when i go to add source-->browse-->program launcher, it's not there. Made sure the program directory is there as well as the launcher folder containing the script. I'm using the media stream skin if that makes any difference, figured it would be fine since it has the option for programs. I've gotta be missing something really stupid here, any help would be great, thanks!
--working on windows btw.

**Ok, got it, realized that during install i chose to put settings and such in AppData directory, got it working now!!!**


- zosky - 2009-07-21 07:27

o_neill Wrote:Can someone give me a hint what is wrong with my installation (Ubuntu 8.04)?
I unzipped the Launcher to .xbmc\plugins\programs and created the
symlink but everything I get is an error "python script failed." Below are parts of the Debug Log, telling: [Errno 13] Permission denied: '/usr/share/xbmc/UserData

dude i think you should have a look at this bug on the google site
i was having the same issue a while back, but i thought leo fixed it ?

the script is trying to write to "master profile" (/usr/share/xbmc/UserData')
only root can do this... run XBMC as root (not a good idea!!),
or edit launcher so it saves where you can write access -- "special:/profile/" (/home/[user]/.xbmc/userdata/)


- cyberpark - 2009-07-21 21:03

Hi,

did anyone get Firefox to work in Launcher, when you just have a minimal Ubuntu installation (Xserver)?

I get Firefox to launch, but it keep being on top of XBMC, and I can't get to focus on the Firefox window...... (grr)


- speed32219 - 2009-07-22 14:40

Firefox launcher. I had the same problem and I've been looking for a fix, but as a temp one, hit the \ key either before or right after you hit Firefox. IT will minimize the Xbmc window and bring Firefox to the forefront with keybd and mouse control. After exiting the Firefox app just hit the \ key again to max Xbmc app.

I know it has to be something simple, just can't figure it out.


- o_neill - 2009-07-22 18:27

zosky Wrote:dude i think you should have a look at this bug on the google site
i was having the same issue a while back, but i thought leo fixed it ?

the script is trying to write to "master profile" (/usr/share/xbmc/UserData')
only root can do this... run XBMC as root (not a good idea!!),
or edit launcher so it saves where you can write access -- "special:/profile/" (/home/[user]/.xbmc/userdata/)

Thanks man, looks like a good hint. I first played with rights but it didn't help, this sounds good. But can you please explain what you mean. I downloaded Launcher 1.03. Shall I edit launcher_plugin.py? I didn't find any /home/-related paths in it? Confused


Launcher & XBMC Live? - xbmcbubba - 2009-07-22 21:19

Does the default install of XBMC Live have enough resources installed to run any applications other than XBMC?

I'm looking to install Firefox, but is there any point trying with a XBMC Live installation? (is there a windowed environment, or appropriate APIs for Firefox to function?)

If so, can anyone give some Linux-newbie tips on firstly how to install Firefox on XBMC Live, and secondly, some tips on how to set-up Launcher to launch Firefox?


I think that this kind of info would be greatly appreciated by a lot of new users, and would set the stage for "self-reliance" form then on!


As an observation, there are very few comprehensive "guides" on the XBMC Live forums. There seems to be an assumption of skill that is usually far beyond the actual audience, based on questions and comments posted. Answers from "experts" also tend toward the cryptic, with almost no background or explanation.

Conversely, I have found that forums related to XBOX hacking, softmods, etc. have extraordinarily detailed guides, filled with photos, screenshots, and background info. Dunno if it's a geeky Linux mindset, but there is a distinct difference! Wink



Thanks.


- us1111 - 2009-07-24 15:59

Hi.. Just to be clear.. Is it possible to start and use firefox with this launcher?? Question is no rocket science, but no one seems to be able to give an answer to this.. Alternative is to start into fluxbox and choose between XBMC or other apps.


But I rather would start apps fromout XBMC..


- cyberpark - 2009-07-24 16:07

Yes, it's possible and it "works"

The only problem is that Firefox starts on top of XBMC and you can't change focus to the FireFox window.

I guess this applies to other applications you launch in the same X-server session aswell, and there has to be done something in the Launcher code to fix this bug.


- Dr Gonzo - 2009-07-25 03:45

Is it possible for Launcher to load shortcuts rather than exes?

I ask because I've made shortcuts for all my agmes to load instantly through pSX 1.3 without having to go through any menus, just double click and play, and I want to be able to load them from xbmc.


- simphax - 2009-07-25 21:42

How do I properly setup a Firefox Launcher on Windows ??


Python Script Failed in Linux - cfjrocha - 2009-07-26 20:09

Hi, im getting errors on Launcher, i install in Linux Ubuntu 9.04 ...
When the script run open a window with this message:
"Python Script Failed". special://home/plugins/programs/Launcher/default.py