Skip to content

Instantly share code, notes, and snippets.

@radavis
Last active January 31, 2018 18:43
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save radavis/5e94651a89da5e16c613 to your computer and use it in GitHub Desktop.
Save radavis/5e94651a89da5e16c613 to your computer and use it in GitHub Desktop.

Raspberry Pi Kiosk

Instructions to go from zero to a Raspberry Pi Kiosk displaying a webpage with auto-refresh.

  • OS: Raspbian (Debian Wheezy) 2015-02-16
  • Browser: IceWeasel

Copy Raspbian to a SD Card (on OSX)

Instructions for other OSes.

$ diskutil list
$ diskutil unmountDisk /dev/disk#
$ sudo dd bs=1m if=<raspbian-image-file> of=/dev/rdisk#

Note: The 'r' in /dev/rdisk# is not a typo. This is the raw path to the disk, which is faster than the buffered /dev/disk devices.

Power it up

  • Hook up your Pi: Plug in the mouse, keyboard, monitor, ethernet, sd card, and power.
  • First boot will take you to the raspi-config utility:
    • Expand the filesystem
    • Change the user password from the default (user: pi, pass: raspberry)
    • Enable boot to graphical desktop
    • I18n options -> Change keyboard layout -> Select your keyboard
    • Finish and reboot

Install xscreensaver and Disable the Screen Saver

sudo apt-get update
sudo apt-get install xscreensaver

Menu -> Preferences -> Screensaver -> Display Mode -> Disable Screen Saver

Launch IceWeasel on Startup

$ sudo apt-get update
$ sudo apt-get install iceweasel
$ sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
/etc/xdg/lxsession/LXDE-pi/autostart
@iceweasel

Install IceWeasel Add-ons

Configure the Browser

  • Right-click on page -> ReloadEvery -> Auto Enable New Tab
  • Set your homepage in the Preferences
@mutley
Copy link

mutley commented Mar 30, 2016

Which version of raspbian should I download?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment