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

Rotate screen problem when MM starts

Scheduled Pinned Locked Moved Solved Troubleshooting
9 Posts 3 Posters 909 Views 3 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.
  • M Offline
    MisterT
    last edited by MisterT Jan 4, 2023, 7:06 PM Jan 4, 2023, 7:06 PM

    Hi everybody

    i need help about rotate screen when MM starts. I use a screen on vertical position for my MM.
    When i start my raspberry (pi3 b+ on bulleye and i used @sdetweil link to install MM) the boot logo is on horizontal position and when the graphical interface is shown, it’s on vertical position. (everything is ok, i used preference rotation to rotate the screen on right).
    After that, i start my MM with PM2 and MM starts vertically. But after 2 sec, the screen rotate on horizontal position and when i quit MM with Ctrl + Q, the graphical interface is also on horizontal position.

    Have you an idea ? (CSS on MM is blank)

    thx for next answers

    S 1 Reply Last reply Jan 4, 2023, 7:19 PM Reply Quote 0
    • S Away
      sdetweil @MisterT
      last edited by Jan 4, 2023, 7:19 PM

      @MisterT which is version is this?

      lsb_release -a

      will tell

      if u pm2 stop all, and then sudo reboot

      the system should come up without mm and that will be the orientation.

      as for the slash screen, the image has to beadenin that orientation.we only supply horizontal image

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      M 1 Reply Last reply Jan 4, 2023, 7:38 PM Reply Quote 0
      • M Offline
        MisterT @sdetweil
        last edited by Jan 4, 2023, 7:38 PM

        @sdetweil thx for your fast answer
        release is

        No LSB modules are available.
        Distributor ID: Raspbian
        Description: Raspbian GNU/Linux 11 (bullseye)
        Release: 11
        Codename: bullseye

        image below is my orientation screen. how i turn the black slash screen ?

        ![alt text]https://ibb.co/bK1s7Gc(image url)

        S 1 Reply Last reply Jan 4, 2023, 7:40 PM Reply Quote 1
        • S Away
          sdetweil @MisterT
          last edited by Jan 4, 2023, 7:40 PM

          @MisterT u have to edit the image and rotate it

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          M 1 Reply Last reply Jan 4, 2023, 7:52 PM Reply Quote 1
          • M Offline
            MisterT @sdetweil
            last edited by MisterT Jan 4, 2023, 7:53 PM Jan 4, 2023, 7:52 PM

            @sdetweil if i turn on left right or inverted, when i start MM screen rotate on normal position

            S 1 Reply Last reply Jan 4, 2023, 8:33 PM Reply Quote 0
            • S Away
              sdetweil @MisterT
              last edited by Jan 4, 2023, 8:33 PM

              @MisterT makes no sense.

              do
              pm2 stop all
              pm2 delete 0
              pm2 save

              then boot to rotated
              pm2 start installers/pm2_MagicMirror.json
              should be vertical
              then ctrl-m
              pm2 save

              then sudo reboot

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              M 1 Reply Last reply Jan 5, 2023, 7:29 AM Reply Quote 0
              • M Offline
                MisterT @sdetweil
                last edited by Jan 5, 2023, 7:29 AM

                @sdetweil thx for your support. i found the guilty module after 2 hours. it’s MMM-PIR-Sensor-Lite. There is an hidden rotate parameter and the default parameter is normal rotate. that’s why when MM starts there was a rotate screen on normal position.

                So for people with rotate problem when MM Starts and if you have MMM-PIR-Sensor-Lite, add this parameter in your config.js:

                rotation Direction of content rotation.

                Possible values: ‘normal’, ‘left’, ‘right’ or ‘inverted’
                Default value: ‘normal’

                S 1 Reply Last reply Jan 5, 2023, 12:30 PM Reply Quote 0
                • S Away
                  sdetweil @MisterT
                  last edited by Jan 5, 2023, 12:30 PM

                  @MisterT ah, the xrandr under the covers…

                  glad u found it. thanks for the feedback

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 1
                  • J Offline
                    jturczak
                    last edited by Jan 8, 2023, 5:26 AM

                    I don’t know about the Pi3, but on the Pi4 you just go to display settings and tell it to go vertical… easier than all this programming that I never got to work with my MM

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