Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save rambolee/eca36fd61d7ee597ff2de1281235ff2b to your computer and use it in GitHub Desktop.

Select an option

Save rambolee/eca36fd61d7ee597ff2de1281235ff2b to your computer and use it in GitHub Desktop.
[Raspberry Pi with FlipClock] Use the Raspberry Pi with 7 inch touch screen to display a FlipClock #tags:flipclock,clock,raspberry,pi,flip

http://raspberrypi.stackexchange.com/questions/30093/epiphany-browser-in-full-screen-mode

Create a file startB in your home directory /home/pi/ with following content sudo nano ./startB

#!/bin/sh
xset -dpms # disable DPMS (Energy Star) features.
xset s off # disable screen saver
xset s noblank # don't blank the video device
matchbox-window-manager -use_titlebar no &
WEBKIT_DISABLE_TBS=1 epiphany-browser -a --profile /home/pi/.config  http://site

now sudo nano /etc/rc.local and put in the following line before exit 0

sudo xinit ./home/pi/startB &

and Raspberry Pi will boot up in kiosk mode with browser.

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