• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.5k 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 Mar 12, 2020, 8:45 AM

    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 Mar 12, 2020, 9:01 AM Reply Quote 0
    • ? Offline
      A Former User @banbutcher
      last edited by Mar 12, 2020, 9:01 AM

      @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 Mar 12, 2020, 9:04 AM

        @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 Mar 12, 2020, 9:10 AM

          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 Mar 12, 2020, 9:13 AM Reply Quote 0
          • ? Offline
            A Former User @banbutcher
            last edited by Mar 12, 2020, 9:13 AM

            @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 Mar 12, 2020, 9:56 AM

              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 Mar 12, 2020, 9:57 AM Reply Quote 0
              • ? Offline
                A Former User @banbutcher
                last edited by Mar 12, 2020, 9:57 AM

                @banbutcher
                So pure MM also cannot be executable standalone?

                1 Reply Last reply Reply Quote 0
                • B Offline
                  banbutcher
                  last edited by Mar 12, 2020, 10:05 AM

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

                  S 1 Reply Last reply Mar 12, 2020, 2:42 PM Reply Quote 0
                  • S Offline
                    sdetweil @banbutcher
                    last edited by sdetweil Mar 12, 2020, 3:06 PM Mar 12, 2020, 2:42 PM

                    @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 Mar 12, 2020, 10:22 PM Reply Quote 0
                    • B Offline
                      banbutcher @sdetweil
                      last edited by banbutcher Mar 12, 2020, 10:23 PM Mar 12, 2020, 10:22 PM

                      @sdetweil

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

                      seems to show serveronly to be false?

                      S 1 Reply Last reply Mar 12, 2020, 11:13 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      1 / 3
                      • First post
                        9/21
                        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