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.

    MagicMirror does not start in full screen

    Scheduled Pinned Locked Moved Solved Troubleshooting
    42 Posts 2 Posters 15.6k 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
      drx1984
      last edited by

      Hello everyone, can someone tell me why the MagicMirror only shows half of the screen after a restart and not the full screen?
      If I close MagicMirror manually and start it again via the terminal, it doesn’t appear correctly in full screen, but when I restart the PC (IntelNuc).
      The image orientation would be portrait format, I set everything to portrait format under Ubuntu screen settings.

      MagicMirror in portrait format:
      mm-1.png

      and this is what it looks like in landscape format > the MagicMirror is not in full screen either:
      mm-2.png

      Can someone help me with that?
      Thanks

      S 1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil @drx1984
        last edited by sdetweil

        @drx1984 sadly it looks perfect.

        do this
        edit

        ~/MagicMirror/installers/mm.sh
        

        insert a new line 2

        sleep 10
        

        then reboot

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        D 1 Reply Last reply Reply Quote 0
        • S Away
          sdetweil @drx1984
          last edited by

          @drx1984 try this

          stop MagicMirror

          pm2 stop all
          

          then

           cd ~
          rm  -rf .config/Electron
          

          note the dot in front of config

          then restart MagicMirror

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          D S 2 Replies Last reply Reply Quote 0
          • D Offline
            drx1984 @sdetweil
            last edited by

            @sdetweil
            Do you mean under the path execute this command?
            like on the picture?
            So:MM-3.png ??

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

              @sdetweil said in MagicMirror does not start in full screen:

              cd MagicMirror

              no…
              I said

              cd ~
              

              this means

              change to the users home folder

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              D 1 Reply Last reply Reply Quote 0
              • D Offline
                drx1984 @sdetweil
                last edited by

                @sdetweil ah ok sry, now I’ve done it like this and when I restart the Intel Nuc, the MagicMirror still doesn’t start in full screen.
                mm-4.png

                mm-5.png

                why is this happening:-(

                S 1 Reply Last reply Reply Quote 0
                • S Away
                  sdetweil @drx1984
                  last edited by

                  @drx1984 because the title bar is showing, is this thru vnc?

                  vnc sets its own screen size and doesn’t tell the truth …

                  not you CAN override in the config.js
                  in the same group as address add

                  electronOptions:{width:xxxx, height:yyyy},
                  

                  where xxxx and yyyy are the width and height of the screen

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  D 1 Reply Last reply Reply Quote 0
                  • D Offline
                    drx1984 @sdetweil
                    last edited by

                    @sdetweil said in MagicMirror does not start in full screen:

                    electronOptions:{width:xxxx, height:yyyy},

                    The AnyDesk program is installed.
                    Should I uninstall this?? I broke the tool to get to IntelNuc.

                    can I fix the problem with this entry? and in which line do I add this “electronOptions:{width:xxxx, height:yyyy}” parameter in config.js

                    S 1 Reply Last reply Reply Quote 0
                    • S Away
                      sdetweil @drx1984
                      last edited by

                      @drx1984 said in MagicMirror does not start in full screen:

                      can I fix the problem with this entry? and in which line do I add this “electronOptions:{width:xxxx, height:yyyy}” parameter in config.js

                      as I said, in the same group of properties as the address: property

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      D 1 Reply Last reply Reply Quote 0
                      • D Offline
                        drx1984 @sdetweil
                        last edited by

                        @sdetweil Sorry, I don’t fully understand you. can you enlighten me?

                        S 1 Reply Last reply Reply Quote 0
                        • S Away
                          sdetweil @drx1984
                          last edited by sdetweil

                          @drx1984
                          anywhere in this group

                          
                          	address: "0.0.0.0", 	// Address to listen on, can be:
                          							// - "localhost", "127.0.0.1", "::1" to listen on loopback interface
                          							// - another specific IPv4/6 to listen on a specific interface
                          							// - "0.0.0.0", "::" to listen on any interface
                          							// Default, when address config is left out or empty, is "localhost"
                          	port: 8090,
                          	basePath: "/", 	// The URL path where MagicMirror² is hosted. If you are using a Reverse proxy
                          					// you must set the sub path here. basePath must end with a /
                          	ipWhitelist: [], 	// Set [] to allow all IP addresses
                          															// or add a specific IPv4 of 192.168.1.5 :
                          															// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
                          															// or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
                          															// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
                          
                          	useHttps: false, 		// Support HTTPS or not, default "false" will use HTTP
                          	httpsPrivateKey: "", 	// HTTPS private key path, only require when useHttps is true
                          	httpsCertificate: "", 	// HTTPS Certificate path, only require when useHttps is true
                          
                          	language: "en",
                          	locale: "en-US",
                          	logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more logging
                          	timeFormat: 24,
                          	units: "metric",
                          	// serverOnly:  true/false/"local" ,
                          	// local for armv6l processors, default
                          	//   starts serveronly and then starts chrome browser
                          	// false, default for all NON-armv6l devices
                          	// true, force serveronly mode, because you want to.. no UI on this device
                          

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          D 1 Reply Last reply Reply Quote 0
                          • 1
                          • 2
                          • 3
                          • 4
                          • 5
                          • 1 / 5
                          • 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