Changes

Jump to navigation Jump to search
2,010 bytes added ,  09:14, 4 June 2019
created page

==Raspberry Pi Setup==

Modified procedure at [https://pimylifeup.com/raspberry-pi-kiosk/ Raspberry Pi Kiosk using Chromium].

Follow default setup of the RPi, including updates.

Make sure <code>sed</code> is installed, and install <code>unclutter</code>

sudo apt-get install unclutter sed

Enable auto-login at

sudo raspi-config

Create a bash script at <code>/home/pi/kiosk.sh</code>

#!/bin/bash
xset s noblank
xset s off
xset -dpms

unclutter -idle 0.5 -root &

sed -i 's/"exited_cleanly":false/"exited_cleanly":true/' /home/pi/.config/chromium/Default/Preferences
sed -i 's/"exit_type":"Crashed"/"exit_type":"Normal"/' /home/pi/.config/chromium/Default/Preferences

/usr/bin/chromium-browser --noerrdialogs --disable-infobars --kiosk https://www.bio.fsu.edu/grad/kiosk/unit1.html

Create a systemdaemon service file <code>kiosk.service</code>, and copy it to <code>/lib/systemd/system/kiosk.service</code> (don't forget to use <code>sudo</code> to do the copying).


[Unit]
Description=Chromium Kiosk
Wants=graphical.target
After=graphical.target

[Service]
Environment=DISPLAY=:0
Environment=XAUTHORITY=/home/pi/.Xauthority
Type=simple
ExecStart=/bin/bash /home/pi/kiosk.sh
Restart=on-abort
User=pi
Group=pi

[Install]
WantedBy=graphical.target

==Network Connectivity==

Get the RPi ethernet MAC address with <code>ifconfig eth0</code>. If the RPi is on a DHCP setup, then you should see the assigned ip with <code>ifconfig -a</code>.

===Remote Screensharing===

For remote screensharing, follow procedure at [https://pimylifeup.com/raspberry-pi-screen-sharing/ Raspberry Pi Screen Sharing with TightVnc] or [http://4dc5.com/2012/06/12/setting-up-vnc-on-raspberry-pi-for-mac-access/ Setting up VNC on Raspberry Pi for Mac access] and [https://learn.adafruit.com/adafruit-raspberry-pi-lesson-7-remote-control-with-vnc/mac-screen-and-file-sharing Mac Screen and File Sharing].


==Google Sheets==


==Kiosk Webpage==

Navigation menu