Giter Site home page Giter Site logo

raspbian-jesse-kiosk's Introduction

RASPBIAN JESSIE KIOSK

This documemt describes the process of turning Raspberry Pi running the original Raspbian Jessie into a kiosk machine, using Chromium browser, which has been recently enabled without the need of any workarounds since the Chromium browser was included in the latest version of Raspbian (2016-09-23).

Tested on:

Setup

Download the latest raspbian image and install the image on you SD card using the standard procedure.

Initial pi configuration

First, make sure everything is up to date

sudo apt-get update && sudo apt-get install upgrade -y

Set your wireless network preferences using this guide.

Run the Raspberry Pi configuration tool

sudo raspi-config

In the configuration tool make sure to:

  • Expand the file system
  • Disable overscan from Advanced menu. This will help ensure the display fills the entire screen.
  • Make sure the default option to boot is set to GUI autologin.

Restart.

Hiding mouse cursor

Display only

If you don't plan to use a touch screen, the solution is to use unclutter, which is a tool, that hides the cursor after some idle time.

sudo apt-get install unclutter
Touch screen

If you use touch screen to interact with you device, you probably don't want to see the mouse cursor appearing under your finger every time you touch the screen, so the answer here is to disable the mouse pointer alltogether. Just be sure your display is properly configured. (The 7" Raspberry Pi Display works pretty much out of the box)

In this case, instead of using unclutter, we simply edit the lightdm.conf file.

sudo nano /etc/lightdm/lightdm.conf

Uncomment the xserver-command line under [SeatDefaults] (below the documentation) and add -nocursor parameter.

xserver-command=X -nocursor

Kiosk mode

To configure the pi to become a kiosk machine, all you need to do is edit the autostart file in ~/.config/lxsession/LXDE-pi/

sudo nano ~/.config/lxsession/LXDE-pi/autostart

Disable the screensaver by commenting out this line:

# @screensaver -no-splash

Add these xset options to disable some of the power saving settings:

@xset s off
@xset s noblank
@xset -dpms

If you've decided to use unclutter, you can configure it by using commands described here, for example adding this line will set the mouse pointer to disappear after 3 seconds of inactivity:

unclutter -idle 3

Add this line to start the Chromium browser in kiosk mode after boot:

@chromium-browser --noerrdialogs --kiosk --incognito https://google.com

The --noerrdialogs parameter will make sure that no error messages will pop up after restart if something causes Chromium to end unexpetedly. Save, exit and restart your pi.

Additional tips

tba

Contribution

If you have useful tips, trick or scripts, feel free to add them to this repo.

raspbian-jesse-kiosk's People

Contributors

lukaskubis avatar

Stargazers

Douglas de Espindola avatar Gergely Nagy avatar John Guan avatar Eduardo Fonseca avatar Gustavo Berga avatar  avatar ichbestimmtnicht avatar  avatar Michal Dabski avatar Marcin avatar  avatar

Watchers

 avatar

raspbian-jesse-kiosk's Issues

NOOBS

Can you follow this guide with NOOBS or is this only doable with Jessie?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.