Skip to content

Instantly share code, notes, and snippets.

@VerTiGoEtrex
Created February 7, 2016 06:11
Show Gist options
  • Save VerTiGoEtrex/241232cff3827349cc85 to your computer and use it in GitHub Desktop.
Save VerTiGoEtrex/241232cff3827349cc85 to your computer and use it in GitHub Desktop.
Magic Mirror setup
# Download and install noobs
# Set 128MB vid split
sudo raspi-config
# Setup screen rotation (optional)
/boot/config.txt
display_rotate=1
hdmi_force_hotplug=1
# Set timezone
sudo tzselect
-or-
sudo dpkg-reconfigure tzdata
# Download and install node
curl -SLO "https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-armv6l.tar.gz" \
&& sudo tar -xzf "node-v$NODE_VERSION-linux-armv6l.tar.gz" -C /usr/local --strip-components=1
# Setup node to automatically serve project
<TODO>
# Download and install Midori kiosk stuff
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install x11-xserver-utils unclutter midori
# /etc/xdg/lxsession/LXDE-pi/autostart
@xscreensaver -no-splash
@xset s off
@xset -dpms
@xset s noblank
@midori -e Fullscreen -a http://localhost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment