Skip to content
Snippets Groups Projects

Chromium Kiosk Pi

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by kjk
    Edited
    chromium_start.sh 664 B
    #!/bin/bash
    
    # Install the chromium package (not chromium-browser) from the repo as the default chromium-browser is to old for Openslides.
    # You may also have to install xdotool
    
    export DISPLAY=:0
    
    URL='https://openslides.fsrvi.de/projector/10'
    
    while true; do
            vcgencmd display_power 1 && xset -dpms && xset s off
            rm -r ~/.cache/chromium
            nice chromium \
                     --incognito --kiosk --start-maximized\
                     --disable-restore-background-contents\
                     --disable-translate\
                     --disable-infobars $URL & 
            CPID=$!
            sleep 25
            xdotool mousemove 9999 9999
            wait $CPID
    done
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment