2010-03-31, 21:40
Trying to get Stepmania launching correctly from XBMC via Launcher, and getting audio device busy errors in Stepmania. Stepmania is installed and runs fine if I exit XBMC and launch it with "xinit stepmania".
How can I set up a bash script to kill XBMC, launch stepmania, and restart xbmc afterward.
Tried:
Works if I've already exited xbmc, but not from Launcher. I believe because after killall, x is still running...?
I feel like I'm probably going about this the wrong way
Any suggestions? All help appreciated.
How can I set up a bash script to kill XBMC, launch stepmania, and restart xbmc afterward.
Tried:
Code:
#!/bin/bash
killall xbmc.bin
xinit stepmania
xinit /usr/bin/xbmc --standalone
Works if I've already exited xbmc, but not from Launcher. I believe because after killall, x is still running...?
I feel like I'm probably going about this the wrong way
Any suggestions? All help appreciated.