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.

    MM on NanopiM4 using Lubuntu...

    Scheduled Pinned Locked Moved General Discussion
    21 Posts 3 Posters 2.9k Views 3 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.
    • B Offline
      banbutcher
      last edited by

      Thanks gents!

      1 Reply Last reply Reply Quote 0
      • B Offline
        banbutcher
        last edited by

        Hi again,

        so i have MM installed on my M4 and its working, however i can only see it thru my internet browser, where as on my RPI3b+ when i typed npm start a separate window opened.

        how can i get it back to opening a separate window for MM?

        thanks again

        ? 2 Replies Last reply Reply Quote 0
        • ? Offline
          A Former User @banbutcher
          last edited by

          @banbutcher
          Electron is not installed? What kind of OS are you using? Almost all Debian clones could handle MM. The possible issue might be about GPU driver.

          1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User @banbutcher
            last edited by

            @banbutcher
            And you can launch Chrom(Chromium) with kiosk fullscreen mode on startup of MagicMirror. It could be alternative solution.

            1 Reply Last reply Reply Quote 0
            • B Offline
              banbutcher
              last edited by

              im using Lubuntu… not sure about electron, have only come across it when installing hotword and MK2assistant.

              not sure how to launch with kiosk fullscreen mode

              ? 1 Reply Last reply Reply Quote 0
              • ? Offline
                A Former User @banbutcher
                last edited by

                @banbutcher
                Hmmm.
                First, Could your default pure MM(without hotword and AMK2) be executed standalone?
                Second, if so, you mean when it would be issued only with Hotword and AMK2? (But in browser, both modules work?)
                Third, if so, It means your Hotword and AMK2 might have missed or failed on electron-rebuild step.

                1 Reply Last reply Reply Quote 0
                • B Offline
                  banbutcher
                  last edited by

                  it is a complete fresh install, ran this from link above.

                  bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)"
                  
                  ? 1 Reply Last reply Reply Quote 0
                  • ? Offline
                    A Former User @banbutcher
                    last edited by

                    @banbutcher
                    So pure MM also cannot be executable standalone?

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      banbutcher
                      last edited by

                      with pm2 stopped, when i type npm start nothin happens untill i manually open chrome and goto localhost

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

                        @banbutcher this means u are starting in server only mode.

                        Can u tell me more?

                        execute
                        cd ~/MagicMirror
                        bash -x ./run-start.sh

                        And then post the output. (maybe 15 lines)

                        Usually this is because it cannot find xwindows running

                        I made all the changes to run-start

                        on my machine, the output looks like this

                        bash -x ./run-start.sh
                        + '[' -f ./untrack-css.sh ']'
                        + ./untrack-css.sh
                        + grep docker /proc/1/cgroup -qa
                        + '[' -z :0.0 ']'
                        ++ uname -m
                        + arch=x86_64
                        + false=false
                        ++ grep -v '^[[:blank:]]*//' config/config.js
                        ++ awk '{print tolower($2)}'
                        ++ tr -d ',"'\''\r'
                        ++ grep -i serveronly:
                        + serveronly=
                        + serveronly=false
                        ++ pgrep Xorg
                        + xorg=621
                        ++ uname
                        + mac=Linux
                        + '[' false. '!=' false. -o x86_64 == armv6l ']'
                        + '[' 621. == . -a Linux '!=' Darwin ']'
                        + node_modules/.bin/electron js/electron.js
                        

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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