Kiosk Browser

From KlavoWiki
Jump to navigationJump to search

If you have a requirement to display a web page on a TV, monitor or some other type of display that you would like to present to people, weather it be in a shop front, trade show or some other environment then you can simply do this with a Raspberry Pi and a Wi-Fi adapter or the inbuilt LAN.

I'm not going to cover how to build you Raspberry Pi or configure it on the network. There are many resources for that including this wiki.

Installation

Chromoim Browser

apt-get install chromium chromium-browser

Remove Cursor

Remove cursor from idle input

apt-get install unclutter

Display No Sleep

Don’t put the screen to sleep

vi /etc/lightdm/lightdm.conf

In the section [SeatDefaults] find the remarked line xserver-command and use:

xserver-command=X -s 0 dpms

Start Browser at Boot

Auto start application on autoboot. Comment out existing entries and insert.

vi /etc/xdg/lxsession/LXDE/autostart
@xset s off
@xset -dpms
@xset s noblank
@chromium-browser --kiosk http://www.klaverstyn.com.au/david

Error Messages

Other Chromium Switches

Some of the following switches may be useful for you.

                          -kiosk
      --no-default-browser-check
                  --noerrdialogs
                --no-message-box
 --disable-desktop-notifications
--allow-running-insecure-content

Clean Shutdown

You may receive messages that Chromium was not shutdown correctly. The noerrdialogs may fix that error. I have also seen people do the following by changing the Chrome folder as read only so the shut down clean message can not be written.

chmod 400 ~/.config/chromium/Default/Preferences

Cateogry : Raspberry Pi