Select Git revision
abi_surfrad.py
startup.sh 685 B
#!/usr/bin/env bash
# Source: https://gitlab.ssec.wisc.edu/metobs/MetObsSite
#xset -dpms s off
firefox -url https://metobs.ssec.wisc.edu/aoss/tower/lobby &
firefox_pid=$!
sleep 45
# These should be used on CentOS 7+ but the version of xdotool that comes
# with CentOS 6 is too old and buggy it seems.
# Resorted to "Auto Fullscreen" Firefox extension:
# https://addons.mozilla.org/en-US/firefox/addon/autofullscreen/
xdotool search --onlyvisible --desktop 0 --class "Firefox" windowactivate key F11
# force refresh until webpage text auto-updates when window size changes
xdotool search --onlyvisible --desktop 0 --class "Firefox" windowactivate key F5
# wait on firefox
wait $!