Created
April 15, 2019 16:17
-
-
Save dcasati/7f7b56742c3730d5480c41be776956e9 to your computer and use it in GitHub Desktop.
Dakboard Install on Raspberry Pi
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://www.raspberrypi.org/magpi/dakboard-wall-display/ | |
# before proceeding, open the Raspberry Pi SD Card (mount that on Linux/Mac) and add the following: | |
# | |
# 1. enable ssh | |
# a) create an empty file called `ssh`. | |
# 2. enable wifi | |
# a) create a filled called `wpa_supplicant.conf` with a content similar to this. | |
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev | |
update_config=1 | |
country=CA | |
network={ | |
ssid="MySSID" | |
psk="MyPassWord" | |
key_mgmt=WPA-PSK | |
} | |
sudo apt-get install unclutter | |
sudo nano /boot/config.txt | |
# Display orientation. Landscape = 0, Portrait = 1 | |
display_rotate=1 | |
# Use 24 bit colors | |
framebuffer_depth=24 | |
sudo nano ~/.config/lxsession/LXDE-pi/autostart | |
@xset s off | |
@xset -dpms | |
@xset s noblank | |
@chromium-browser --noerrdialogs --incognito --kiosk http://dakboard.com/app/?p=YOUR_PRIVATE_URL | |
# enable a read-only overlay | |
# from: https://www.domoticz.com/wiki/Setting_up_overlayFS_on_Raspberry_Pi | |
# | |
cd /tmp | |
wget https://github.com/hansrune/domoticz-contrib/raw/master/utils/mount_overlay | |
wget https://github.com/hansrune/domoticz-contrib/raw/master/init.d/saveoverlays-stretch | |
wget https://github.com/hansrune/domoticz-contrib/raw/master/utils/rootro | |
wget https://github.com/hansrune/domoticz-contrib/raw/master/init.d/syncoverlayfs.service | |
mv saveoverlays-stretch saveoverlays | |
chmod a+rx saveoverlays mount_overlay rootro | |
sudo cp mount_overlay /usr/local/bin/ | |
sudo cp saveoverlays /etc/init.d/ | |
sudo cp rootro /usr/local/bin/ | |
sudo ln -s rootro /usr/local/bin/rootrw | |
sudo cp syncoverlayfs.service /lib/systemd/system/ | |
# For raspian Jessie, stretch and later, also do | |
sudo systemctl disable dphys-swapfile |
Alos my auto start is sudo nano etc/file not the ~/.config i am confused and cant get it into kiosk mode
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For the sudo nano auto start config... i am copying correctly but get a black screen when attemping to boot device on. Any assistance?