Skip to content

Instantly share code, notes, and snippets.

@ScottPhillips
Forked from petehamilton/README.md
Created January 25, 2017 02:51
Show Gist options
  • Select an option

  • Save ScottPhillips/f0b207e2d8f52de1f33d83bd2cdd424d to your computer and use it in GitHub Desktop.

Select an option

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"
@securemailpro
Copy link

Really liked the flow of this post. If someone is new to Kantor, this is honestly a good place to start. Kantor

@securemailpro
Copy link

I completely agree with your points here. It’s rare to find such balanced and well-researched opinions online these days. Keep up the great work! 寵物移民中國大陸

@securemailpro
Copy link

El conversor de letras elegantes es útil para textos cortos, especialmente para nombres y títulos. conversor de letras

@securemailpro
Copy link

線上交友方便又隨時隨地,但都要小心真假資料,同時亦要有耐性慢慢了解對方,唔可以太急。線上交友

@securemailpro
Copy link

DBA HK 近年越嚟越受歡迎,特別係對高層管理人員嚟講,既可以讀博士又唔使完全離開職場。 doctor of business administration

@securemailpro
Copy link

Wish there was a dark mode ngl, but still mad respect for free access to our fav shows kuthira.com serials

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