MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Zoom config ignored in server mode?

    Scheduled Pinned Locked Moved Troubleshooting
    3 Posts 2 Posters 331 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      DarrenHill
      last edited by DarrenHill

      My “mirror” is actually being used as a desktop display, running on a Pi-Top Ceed with a 14" display on it. Got it set up exactly as I want, using a config file zoom setting of 0.6. On the display it works perfectly.

      Just now experimented with setting the mirror up as a server as well by tweaking the address and ipWhitelist, and whilst it’s also working I notice that it’s not taking the zoom config entry into account that way.

      If I just connect to the mirror with Chrome on my PC everything is oversized and all the modules are covering each other. Changing the zoom in Chrome to either 50% or 67% makes it look fine (annoyingly Chrome can’t be set to 60%!).

      Just thought I’d report it here anyway. Not a major issue at all, but for completeness towards making this excellent project perfect :grinning_face_with_smiling_eyes:

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @DarrenHill
        last edited by

        @DarrenHill correct…we have the ability to tell electron the embedded browser to zoom on start, we cannot do that for the browser that just gets the html file from the server port.

        chrome should remember after the 1st setting, so it should only bother you once!

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • D Offline
          DarrenHill
          last edited by

          Thanks, that makes sense, and indeed Chrome is happily remembering the setting too.

          I wasn’t sure whether the zoom was being applied pre- or post-rendering. But your explanation makes sense, and the solution of doing it “manually” works fine.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy
            OSZAR »