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.

    ALT not doing anything

    Scheduled Pinned Locked Moved Solved Troubleshooting
    44 Posts 6 Posters 15.7k Views 5 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.
    • E Offline
      EricD
      last edited by

      Hello all,
      I just install MagiMirror on a new RPI5 and I get the same problem : Alt key doesn’t give me the menu.
      I have compared electron.js from an old installation that works fine with the one I just install on my RPI5 and I remark the line “electronOptionsDefaults.autoHideMenuBar = true;” is missing in the new version. I add this line in the new version, similar place in the code list, and now the Alt command works like the old version : I get the menu.
      So it is solved for me, until the next update of electron.js file…

      If it can help you…

      EricD

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

        @EricD yes electron changed the key behavior again. nothing we can do

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        ankonaskiff17A 1 Reply Last reply Reply Quote 0
        • ankonaskiff17A Offline
          ankonaskiff17 @sdetweil
          last edited by

          I have a SmartiPi Touch 2 and a SmartiPi Touch Pro I want to install MM on with both focusing on weather and maybe an item based on user request.

          Do you recommend going for the latest greatest Bookworm install or an older Pi OS version to build off of? I’m not averse to a learning experience but don’t want to beat my head on a cinderblock wall either.
          I had the infamous magic smoke :dashing_away: come out of the Pi 4 on my Ender 3D Printer and thinking about doing a MM or two while new parts come for printer. Nothing like feeding the Pi 4B with 24V instead of 5V.
          Melted my Logitech Mouse/Keyboard dongle.

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

            @ankonaskiff17 those are just cases. just a pi underneath

            I am running bookworm on my pi4 in the case w 7in touch screen display, and MagicMirror w no issues

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • F Offline
              Fifteen15Studios
              last edited by

              It looks like nobody has posted a solution, but I posted a similar post months ago. Someone in there gave me the answer.

              In MagicMirror/js/electron.js, change the line
              electronOptionsDefaults.frame = false;
              to
              electronOptionsDefaults.frame = true;

              Then add
              electronOptionsDefaults.autoHideMenuBar = true;

              If you’re using PM2 to load your mirror, you’ll have to stop and start PM2

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

                @Fifteen15Studios if so, you can do this in config.js

                electronOptions:{ frame: true, autoHideMenuBar:true},
                

                note the trailing comma

                before the modules:[ line

                no code change required

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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