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

Auto Black Screen (save mode of monitor?) after a few minutes

Scheduled Pinned Locked Moved Troubleshooting
11 Posts 2 Posters 3.4k Views 2 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.
  • P Offline
    PeterPang
    last edited by Feb 8, 2021, 10:03 AM

    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

    [Seat:*]
    #type=local
    #pam-service=lightdm
    #pam-autologin-service=lightdm-autologin
    #pam-greeter-service=lightdm-greeter
    #xserver-backend=
    #xserver-command=X -s 0 -dpms
    #xmir-command=Xmir
    #xserver-config=
    #xserver-layout=
    #xserver-allow-tcp=false

    W 1 Reply Last reply Feb 8, 2021, 10:46 AM Reply Quote 0
    • W Offline
      wishmaster270 Module Developer @PeterPang
      last edited by Feb 8, 2021, 10:46 AM

      @peterpang Hi,
      sdetweil wrote a script which can be used to disable the screensaver. You may look at GitHub.

      P 1 Reply Last reply Feb 8, 2021, 10:53 AM Reply Quote 0
      • P Offline
        PeterPang @wishmaster270
        last edited by Feb 8, 2021, 10:53 AM

        @wishmaster270 said in Auto Black Screen (save mode of monitor?) after a few minutes:

        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.

        W 1 Reply Last reply Feb 8, 2021, 10:59 AM Reply Quote 0
        • W Offline
          wishmaster270 Module Developer @PeterPang
          last edited by Feb 8, 2021, 10:59 AM

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

          P 2 Replies Last reply Feb 8, 2021, 11:01 AM Reply Quote 0
          • P Offline
            PeterPang @wishmaster270
            last edited by Feb 8, 2021, 11:01 AM

            @wishmaster270
            Thanks again , try later ^^

            1 Reply Last reply Reply Quote 0
            • P Offline
              PeterPang @wishmaster270
              last edited by Feb 9, 2021, 3:02 AM

              @wishmaster270
              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

              W 1 Reply Last reply Feb 9, 2021, 9:32 PM Reply Quote 0
              • W Offline
                wishmaster270 Module Developer @PeterPang
                last edited by Feb 9, 2021, 9:32 PM

                @peterpang Hi, that’s the right file. Simply add it at the end before the closing "

                P 1 Reply Last reply Feb 10, 2021, 3:37 AM Reply Quote 0
                • P Offline
                  PeterPang @wishmaster270
                  last edited by Feb 10, 2021, 3:37 AM

                  @wishmaster270
                  I try to add " consoleblank=0 " to the cmdline.txt ,
                  but
                  failed to save the document Permission denied
                  =,="
                  What I can do ?=.="
                  Please help

                  W 1 Reply Last reply Feb 10, 2021, 3:24 PM Reply Quote 0
                  • P Offline
                    PeterPang
                    last edited by Feb 10, 2021, 12:12 PM

                    https://github.com/sdetweil/MagicMirror_scripts

                    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)”

                    1 Reply Last reply Reply Quote 0
                    • W Offline
                      wishmaster270 Module Developer @PeterPang
                      last edited by Feb 10, 2021, 3:24 PM

                      @peterpang Hi, you need to run the editor with root privileges “sudo vi …” or “sudo nano …”

                      P 1 Reply Last reply Feb 11, 2021, 3:00 AM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        3/11
                        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