Changes

Jump to navigation Jump to search
317 bytes added ,  09:52, 19 June 2019
small revisions to chromium name, exiting kiosk
Line 6: Line 6:  
Follow default setup of the RPi, including updates.
 
Follow default setup of the RPi, including updates.
   −
Make sure <code>sed</code> is installed, and install <code>unclutter</code>
+
Install <code>unclutter</code> to hide the mouse when idle
   −
   sudo apt-get install unclutter sed
+
   sudo apt-get install unclutter
 +
 
 +
You might need to install <code>sed</code> as well, but that was pre-installed on my RPi.
    
Enable auto-login at
 
Enable auto-login at
Line 14: Line 16:  
   sudo raspi-config
 
   sudo raspi-config
   −
Create a bash script at <code>/home/pi/kiosk.sh</code>
+
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 28: Line 30:  
   /usr/bin/chromium-browser --noerrdialogs --disable-infobars --kiosk https://www.bio.fsu.edu/grad/kiosk/unit1.html
 
   /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).
+
Create a system daemon 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).
      Line 47: Line 49:  
     [Install]
 
     [Install]
 
     WantedBy=graphical.target
 
     WantedBy=graphical.target
 +
 +
Enable and start the service, and reboot the Pi:
 +
 +
sudo systemctl enable kiosk.service
 +
sudo systemctl start kiosk.service
 +
 +
To exit kiosk mode, use alt-space bar or alt-F4.
    
==Network Connectivity==
 
==Network Connectivity==

Navigation menu