Keep xscreensaver from coming on when xbmc is active. This bash script is infinitely more light weight than some alternatives such as caffeine.
Below are the Arch Linux packages and the name of the dependency program in parentheses for users of other distros.
- sysvinit-tools (/bin/pidof)
- coreutils (/usr/bin/sleep)
Run the script at startup or at login. For example, simply link the included xbmc-prevent-xscreensaver.deskop to your user's ~/.config/autostart or do so via whatever GUI-based start-up manager you use.
ln -s /usr/share/applications/xbmc-prevent-xscreensaver.desktop ~/.config/autostart