Changes

Jump to navigation Jump to search
Line 26: Line 26:  
4. Create a bash script at <code>/home/pi/kiosk.sh</code>. (Note that "chromium-browser" may have changed name to just "chromium")
 
4. Create a bash script at <code>/home/pi/kiosk.sh</code>. (Note that "chromium-browser" may have changed name to just "chromium")
    +
<syntaxhighlight lang=shell>
 
   #!/bin/bash
 
   #!/bin/bash
 
   xset s noblank
 
   xset s noblank
Line 37: Line 38:  
    
 
    
 
   /usr/bin/chromium-browser --noerrdialogs --disable-infobars --kiosk https://www.bio.fsu.edu/grad/kiosk/kiosk.html?kiosk=Unit%20I
 
   /usr/bin/chromium-browser --noerrdialogs --disable-infobars --kiosk https://www.bio.fsu.edu/grad/kiosk/kiosk.html?kiosk=Unit%20I
 +
</syntaxhighlight>
    
This script:
 
This script:
Line 52: Line 54:  
5. 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).
 
5. 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).
   −
 
+
<syntaxhighlight lang=ini>
 
     [Unit]
 
     [Unit]
 
     Description=Chromium Kiosk
 
     Description=Chromium Kiosk
Line 69: Line 71:  
     [Install]
 
     [Install]
 
     WantedBy=graphical.target
 
     WantedBy=graphical.target
 +
</syntaxhighlight>
    
To copy the service file:
 
To copy the service file:
Line 95: Line 98:     
  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
  −
      
==Network Connectivity==
 
==Network Connectivity==

Navigation menu