• 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.

Are you tired of editing config.js, or have trouble doing it, see my new module

Scheduled Pinned Locked Moved Utilities
293 Posts 28 Posters 263.6k Views 30 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.
  • S Offline
    sdetweil @Johanba
    last edited by Apr 8, 2025, 9:04 PM

    @Johanba i posted in your other topic

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • D Offline
      DarkV @sdetweil
      last edited by DarkV Apr 10, 2025, 10:53 AM Apr 10, 2025, 8:47 AM

      @sdetweil Script
      You helped me on a while backScreenshot 2025-04-10 at 11-54-21 Failed Update MagicMirror Forum.png

      S 1 Reply Last reply Apr 10, 2025, 11:22 AM Reply Quote 0
      • S Offline
        sdetweil @DarkV
        last edited by sdetweil Apr 10, 2025, 11:23 AM Apr 10, 2025, 11:22 AM

        @DarkV i understand, but that wasn’t the question

        the git checkout command should have worked,
        but failed.

        now i am trying to figure out why. and what to do about it

        the command prompt looks different after

        cd ~/MagicMirror 
        

        then the last time you did a command

        so try this way

        go to your MagicMirror folder
        and do git status

        show the results

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        D 1 Reply Last reply Apr 16, 2025, 3:12 PM Reply Quote 0
        • D Offline
          DarkV @sdetweil
          last edited by Apr 16, 2025, 3:12 PM

          @sdetweil said in Are you tired of editing config.js, or have trouble doing it, see my new module:

          git status

          junior@MAGIC-MIRROR:~ $ cd ~/MagicMirror/modules/MMM-Config
          junior@MAGIC-MIRROR:~/MagicMirror/modules/MMM-Config $ git status
          On branch main
          Your branch is up to date with ‘origin/main’.

          nothing to commit, working tree clean
          junior@MAGIC-MIRROR:~/MagicMirror/modules/MMM-Config $

          junior@MAGIC-MIRROR:~/MagicMirror/modules/MMM-Config $ cd ~/MagicMirror
          junior@MAGIC-MIRROR:~/MagicMirror $ git status
          fatal: not a git repository (or any of the parent directories): .git
          junior@MAGIC-MIRROR:~/MagicMirror $

          S 1 Reply Last reply Apr 16, 2025, 3:30 PM Reply Quote 0
          • S Offline
            sdetweil @DarkV
            last edited by Apr 16, 2025, 3:30 PM

            @DarkV asking again, how did you install MagicMirror?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            D 1 Reply Last reply Apr 17, 2025, 10:20 AM Reply Quote 0
            • D Offline
              DarkV @sdetweil
              last edited by Apr 17, 2025, 10:20 AM

              @sdetweil I think it must have been a script on the net. It was quite a long time ago, between 2022 and 2023. I honestly cannot remember. I found an old config.js from ‎06 ‎October ‎2023

              S 1 Reply Last reply Apr 17, 2025, 1:10 PM Reply Quote 0
              • S Offline
                sdetweil @DarkV
                last edited by sdetweil Apr 17, 2025, 5:05 PM Apr 17, 2025, 1:10 PM

                @DarkV ok, my script is the only one I know about and it uses git

                lets do this to get a new copy and use your config/modules…
                copy paste this section to a terminal window

                cd ~
                # save MM folder
                mv MagicMirror MagicMirror.org
                # install new MM (reply N to screen saver/pm2
                bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)"
                

                once MM is installed again lets make THIS new version look like the old
                copy/paste this

                # copy files
                cd ~
                cp MagicMirror.org/config/config.js MagicMirror/config
                cp MagicMirror.org/css/custom.css MagicMirror/css
                cd MagicMirror/modules
                # save the new default module folder
                mv default ..
                cd ..
                # copy all the org modules 
                cp -r -p ~/MagicMirror.org/modules .
                cd modules
                # remove the old default  modules folder
                rm -rf default
                # move back the new default 
                mv ../default .
                cd ~/MagicMirror
                

                now
                npm start should work

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • 1
                • 2
                • 26
                • 27
                • 28
                • 29
                • 30
                • 30 / 30
                30 / 30
                • First post
                  291/293
                  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