Skip to content

Instantly share code, notes, and snippets.

@ScottPhillips
Forked from petehamilton/README.md
Created January 25, 2017 02:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ScottPhillips/f0b207e2d8f52de1f33d83bd2cdd424d to your computer and use it in GitHub Desktop.
Save ScottPhillips/f0b207e2d8f52de1f33d83bd2cdd424d to your computer and use it in GitHub Desktop.
Set up a Raspberry Pi to load a web dashboard

Dashboards on Raspberry Pi

curl -L 'http://git.io/h1iuxQ' | sh
#!/usr/bin bash
PI_DASH_CONFIG_FILE="/etc/xdg/lxsession/LXDE/autostart"
PI_DASH_BOOT_FILE="/home/pi/dashboard_boot.sh"
sudo apt-get update && apt-get upgrade -y # Update the Pi
sudo apt-get install chromium # Get Chromium
sudo apt-get install x11-xserver-utils # Get x11 server utils
sudo apt-get install unclutter # Unclutter hides the mouse
sudo echo '@xset s off' >> $PI_DASH_CONFIG_FILE # Turn off screensaver
sudo echo '@xset -dpms' >> $PI_DASH_CONFIG_FILE # Turn off power saving
sudo echo '@xset s noblank' >> $PI_DASH_CONFIG_FILE # Disable screen blanking
sudo echo $PI_DASH_BOOT_FILE >> $PI_DASH_CONFIG_FILE # run script to load dashboard
echo '#!/usr/bin bash' > $PI_DASH_BOOT_FILE
echo 'chromium-browser --kiosk --new-window http://mydashboard.mysite.com/' >> $PI_DASH_BOOT_FILE
echo "Modify $PI_DASH_BOOT_FILE to change which webpage to load at boot"
@keithsheets
Copy link

It's a good code about Dashboards on Raspberry Pi and it improve my angry gran website.

@Advika58
Copy link

"UP Bhulekh" refers to the online portal for land records in the state of Uttar Pradesh in India.

@sayani34
Copy link

Exploring Dashboards on Raspberry Pi—imagining a tech-savvy journey of data visualization, personalized interfaces, and seamless control at my fingertips. The prospect of transforming my Raspberry Pi into a powerful dashboard hub sparks excitement.Ready to craft an interactive digital experience right from my mini-computer! mp bhulekh

@amelia124
Copy link

The code for Dashboards on Raspberry Pi is impressive and enhances website.

@udit17260
Copy link

Excited about the possibilities of turning my Raspberry Pi into a versatile dashboard hub! Imagining the journey of data visualization and personalized interfaces is thrilling. With seamless control at my fingertips, I'm eager to craft an interactive digital experience tailored to my needs. Let the exploration begin! fm whatsapp download

@williamWLJL
Copy link

The code for Dashboards on Raspberry Pi significantly enhances my pikashow website.

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