@KumarTRD It’s not executable. You need to use an editor to open it, like nano
:
nano ~/MagicMirror/config/config.js
@KumarTRD It’s not executable. You need to use an editor to open it, like nano
:
nano ~/MagicMirror/config/config.js
@Damian Do you want 6x or 60%? (The former seems very small). Sorry I misunderstood about your PC; most of us use PCs as dev machines for the RPi.
If 6x (or, inverted, 1/6 or 16.7%):
body {
transform: scale(0.167); /* this might get messy, at least with any raster assets (like images) */
}
Or 60%:
body {
transform: scale(0.6);
}
According to this very interesting StackExchange question, you can also set the document
’s zoom
property in JavaScript (and via CSS, too):
document.body.style.zoom = 2;
@Mykle1 Thanks! I keep seeing it mentioned in the forums, and wanted to give us all a quick way to refer people to help. I’d already written most of it with all of my responses here so I decided to rearrange them into a freestanding post.
@loonix You might check to see that run-start.sh
is executable:
chmod +x ~/MagicMirror/run-start.sh
You can also try :
npm cache clean
npm install
npm start
Finally, the MM project doesn’t run well on Raspbian Lite. Jessie Full is the recommended build. Check out this thread for a few other tips.
@Mykle1 How did you seed the url with a timestamp? When I visit https://icons.wxug.com/data/weather-maps/radar/united-states/united-states-current-radar-animation.gif?1521767776
, I get the image returned (not a 404
).
example.com
.scope
your app will need) and visit in a browser.code
parameter. (If using example.com
, it will fail to reach the site; just look at the address bar and find the code
parameter.)code
parameter to exchange for an access token (e.g. using curl
):$ curl "https://todoist.com/oauth/access_token" \
-d "client_id=0123456789abcdef" \
-d "client_secret=secret" \
-d "code=abcdef" \
-d "redirect_uri=https://example.com"
@juju Yep, just body {}
: custom.css at GitHub
@pierrepi I posted recently on how to “stash” your changes in git
. You don’t want to commit them, except to share with others.
@MaxPower It stacks every 1-2 days? I don’t quite understand what that means.
In any case, what command are you using to restart? Are you trying to restart MM (recommended) or the RPi? If you have pm2
installed and managing your MM process, I suggest using pm2 restart mm
. Whatever commend you choose, run it in Terminal first to ensure it will do what you intend.
There are lots of videos and walkthroughs available online on how to use crontab
.
I recommend you then add the following crontab
task:
* 4 * * * pm2 restart mm
This will restart MM every day at 4am (when I assume you’re not using it) so that it’s ready in the morning.