1 2 3 4 5 6 7
#!/bin/bash #Stop XScreensaver stop_xss.sh #Launch XBMC /usr/bin/xbmc --lircdev /var/run/lirc/lircd #Once XBMC exits, start XSceensager again killall stop_xss.sh