Skip to content
Snippets Groups Projects
Select Git revision
  • 977ee95cd1949e90b676d4c10d19db4dea838a05
  • master default protected
  • use_flight_altitude
  • distribute
4 results

abi_surfrad.py

Blame
  • 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 $!