Skip to content

Commit

Permalink
per-user alsa volumes (to fully support audio mixer script)
Browse files Browse the repository at this point in the history
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@34837 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
  • Loading branch information
lcapriotti committed Oct 18, 2010
1 parent dbf3178 commit e12b8dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/XBMCLive/runXBMC
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ do
fi

echo "#!/bin/bash" > /home/$xbmcUser/.xsession
echo "ulimit -c 0" >> /home/$xbmcUser/.xsession
echo "alsactl restore -f ~/.asoundrc" >> /home/$xbmcUser/.xsession
echo "/usr/bin/xbmc --standalone" >> /home/$xbmcUser/.xsession

echo "case \"\$?\" in" >> /home/$xbmcUser/.xsession
Expand All @@ -63,6 +63,7 @@ do
echo " sleep 10 ;;" >> /home/$xbmcUser/.xsession
echo " * ) ;;" >> /home/$xbmcUser/.xsession
echo "esac" >> /home/$xbmcUser/.xsession
echo "alsactl store -f ~/.asoundrc" >> /home/$xbmcUser/.xsession

chown $xbmcUser:$xbmcUser /home/$xbmcUser/.xsession

Expand Down

0 comments on commit e12b8dd

Please sign in to comment.