2010-01-08, 15:41
To start XBMC on Karmic automatically remove xbmc-live and execute this script:
Download:
http://www.mediafire.com/file/nmtnwmbmjt..._Karmic.sh
Download:
http://www.mediafire.com/file/nmtnwmbmjt..._Karmic.sh
Code:
#!/bin/bash
## Created by BurningSky - 07.01.2010
echo 'description "Login XBMC"' >> /etc/init/xbmc.conf
echo 'author "Miek Gieben <[email protected]>"' >> /etc/init/xbmc.conf
echo >> /etc/init/xbmc.conf
echo 'start on (filesystem and started hal)' >> /etc/init/xbmc.conf
echo 'stop on runlevel [016]' >> /etc/init/xbmc.conf
echo >> /etc/init/xbmc.conf
echo 'task' >> /etc/init/xbmc.conf
echo 'console output' >> /etc/init/xbmc.conf
echo 'emits starting-x' >> /etc/init/xbmc.conf
echo >> /etc/init/xbmc.conf
echo 'script' >> /etc/init/xbmc.conf
echo 'su - xbmc -c startx' >> /etc/init/xbmc.conf
echo 'end script' >> /etc/init/xbmc.conf
echo 'case "`tty`" in' >> ~/.bash_profile
echo '/dev/tty1) clear && startx &>/dev/null;;' >> ~/.bash_profile
echo 'esac' >> ~/.bash_profile
echo 'exec xbmc --standalone' >> ~/.xsessionrc