run
nano /home/pi/.config/lxsession/LXDE-pi/autostart
Comment out (put a # in front of) the lines that are already in the file and add these 4 lines.
@xset s off
@xset -dpms
@xset s noblank
@midori -e Fullscreen -a http://localhost/MagicMirror/index.php
This will disable the screensaver and start the magic mirror on boot and skip loading the LXDE GUI.
quoted from “https://www.reddit.com/r/raspberry_pi/comments/3oktfu/magic_mirror_how_to/”
Note from admin: Please use Markdown on code snippets for easier reading!