Read the statement by Michael Teeuw here.
New and confused.
-
@caseyrcoughlin said in New and confused.:
So I’m still doing something wrong, still not sure what. Any help is appreciated.
A few questions:
Can you create a new document with your text editor? If so, then the problem is NOT your text editor.Is your config.js file named EXACTLY, “config.js”? The icon should look like a “gear”. Text files should look like a page of text. If the file “type” is incorrect then that could make the text editor unable to open the file. Check the properties of the file.
Long shot here: Are you sure the file isn’t opening below the visible area of the window? Meaning, make sure you scroll all the way through the entire window as the file may have opened outside of your view.
-
@Mykle1 said in New and confused.:
@caseyrcoughlin said in New and confused.:
So I’m still doing something wrong, still not sure what. Any help is appreciated.
A few questions:
Can you create a new document with your text editor? If so, then the problem is NOT your text editor.Is your config.js file named EXACTLY, “config.js”? The icon should look like a “gear”. Text files should look like a page of text. If the file “type” is incorrect then that could make the text editor unable to open the file. Check the properties of the file.
Long shot here: Are you sure the file isn’t opening below the visible area of the window? Meaning, make sure you scroll all the way through the entire window as the file may have opened outside of your view.
The file is named config.js exactly with a gear for an icon. It also has a config.js.sample next to it and the icon looks like a page with lines on it so I’m assuming that’s a text file. But as far as the Text Editor, therein may lie the problem. I can’t even find the text editor on my raspberry pi…does it not come with one? It comes up on the “Choose Application” box under “Accessories” but under the Applications Menu under “Accessories” I only have File Manager, Task Manager, and Terminal. Also, another question…when the Magic Mirror is running, how to I get it to stop and get back to the desktop GUI? I’ve just been rebooting it so far.
-
@caseyrcoughlin said in New and confused.:
@Mykle1 said in New and confused.:
@caseyrcoughlin said in New and confused.:
So I’m still doing something wrong, still not sure what. Any help is appreciated.
A few questions:
Can you create a new document with your text editor? If so, then the problem is NOT your text editor.Is your config.js file named EXACTLY, “config.js”? The icon should look like a “gear”. Text files should look like a page of text. If the file “type” is incorrect then that could make the text editor unable to open the file. Check the properties of the file.
Long shot here: Are you sure the file isn’t opening below the visible area of the window? Meaning, make sure you scroll all the way through the entire window as the file may have opened outside of your view.
The file is named config.js exactly with a gear for an icon. It also has a config.js.sample next to it and the icon looks like a page with lines on it so I’m assuming that’s a text file. But as far as the Text Editor, therein may lie the problem. I can’t even find the text editor on my raspberry pi…does it not come with one? It comes up on the “Choose Application” box under “Accessories” but under the Applications Menu under “Accessories” I only have File Manager, Task Manager, and Terminal. Also, another question…when the Magic Mirror is running, how to I get it to stop and get back to the desktop GUI? I’ve just been rebooting it so far.
Hit the ALT key on the keyboard and a menu will pop up at the top… from there you can exit MM.
-
@cowboysdude said in New and confused.:
That makes life so much easier, can’t believe I didn’t think to hit the ALT key before. So I got into the config menu through the terminal but I messed some stuff up and deleted a few of the modules that I want back to mess around with some more. I’d like to uninstall and reinstall Magic Mirror. How do I uninstall it?
EDIT - Nevermind, figured out how to install it again. At least a workaround anyway. I renamed the old Magic Mirror and I’m reinstalling it again. I’d imagine I’ll have about 25 failed versions of Magic Mirror under various names before I get it to how I want it lol. Is there anyway to delete these files off of the RPi?
-
You can delete the old folders by simply dragging them to the trash, as you would any other file or folder.
It’s odd that you don’t have a text editor. What OS are you installing? Rasbian Jessie certainly has a text editor. Are you using a Pi 3? You could always install a 3rd party text editor if you wanted to. You have options.
I’m curious. Open a terminal and type
leafpad
and Enter. This would launch the default text editor in Jessie, if that’s what you’re running.How did you manage to edit your config.js file in the first place to get your MagicMirror running? Or, you haven’t gotten that far?
-
@caseyrcoughlin said in New and confused.:
@cowboysdude said in New and confused.:
That makes life so much easier, can’t believe I didn’t think to hit the ALT key before. So I got into the config menu through the terminal but I messed some stuff up and deleted a few of the modules that I want back to mess around with some more. I’d like to uninstall and reinstall Magic Mirror. How do I uninstall it?
EDIT - Nevermind, figured out how to install it again. At least a workaround anyway. I renamed the old Magic Mirror and I’m reinstalling it again. I’d imagine I’ll have about 25 failed versions of Magic Mirror under various names before I get it to how I want it lol. Is there anyway to delete these files off of the RPi?
DO NOT feel bad…we’ve all been there :) You’re trying and that’s what this project is all about. Feel free to ask questions… it’s how we learn ;)
-
Well me and my ten thumbs were playing around and i entered the config.js file to alter parts of the weather module ( i managed to get an API key and my location I.D. as the weather in New York doesn’t really interest me at the mo :-))) ) and entered them in to the code, between the speech marks, saved it and then ran MM but the weather module wasn’t present, everything else was …any ideas??? Next will be altering the holidays/calendar etc (i’m trying to work out how to use my google calendar with all of my saved dates etc, so expect more questions) :0. Thanks.
Mick -
@mickyas said in New and confused.:
Well me and my ten thumbs were playing around and i entered the config.js file to alter parts of the weather module ( i managed to get an API key and my location I.D. as the weather in New York doesn’t really interest me at the mo :-))) ) and entered them in to the code, between the speech marks, saved it and then ran MM but the weather module wasn’t present, everything else was …any ideas??? Next will be altering the holidays/calendar etc (i’m trying to work out how to use my google calendar with all of my saved dates etc, so expect more questions) :0. Thanks.
MickMy advice is always the same… if you have a working config.js then copy it to config.bak then you know no matter what you’ll never be down :)
THEN:
It’s easier if you post your config.js minus the api keys just put xx in place of that… then we can peek at it :)
-
@mickyas said in New and confused.:
entered them in to the code, between the speech marks, saved it and then ran MM but the weather module wasn’t present, everything else was …any ideas???
You likely made a small mistake somewhere. As @cowboysdude said, it would be easier for us to help you if would copy and paste that portion of your config.js file (minus the API key)
Next will be altering the holidays/calendar etc (i’m trying to work out how to use my google calendar with all of my saved dates etc, so expect more questions) :0.
Go to your google calendar. On the LEFT side of the page you’ll see My Calendars, Other Calendars. Hover (don’t click) your mouse over the individual calendar that you want. A down arrow
v
appears to the RIGHT of the calendar. Click the down arrowv
and choose Calendar settings. Click the green ICAL button. This will give you the url you need to enter into the calendar module -
@cowboysdude Sorry but you assume i know what you’re on about :-)))) what’s config.bak??? I have NO knowledge whatsoever of any kind of coding etc, my computer abilities stretch as far as writing a n e-mail and doing the odd letter. :-))).
Mick