Great work Wieber. That’s a great guide. You saved me a lot of time.
I followed it step by step and noticed a few things missing, so here they are:
git is not installed by default so you’ll need to install it first:
sudo apt-get install git
Then before running ‘sudo npm install’ you need to do this:
To use xset (for stopping the screen blanking) you first need to install the xset command:
sudo apt-get install x11-xserver-utils
start.sh should start with this line:
chmod should be run with sudo:
sudo chmod a+x /home/pi/start.sh
Instead of adding start.sh to the end of .bashrc, it’s better practice to have the
script run automatically on start-up. To do this:
sudo mv /home/pi/start.sh /etc/init.d/startMagicMirror.sh
sudo update-rc.d startMagicMirror.sh defaults 100
This moves the script to the standard location for start-up scripts and tells the
system to run it after each boot.
I think if you do this, there’s no need to log in automatically (so you can skip step 10 above).