Last active
May 1, 2019 20:21
-
-
Save verticalgrain/0c8002d91ed426f63226697199717b87 to your computer and use it in GitHub Desktop.
Raspberry Pi Signage
This file contains 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
// From: https://blog.gordonturner.com/2017/12/10/raspberry-pi-full-screen-browser-raspbian-december-2017/ | |
// Short URL to this document: | |
goo.gl/yx5pcX | |
// Install Raspbarian | |
// Log in | |
// Install on screen keyboard | |
// Open Terminal and run: | |
sudo apt-get install matchbox-keyboard | |
sudo apt-get update | |
sudo reboot | |
// Setup | |
From the Pixel Desktop, top left corner, click on the Raspberry Pi Menu icon | |
Select Preferences, Raspberry Pi Configuration | |
On the system tab, click "change password" and set a password | |
In Raspberry Pi Configuration, on the Interfaces tab | |
Next to SSH, select enable, click OK | |
In Raspberry Pi Configuration, on the Localisation tab, click Set Locale... | |
Select the Language (eg en), Country (eg CA) and leave Character Set at UTF-8, click OK | |
In Raspberry Pi Configuration, on the Localisation tab, click Set Timezone... | |
Select the Area (eg Canada), Location (eg Eastern), click OK | |
In Raspberry Pi Configuration, on the Localisation tab, click Set Keyboard... | |
Select the Country (eg United States), Variant (eg English (US), you will have to scroll up, click OK | |
You should be promoted to reboot. | |
sudo apt-get update -y | |
sudo apt-get upgrade -y | |
sudo apt-get dist-upgrade -y | |
sudo apt-get autoremove -y | |
sudo apt-get install -y ttf-mscorefonts-installer unclutter x11-xserver-utils | |
//Edit autostart script: | |
sudo vi .config/lxsession/LXDE-pi/autostart | |
@lxpanel --profile LXDE-pi | |
@pcmanfm --desktop --profile LXDE-pi | |
# CHANGED | |
#@xscreensaver -no-splash | |
@point-rpi | |
# BEGIN ADDED | |
# Enable mixed http/https content, remember if invalid certs were allowed (ie self signed certs) | |
@/usr/bin/chromium-browser --incognito --start-maximized --kiosk --allow-running-insecure-content --remember-cert-error-decisions https://www.dossiercreative.com | |
@unclutter | |
@xset s off | |
@xset s noblank | |
@xset -dpms | |
# END ADDED | |
//Sometimes it is necessary to exit the browser, which can be difficult in kiosk mode. To shutdown the Chromium browser when it is full screen type at the same time: | |
shift control q |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment