Read the statement by Michael Teeuw here.
How to hide desktop screen when raspberry turned on?
-
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.txt4 raspberries logo :
- add logo.nologo at the end of the line in the file /boot/cmdline.txttexts :
- in file /boot/cmdline.txt, add quiet at the end of the line and change console=tty from 1 to 3cursor :
- add vt.global_cursor_default=0 at the end of the line in the file /boot/cmdline.txtNow 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.
-
@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
-
@sdetweil good to know, thanks for the tip.
According to you, the 50s I’m talking about is ok or long?
-
@bretonesf - That’s about right for a RPi 3B+.
-
@bhepler - Nice, thank you.
-
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…
-
@BKeyport or webcam in my case
-
@sdetweil I’d put that under “sensor” – but how do you do that?
-
@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/motionbut 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)…