#[prepare a kiosk for raspberry pi with

1 messages · Page 1 of 1 (latest)

rough coyote
#

Ensure the kiosk script is ready:

#

nano /home/pi/kiosk.sh

#

Add the following:

#
xset -dpms     # disable DPMS (Energy Star) features.
xset s off     # disable screen saver
xset s noblank # don't blank the video device
matchbox-window-manager -use_titlebar no &
unclutter &    # hide X mouse cursor unless mouse activated
chromium-browser --no-sandbox --display=:0 --kiosk --incognito --window-position=0,0 <URL>```
#

Replace <URL> with your desired URL.

#

Make the script executable:

#

chmod +x /home/pi/kiosk.sh

#

Configure the pi user's .bash_profile to run the kiosk script upon login.

#

nano /home/pi/.bash_profile

#

Add the following:

#
    startx /etc/X11/Xsession /home/pi/kiosk.sh
fi```
#

Reboot your Raspberry Pi to test the setup.