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.

    How to hide desktop screen when raspberry turned on?

    Scheduled Pinned Locked Moved Troubleshooting
    11 Posts 4 Posters 5.3k Views 4 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
      bretonesf
      last edited by bretonesf

      Thanks for the reply.

      Following your advice, I used a black background for the desktop. I also realized that it’s possible to remove the trash bin icon, then put the background of the taskbar in black, reduce its size, use auto-hide and even delete all its component one by one (by right clicking on the taskbar).

      I also found the way to hide all the boot screens :

      Rainbow screen :
      - add disable_splash=1 at the end of the line in the file /boot/config.txt

      4 raspberries logo :
      - add logo.nologo at the end of the line in the file /boot/cmdline.txt

      texts :
      - in file /boot/cmdline.txt, add quiet at the end of the line and change console=tty from 1 to 3

      cursor :
      - add vt.global_cursor_default=0 at the end of the line in the file /boot/cmdline.txt

      Now when the raspberry boots up, The screen remains fully black until MM starts and all the modules are loaded, except one white flashing screen at the startup of MM, I don’t know why.

      Also, from turning on the raspberry until full loading of the MM and modules, it takes 49-50s. Is this normal?

      About your comment on the power consumption, mine will be installed in the bathroom, so I intend to turn it on when I switch the light on, as per local electrical regulations, there can’t be no power inside a bathroom when it’s not switched on in purpose.

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

        @bretonesf said in How to hide desktop screen when raspberry turned on?:

        Now when the raspberry boots up, The screen remains fully black until MM starts and all the modules are loaded, except one white flashing screen at the startup of MM, I don’t know why.

        its a bug in Electron browser, long talked about but not solved. MM sets its background to black before opening the page

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil good to know, thanks for the tip.

          According to you, the 50s I’m talking about is ok or long?

          bheplerB 1 Reply Last reply Reply Quote 0
          • bheplerB Offline
            bhepler Module Developer @bretonesf
            last edited by

            @bretonesf - That’s about right for a RPi 3B+.

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

              @bhepler - Nice, thank you.

              1 Reply Last reply Reply Quote 0
              • BKeyportB Offline
                BKeyport Module Developer
                last edited by

                FWIW, there’s lots of modules available for turning off/blanking the screen when not needed - that way you can leave the pi running (at minimal power use) and just have the screen turn off and on with a sensor or button…

                The "E" in "Javascript" stands for "Easy"

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

                  @BKeyport or webcam in my case

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  BKeyportB 1 Reply Last reply Reply Quote 0
                  • BKeyportB Offline
                    BKeyport Module Developer @sdetweil
                    last edited by

                    @sdetweil I’d put that under “sensor” – but how do you do that?

                    The "E" in "Javascript" stands for "Easy"

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

                      @BKeyport i didn’t want to program for every webcam out there, so I found a system level library that does it

                      the motion project… it can do all kinds of video/pics on motion…
                      https://github.com/Motion-Project/motion

                      but it also can call a script/program when motion starts/ends… so I wrote a MM screensaver module that watches for the events from the external motion module… now my TV’s don’t support any cool way to turn off the display, so I hide all the modules… and show later on motion…
                      https://github.com/sdetweil/MMM-SleepWake
                      (and I use this same approach on a different smart-mirror that I found before MM)…

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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