#!/bin/sh #Script to facilitate Web On LinHES #Runs irxevent irxevent /etc/wol-lircrc & irxPID=$! #Stops xscreensaver from running. stop_xss.sh & xssPID=$! #Launches chrome in full screen; isn't needed as --start-maximized is working again #(sleep 3; wmctrl -r "Google Chrome" -b add,fullscreen) & #Launches file to run any custom cmds (sleep 4; /home/mythtv/.wol-custom-cmds.sh $@) & #Launch chrome google-chrome --no-first-run --kiosk --start-maximized $@ #Once done, stops irxevent and stop_xss.sh kill $irxPID kill $xssPID