Permalink
Browse files

[Fixed] xbmc xsession needs to try and start pulseaudio if this is in…

…stalled on the computer, thxkitlaan and Stager

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@25389 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
  • Loading branch information...
topfs2
topfs2 committed Dec 7, 2009
1 parent d270162 commit a30ed03c3806963a73b3b2c77049c9c877a94a69
Showing with 8 additions and 4 deletions.
  1. +5 −2 tools/Linux/xbmc-standalone.sh
  2. +3 −2 tools/Linux/xbmc-xsession.desktop
@@ -1,3 +1,6 @@
#!/bin/sh
-xbmc --standalone "$@"
-
+if which pulse-session; then
+ pulse-session xbmc --standalone "$@"
+else
+ xbmc --standalone "$@"
+fi
@@ -1,5 +1,6 @@
[Desktop Entry]
-Type=XSession
+Name=XBMC
+Comment=This session will start XBMC Media Center
Exec=xbmc-standalone
TryExec=xbmc-standalone
-Name=XBMC
+Type=Application

0 comments on commit a30ed03

Please sign in to comment.