Read the statement by Michael Teeuw here.
Sachin's Mirror
-
@Sachin, use
'scrot'
to take a screen shot of the display itself.'scrot /home/pi/screenshot.png'
will get you an image of the screen that you can then post here. (if you’re loged in remotely, you need to tell it which display to use:'DISPLAY=:0 scrot /home/pi/screenshot.png'
)As for the source code, you don’t have to post a full image, just the modules folder (assuming everything you have on there is in modules.) You can simply zip it up (you’d have to install zip first if you don’t already have it,
'sudo apt-get install zip'
):$ cd ~/MagicMirror $ zip -9 -r modules.zip modules
Then you can post that
'modules.zip'
file somewhere.OR, alternatively, you can push your code up to a Github repository so others can download them selectively instead of grabbing the entire modules folder. It’s also easier to maintain your code that way.
-
@KirAsh4 Thanks for the tips, I learn something new every day!
-
-
Sanchin,
Looks great! I’d love a copy of the code please and thank you.
Regards,
-Adam
-
@adamsidelsky Thanks Adam, glad you like it. I’ll see if I can follow KirAsh’s directions can get something up on Github. I do need to strip my API key’s from the config files so you can plug in your own, otherwise you will be seeing my info :-)
I’ll post a link later today when I get a chance to pull it all together.
- Sachin
-
@Sachin
I’d be interested in your config too - specifically making the compliments a different color / font size. Probably not that difficult, but I always find it easiest to “program by cannibalizing” :) What good is an idea if nobody steals it? Anyway, if you would post at clean-ed up version of your config, I’d appreciate it…Looks great!
-
@amanzimdwini i think you also need the custom CSS
-
Thanks everyone. Per KirAsh4’s suggestion. I’m going to upload a sanitized copy on Github. I’d still encourage everyone to read through the install docs so you know where/how to tweak it to your liking. I’ll try to get to it this weekend.
Have a great 4th!
-
Changing any of the module’s color settings is done in the
'~/MagicMirror/css/custom.css'
file. This is assuming the author of the module wrapped the various elements in tags that you can refer to, which all of the default modules are. You can look at the'main.css'
file to get an idea of what the various tags are that you can use. I do not recommend changing anything in'main.css'
, but rather override them in'custom.css'
instead.Alternatively you can also look at the raw HTML generated through your browser’s console (just pulling up the page’s source won’t show the full HTML generated.)
-
@KirAsh4
THX. Will spend some happy time fiddling with all the stuff. “Wasted” 2 days on getting MM2 up on a brand-new Pi3, but the ‘wife-acceptance-factor’ is already awfully high :) Now I have to just customize it to the n-th degree…