#!/bin/bash export DISPLAY=:0 # turn off screensave/screen blanking # xset s noblank xset s off xset -dpms # hide mouse after 0.5 seconds of idle time # unclutter -idle 0.05 -root & # hide mouse completely # #unclutter -root & # clear out warning bar on chromium # tmpfn=`mktemp` jq '.profile.exited_cleanly = true' $HOME/.config/chromium/Preferences | jq '.profile.exit_type = "Normal"' > $tmpfn mv $tmpfn $HOME/.config/chromium/Preferences # start chromium in kiosk mode # #/usr/bin/chromium-browser --noerrdialogs --disable-infobars --kiosk ./html/index.html # /usr/bin/chromium-browser --noerrdialogs --disable-infobars --kiosk 'http://localhost:60535' # refresh # #xdotool keydown ctrl+r; xdotool keyup ctrl+r;