Line 4: |
Line 4: |
| Modified procedure at [https://pimylifeup.com/raspberry-pi-kiosk/ Raspberry Pi Kiosk using Chromium]. | | Modified procedure at [https://pimylifeup.com/raspberry-pi-kiosk/ Raspberry Pi Kiosk using Chromium]. |
| | | |
− | Follow default setup of the RPi, including updates. | + | 1. Follow default setup of the RPi, including updates. |
| | | |
− | Install <code>unclutter</code> to hide the mouse when idle | + | |
| + | |
| + | 2. Install <code>unclutter</code> to hide the mouse when idle |
| | | |
| sudo apt-get install unclutter | | sudo apt-get install unclutter |
Line 12: |
Line 14: |
| You might need to install <code>sed</code> as well, but that was pre-installed on my RPi. | | You might need to install <code>sed</code> as well, but that was pre-installed on my RPi. |
| | | |
− | Enable auto-login at | + | |
| + | |
| + | 3. Enable auto-login at |
| | | |
| sudo raspi-config | | sudo raspi-config |
| | | |
− | Create a bash script at <code>/home/pi/kiosk.sh</code>. (Note that "chromium-browser" may have changed name to just "chromium") | + | Arrow down to "3 Boot Options" then "B1 Desktop / CLI" then "B4 Desktop Autologin". (I set "B2 Wait for Network at Boot" as well). |
| + | |
| + | |
| + | |
| + | 4. Create a bash script at <code>/home/pi/kiosk.sh</code>. (Note that "chromium-browser" may have changed name to just "chromium") |
| | | |
| #!/bin/bash | | #!/bin/bash |
Line 50: |
Line 58: |
| WantedBy=graphical.target | | WantedBy=graphical.target |
| | | |
− | Enable and start the service, and reboot the Pi: | + | To copy the service file: |
| + | |
| + | sudo cp kiosk.service /lib/systemd/system/kiosk.service |
| + | |
| + | |
| + | Enable and start the service: |
| | | |
| sudo systemctl enable kiosk.service | | sudo systemctl enable kiosk.service |
| sudo systemctl start kiosk.service | | sudo systemctl start kiosk.service |
| + | |
| + | |
| + | |
| + | 5. Reboot the Pi. Note: use <code>sudo reboot</code> to restart the pi from the command line. |
| + | |
| + | |
| | | |
| To exit kiosk mode, use alt-space bar or alt-F4. | | To exit kiosk mode, use alt-space bar or alt-F4. |
| + | |
| + | |
| | | |
| ===Chromium update pop-up fix=== | | ===Chromium update pop-up fix=== |
Line 63: |
Line 84: |
| sudo touch /etc/chromium-browser/customizations/01-disable-update-check;echo CHROMIUM_FLAGS=\"\$\{CHROMIUM_FLAGS\} --check-for-update-interval=31536000\" | sudo tee /etc/chromium-browser/customizations/01-disable-update-check | | sudo touch /etc/chromium-browser/customizations/01-disable-update-check;echo CHROMIUM_FLAGS=\"\$\{CHROMIUM_FLAGS\} --check-for-update-interval=31536000\" | sudo tee /etc/chromium-browser/customizations/01-disable-update-check |
| | | |
− | Note: use <code>sudo reboot</code> to restart the pi from the command line.
| + | |
| | | |
| ==Network Connectivity== | | ==Network Connectivity== |