Last active
November 18, 2019 16:24
-
-
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`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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/ |
To check the temperature of your pi, run
sudo /opt/vc/bin/vcgencmd measure_temp
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
Also, if you want to clone an SD, start by plugging the source SD and then running
this will take the first inserted disk and copy to your machine.
Then plug the destination SD in and first run
diskutil unmountDisk /dev/disk2
to unmount it, then runthis will copy the image on your desktop on the plugged in SD.