Read the statement by Michael Teeuw here.
MagicMirror on a 4k TV
-
@thad said in MagicMirror on a 4k TV:
Even after removing the the variable the font remains huge. I need to be able to reset it.
That’s because that change survives restarting MM, even when you remove the variable. It needs to be set back with the variable
zoom: 1,
orzoom: 0,
. I can’t remember which. Then you can remove the variable. You can also reset it with the key commands from the link I posted above. -
Thanks @Mykle and @sdetweil. So far my experience with the zoom option, you can zoom in, but you can never zoom out. I tried both 1 and 0 as zoom settings and it never went down. I was able to connect a keyboard and adjust it that way.
I’ve downloaded the css file @sdetweil linked that’s based on screen percentage. I’ll play with it this weekend. I understand this only adjusts the text fonts and not icons. I assume I can adjusts the icons in the module itself. The only modules I’m using that have icons are the weather ones.
One unrelated observation, I can’t restart mm with the command I’ve seen: ‘pm2 restart mm’. What I’ve found is mm restarts when save changes to the config.js file. So, in order to simulate this I created an alias for the command ‘touch $HOME/MagicMirror/config/config.js’. That seems to work for me. Let me know if there’s a better way to restart mm. Again, my only access is through SSH.
Thanks again for the help.
Thad -
@thad pm2 status should tell u the name. U can also use the number
pm2 restart 0
If you used my installer, it is called (wait for it… ) MagicMirror
u must be lucky, not ONE of my systems updates when I change config.js
-
Thanks @sdetweil that’s exactly what I needed to know about pm2. I did use your installer.
I’m now using the view height/width css file you created. That works great. Since I’m using a TV instead of a mirror, I want to reduce the outside margins. Currently there’s about an inch and a half of unused space around the border. I’m going to start playing with the main.css file to use all the monitor real estate.
Thad
-
@thad said in MagicMirror on a 4k TV:
I’m going to start playing with the main.css file to use all the monitor real estate.
It’s not recommended that you make any changes to the main.css file.
You can accomplish what you want in the custom.css file. For example, “to use all the monitor real estate.”
body { margin: 10px; height: calc(100% - 20px); width: calc(100% - 20px); }
Adjust to your liking. Above creates a 10px border.
-
@Mykle1 DON’T USE PX in the view height file… calculate the view height/width and use the tiny number
the default is 120/1920
so the new is 240/3840 (width)
or 240/2160 (height)so, if u want half that 120/2160, and 120/3840