Auto Black Screen (save mode of monitor?) after a few minutes
Auto Black Screen (save mode of monitor?) after a few minutes , already change to
#xserver-command=X -s 0 -dpms ,
but still BLACK again & again
#xserver-command=X -s 0 -dpms
disable the screensaver
Firstly , thanks for your reply soon , but thaere’s not about screensaver , its seem a monitor auto sleep/save mode , just black screen no screensaver.
@peterpang Hi, Raspberry OS has an built in feature called screen blanking. Maybe that is the problem. You can disable it by adding a “consoleblank=0” to the line in “/boot/cmdline.txt” and reboot the pi.
But i did not have this problem in my recent installations.
Thanks again , try later ^^
I open the File Manager , then open the " boot " folder , then click into the " cmdline.txt , see there’s a text :
" console=serial0,115200 console=tty1 root=PARTUUID=7e583fb6-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles "
add “consoleblank=0” here ? add in the first place or where else ?
sorry , I’m just a very very Beginner , the first time in writing progamme
@peterpang Hi, that’s the right file. Simply add it at the end before the closing "
I try to add " consoleblank=0 " to the cmdline.txt ,
failed to save the document Permission denied
What I can do ?=.="
additional scripts that may be useful
the install has two sections of additional support I have provided those separately too, in case u need to run one separately, or changed your mind after install
turn off screen saver and setup pm2 to autostart MM on boot…
screensaveroff.sh, cut/paste this line into the terminal window on your device
bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/screensaveroff.sh)”
fixuppm2.sh, cut/paste this line into the terminal window on your device
bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixuppm2.sh)”
@peterpang Hi, you need to run the editor with root privileges “sudo vi …” or “sudo nano …”