Skip to content

Instantly share code, notes, and snippets.

@marcofugaro
Last active November 18, 2019 16:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcofugaro/f8b981f497a457f2c50c0db52260090d to your computer and use it in GitHub Desktop.
Save marcofugaro/f8b981f497a457f2c50c0db52260090d to your computer and use it in GitHub Desktop.
Raspberry PI 4 fullscreen mode script, put this in `~/.config/lxsession/LXDE-pi/autostart`
# Disable screensaver and blank screens
@xset s off
@xset -dpms
@xset s noblank
@xscreensaver -no-splash
# Hide mouse, must have installed unclutter with `sudo apt-get install unclutter`
@unclutter
# Load chromium and open the website in full screen mode
@chromium-browser --start-fullscreen --incognito https://example.com/
@marcofugaro
Copy link
Author

marcofugaro commented Nov 18, 2019

to open a link run

DISPLAY=:0  chromium-browser https://example.com/ --incognito --start-fullscreen

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