Skip to content

Instantly share code, notes, and snippets.

@tubbynl
Forked from andrewvaughan/piboard.md
Last active December 2, 2015 10:31
Show Gist options
  • Save tubbynl/9072d19f5cd2277690db to your computer and use it in GitHub Desktop.
Save tubbynl/9072d19f5cd2277690db to your computer and use it in GitHub Desktop.
Create a Raspberry Pi Rotating Dashboard

These instructions were performed on a RaspberryPI 2 with a proper heatsink.

Configure the Pi

sudo raspi-config
  1. Choose 1. Expand Filesystem
  2. Choose 3. Enable Boot to Desktop/Scratch and choose Desktop Log in as user 'pi' at the graphical desktop
  3. Choose 7. Overclock and choose Medium
  4. Choose 8. Advanced Options
  5. Choose A1 Overscan and Enable it
  6. Choose A2 Hostname and set a hostname
  7. Choose SSH and enable it

Update Aptitude and install VIM

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install vim

Determine IP Address

ifconfig

The IP Address is (number) is located after inet addr for eth0

Make VIM work with arrows and backspace

vi ~/.vimrc

Set these configuration lines inside this file

set nocp
set backspace=2

Set the default display to the pi, not SSH

vi ~/.bashprofile

Add this line:

export DISPLAY=:0

Then reboot

sudo reboot

Install Packages

  • iceweasel - A Mozilla Firefox port without branding made for the Pi
sudo apt-get install iceweasel unclutter

Setup Iceweasel

iceweasel

Install these addons and restart:

Setup tabs to go through, and modify preferences to open those tabs each time.

Disable Power Saving and Boot into Iceweasel Kiosk

ln -s /etc/xdg/lxsession/LXDE-pi/autostart ~/autostart
sudo -E vi ~/autostart

Make the file look as follows:

@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
#@xscreensaver -no-splash

# Turn off screen power saving
@xset s off
@xset -dpms
@xset s noblank

# Start Iceweasel by default
@iceweasel http://www.website1.com http://www.website2.com
@unclutter -grab -visible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment