Setup RPi Zero W as a kiosk
- write
Raspbian Lite
image to a SD card - enable ssh
touch /boot/ssh
- setup WiFi
/boot/wpa_supplicant.conf
country=US
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="MySSID"
psk="SSIDPASSWORD"
}
- inert the SD card to RPi zero w and boot-up 5.Autologin in Console
sudo raspi-config
- Select “Desktop / CLI” and then “Console Autologin”.
- Install openbox and x-server
sudo apt-get install -y --no-install-recommends xserver-xorg x11-xserver-utils xinit openbox
- install chromium browser
sudo apt-get install -y --no-install-recommends chromium-browser
- Start chromium automatically when X started
/etc/xdg/openbox/autostart
# Disable any form of screen saver / screen blanking / power management
xset s off
xset s noblank
xset -dpms
# Allow quitting the X server with CTRL-ATL-Backspace
setxkbmap -option terminate:ctrl_alt_bksp
# Start Chromium in kiosk mode
chromium-browser --noerrdialogs --disable-infobars --kiosk 'http://www.google.com'
- start x automatically
~/.bash_profile
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && startx -- -nocursor
Question, I am trying to set up a kiosk and it comes right up but one of the options is to watch a video, once this video is done I cannot get out of it back to the main menu because it opens either in a seperate tab or seperate window. How can it get it to either let me X out of the second window, x out of the tab, or arrow back to main menu. Have you any clue. I am using Linux mint with chromium or firefox kiosk mode.