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