All posts by Michael Wyld

Raspberry PI Kiosk install

This is based on

https://www.danpurdy.co.uk/web-development/raspberry-pi-kiosk-screen-tutorial/
https://www.raspberrypi.org/forums/viewtopic.php?p=890408#p890408

Installed Raspbian using this guide

https://www.raspberrypi.org/learning/software-guide/quickstart/

With the NOOBS Lite download

Used NOOBS to install the Raspbian Lite OS

Logged into Raspbian using the default login details
username: pi
password: raspberry

run the following commands to update
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get dist-upgrade -y

run
ifConfig
to get ip address

run
sudo raspi-config
Use option 2 to change password

Then use option 7 Advance Options to enable SSH

Download PuTTY from
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Connect to Rasberry Pi IP address

Set Static IP address
need to check how to do this on the current version of Raspian (jessie)
https://www.modmypi.com/blog/how-to-give-your-raspberry-pi-a-static-ip-address-update

Install Xorg
sudo apt-get install –no-install-recommends xserver-xorg

Install LDXE GUI
sudo apt-get install lxde-core lxappearance

run
sudo apt-get install lightdm

Install chromium browser, x11 server utilities and unclutter(removes the cursor from the screen)

sudo apt-get install chromium-browser x11-xserver-utils unclutter
This took a long time probably since using Rasbian Lite and also Raspberry Pi 1

Edit autostart
run
sudo nano /etc/xdg/lxsession/LXDE/autostart
disable screensaver by putting # in front off
@xscreensaver -no-splash

Disable screen blanking add
@xset s off
@xset -dpms
@xset s noblank

Disable error messages
@sed -i ‘s/”exited_cleanly”: false/”exited_cleanly”: true/’ ~/.config/chromium/Default/Preferences

Auto start chromium browser add
@chromium-browser –noerrdialogs –kiosk http://www.wyldbytes.co.uk –incognito
@chromium-browser –noerrdialogs –disable-infobars –kiosk http://www.wyldbytes.co.uk –incognito

sudo apt-get install cec-utils
echo “on 0” | cec-client -s > /dev/null
sleep 5
echo “as” | cec-client -s > /dev/null

#Screen off
echo “standby 0” | cec-client -s

To set desktop to start at boot
sudo raspi-config
Select Boot Options
Select Desktop/cli
Select Desktop Autologin

HDMI

run
sudo nano ~/.config/autostart/autoChromium.desktop
add
[Desktop Entry]
Type=Application
Exec=/usr/bin/chromium-browser –noerrdialogs –disable-session-crashed-bubble –disable-infobars –kiosk http://www.wyldbytes.co.uk
Hidden=false
X-GNOME-Autostart-enabled=true
Name[en_US]=AutoChromium
Name=AutoChromium
Comment=Start Chromium when GNOME starts