• 1
  • 352
  • 353
  • 354(current)
  • 355
  • 356
  • 453
[CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC
Sorry I thought earlier that you have meant the launcher when you wrote standalone. I'm using an Ubuntu 12.10 minimal installation.
That makes sense now why the script won't work. What do I have to do to make it work without slowing the system with a desktop and other things I don't necessarily need?
Also can this be the cause of the no sound problem too ?
(2013-08-18, 15:15)Haohmaru Wrote: Sorry I thought earlier that you have meant the launcher when you wrote standalone. I'm using an Ubuntu 12.10 minimal installation.
That makes sense now why the script won't work. What do I have to do to make it work without slowing the system with a desktop and other things I don't necessarily need?
Also can this be the cause of the no sound problem too ?
But it is precisely because your are using XBMC into standalone mode and not using a desktop/windows manager that you have all these problems.

First, you need to change the way XBMC is started on your systeme. XBMC must be started somewhere on your system (into .xinitrc or .xsession file) like this :

Code:
...
xbmc --standalone
...

Just replace this line by

Code:
...
xbmc
...

Then you will have to fix the way that your are not using a desktop/windows manager. Here are some ways to do it : http://forum.xbmc.org/showthread.php?tid...pid1429403
killall - 9 = is wrong too must be ="killall -9" no space between - and a 9
Hi there. I've successfully set it up to launch Internet Explorer and also Google's Chrome.

Once in any of the browsers, I have to switch to my keyboard or a tablet/ phone app, but can I map a button to the Harmony One remote I'm using to exit the browser and to return to XBMC?
(2013-08-25, 17:00)Gingerbread Man Wrote: Hi there. I've successfully set it up to launch Internet Explorer and also Google's Chrome.

Once in any of the browsers, I have to switch to my keyboard or a tablet/ phone app, but can I map a button to the Harmony One remote I'm using to exit the browser and to return to XBMC?
Yes I think you can. Under my linux HTPC system I have write a small .sh script that close every potential application that could be started from Advanced Launcher. Then I have mapped one of my MCE button to a condination key and that combination key call the .sh script. It must be possible to do the same under windows using a .bat script that would be called from one of the button of your Harmony One remote.
Hi, thanks for replying. So it's possible, just needs some simple know how? Where is a good place to find this knowledge?
(2013-08-25, 17:52)Gingerbread Man Wrote: Hi, thanks for replying. So it's possible, just needs some simple know how? Where is a good place to find this knowledge?
Maybe here : http://forums.logitech.com/t5/Harmony-Re...814#M48165
(2013-08-25, 17:52)Gingerbread Man Wrote: Hi, thanks for replying. So it's possible, just needs some simple know how? Where is a good place to find this knowledge?

Similar to what Angelscry does, I use event ghost (windows) to launch a batch file on a remote key press that kills all emulators that I can launch. You could do something similar but kill your browsers instead.
Angels, u can help me? i need create a autoit exe to 2 itens:

an shortcut, Saint Seiya Online.lnk (because i'm using WTFast + Runasdate to launch the game) and Xpadder

u can help me?
(2013-08-26, 19:05)sagaopc Wrote: Angels, u can help me? i need create a autoit exe to 2 itens:

an shortcut, Saint Seiya Online.lnk (because i'm using WTFast + Runasdate to launch the game) and Xpadder

u can help me?
Just create a .bat script that will launch Xpadder then add a line using the same command contained into your Saint Seiya Online.lnk.
(2013-08-17, 16:00)Haohmaru Wrote: I am also using XBMC 13 on Linux and I have an other Problem.
The launcher starts gens only properly if I first manually change to Window mode. Another Problem is that I have no sound. I guess the solution would be a script to kill xbmc just before the emulator starts.

I have made a gens.sh script containing the following:

#!/bin/bash
killall - 9 xbmc.bin
/usr/games/gens - - fs - - quickexit $1
xbmc

then made it executable and lastly modified the launcher to start the script instead of the emulator directly.

The problem is that this way the emulator will not start only thing that happens is xbmc rebooting after a few seconds.

Can you please help me?
Don't know if you have written wrong here or not, but the line to start Gens has way too many spaces to work properly.

And as Angelcry tells you, you can not kill XBMC while it is in standalone.
You can however, stop it and then start another program. And when you stop the program you continue XBMC again.
This is what I do and it is working great (mostly).
Here is my script:
Code:
#!/bin/bash
/usr/bin/killall -STOP xbmc.bin
/usr/games/gens --fs --quickexit "$1"
/usr/bin/killall -CONT xbmc.bin

Just remember to set the launcher to window XBMC on emulator start or the emulator will never get focus.
It took me a while to find this out...
You might also want to turn off menu sounds in XBMC as they sometimes make XBMC still hog the sound even though it is paused.
I set Chrome in Advances Launcher on XBMC 12.2 on windows 7.

When Chrome is not running and I open it with advanced launcher, it opens chrome and gets the focus. When Chrome is already running and, I open it again from advanced launcher, it opens a new window that doesn't get focus. Is it possible to switch to the opened chrome window, instead of opening a new window?
(2013-08-30, 15:06)jazzperm Wrote: I set Chrome in Advances Launcher on XBMC 12.2 on windows 7.

When Chrome is not running and I open it with advanced launcher, it opens chrome and gets the focus. When Chrome is already running and, I open it again from advanced launcher, it opens a new window that doesn't get focus. Is it possible to switch to the opened chrome window, instead of opening a new window?
As far as I know, it is not possible. That's a chrome problem (bug?).

It is possible to focus a windows using scripts... but in the case of chrome, when 2 chrome windows are open, it is not possible to get the focus on one specifically.

You can trick this by writing a dedicated chrome's script that will close any chrome process before launch chrome on a specific page. Something like this , using windows pskill application :

chrome-launcher.bat
Code:
pskill -t chrome.exe
C:\Users\USER\AppData\Local\Google\Chrome\Application\chrome.exe --kiosk "$1"
I have the famous no sound in advanced launcher lanched applications Smile I've read quite a lot and tried many different solutions though.

One of them was the solution by Angelscry in post #4705 in this thread:
Adding ~/.asoundrc:
pcm.!default {
type hw
card 0
device 3
}

ctl.!default {
type hw
card 0
device 3
}


Card 0, dev 3 should be right because speaker-test -D hdmi:CARD=NVidia,DEV=3 -c 6 works fine. And I only have one card (0). Please note that speaker-test -D hw:0,3 -c 6 doesn't produce any sound.
aplay -D hw:0,3 wavfile.wav doesn't work either. It's finding the device. But no sound.
Also when I start Spotify the playing bar moves, but no sound is heard. If I change device in .asoundrc (to something other than 3) playback doesn't start at all and the playing bar does not move. So I'm quite certain I have the correct card/device. Sound doesn't work in Firefox or Chromium either. No spdif devices are muted in alsamixer.

I've also tried to toggle the setting in advanced launcher to stop or let play the xbmc sound. I'm also of course using the correct system/sound settings i xbmc (I've tried both hdmi and analogue here), and also with or without navigation sounds. All sound works fine in xbmc otherwise.

I'm using XBMCbuntu 12.2.
Any advice on how to continue?
(2013-09-02, 19:44)fruitgull Wrote: I have the famous no sound in advanced launcher lanched applications Smile I've read quite a lot and tried many different solutions though.

One of them was the solution by Angelscry in post #4705 in this thread:
Adding ~/.asoundrc:
pcm.!default {
type hw
card 0
device 3
}

ctl.!default {
type hw
card 0
device 3
}


Card 0, dev 3 should be right because speaker-test -D hdmi:CARD=NVidia,DEV=3 -c 6 works fine. And I only have one card (0). Please note that speaker-test -D hw:0,3 -c 6 doesn't produce any sound.
aplay -D hw:0,3 wavfile.wav doesn't work either. It's finding the device. But no sound.
Also when I start Spotify the playing bar moves, but no sound is heard. If I change device in .asoundrc (to something other than 3) playback doesn't start at all and the playing bar does not move. So I'm quite certain I have the correct card/device. Sound doesn't work in Firefox or Chromium either. No spdif devices are muted in alsamixer.

I've also tried to toggle the setting in advanced launcher to stop or let play the xbmc sound. I'm also of course using the correct system/sound settings i xbmc (I've tried both hdmi and analogue here), and also with or without navigation sounds. All sound works fine in xbmc otherwise.

I'm using XBMCbuntu 12.2.
Any advice on how to continue?
Are you using pulseaudio on your XBMCbuntu system?
Are you starting your application under a windows/desktop manager environnement (like openbox)?
If using card(0) do not work but using "NVidia" work, maybe you could try to setup your .asoundrc file like this : https://gist.github.com/jasongill/2385863
What is the result of the command aplay -l ?
  • 1
  • 352
  • 353
  • 354(current)
  • 355
  • 356
  • 453

Logout Mark Read Team Forum Stats Members Help
[CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC24