Read the statement by Michael Teeuw here.
MagicMirror Weather
-
OR
My suggestion, because it helped me, is, don’t do your editing in the terminal. Do it in the graphical user interface (GUI). Navigate your desktop as you would on a PC with Windows or a Mac’s Finder.
Click on File Manager (the folder at the top left of your desktop, usually)
Double click the MagicMirror folder
Double click the config folder
Right click the config.js.sample file - select Copy
Right click again somewhere else in that same window - select Paste
Rename the file you just pasted to config.js and click the Rename button
The new config.js file that you just pasted is now your working config file for MagicMirror
Double click it and it should open in a text editor.This is one of the places where you will customize your MM. It’s actually good enough to run your MM, although it will only show some of the modules but you’ll be encouraged by the fact that it is at least working. Every module folder has a ReadMe file that instructs you on what to add to your config.js file to get that module up and running.
-
@strawberry-3.141 Thank you!! That worked!
-
@Mykle1 Thanks! This helped a lot. I am trying to get more comfortable with the terminal, but I think that in this case, it was best to use a text editor.
Also, I followed the instructions in the guide but for some reason, my screen is still going blank.
I edited the autostart file, as below:
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
@xset s noblank @xset s off @xset -dpms
I also edited the lightdm.conf file, as seen below:
sudo nano /etc/lightdm/lightdm.conf
I edited the xserver-command bit to look like this:
xserver-command=X -s 0 -dpms
Any ideas of what I can do next? For what it’s worth, it is a flatscreen TV, so it has a remote and I also tried going through the settings and made sure that sleep mode was off.
-
@Usrnme2Lng Install xscreensaver and save yourself a lot of time and headache…
Install it on the pi then disable screensaver… easiest way to do it.
https://www.linuxbabe.com/ubuntu/install-autostart-xscreensaver-ubuntu-16-04-16-10
-
@cowboysdude Thank you! That seems to have fixed the issue!