Skip to content

Instantly share code, notes, and snippets.

@Clivern
Last active April 22, 2022 21:03
Show Gist options
  • Save Clivern/6fedb6eb52ee7da07c311bb21debefc1 to your computer and use it in GitHub Desktop.
Save Clivern/6fedb6eb52ee7da07c311bb21debefc1 to your computer and use it in GitHub Desktop.

Edit /etc/rc.local

python /root/program.py &
DISPLAY=:1 chromium-browser --kiosk http://127.0.0.0.1:8000
python /root/program.py &
DISPLAY=:1 chromium-browser --kiosk https://clivern.com
python /root/program.py &
DISPLAY=:1 chrome --kiosk https://clivern.com
@Clivern
Copy link
Author

Clivern commented Apr 22, 2022

To enable full screen

document.documentElement.requestFullscreen();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment