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

rotating the screen doesn't work

Scheduled Pinned Locked Moved Solved Troubleshooting
4 Posts 3 Posters 1.0k 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.
  • A Offline
    AnduriI
    last edited by Sep 13, 2023, 1:19 PM

    Hey there,

    it’s been quite a while since I installed my MM.
    Now there was the time for an upgrade of the monitor and I decided to do it with a freshly installed pi to start fresh. That worked fine and I got it running very soon. Only problem is the rotation of the screen:
    As far as I know the old methom with boot/config.txt doesn’t work anymore, but I have to use xrandr.
    I can use DISPLAY=:0 xrandr --output HDMI-1 --rotate right in console to rotate, but when using @xrandr --output HDMI-1 --rotate right in /etc/xdg/lxsession/LXDE-pi/autostart it has no effect.
    What is to now correct way of doing it?

    Thanks a lot in advance,
    Anduril

      Operating System: Raspbian GNU/Linux 11 (bullseye)
                Kernel: Linux 6.1.21-v8+
          Architecture: arm64
    
    K A 2 Replies Last reply Sep 13, 2023, 7:22 PM Reply Quote 0
    • A Offline
      AnduriI
      last edited by AnduriI Sep 17, 2023, 6:36 PM Sep 17, 2023, 6:34 PM

      well the problem was I think about privileges to issue the xrandr command from a shell. I got it worked out with xhost + and it works fine now. Thanks a lot for your help.

      1 Reply Last reply Reply Quote 0
      • K Offline
        karsten13 @AnduriI
        last edited by Sep 13, 2023, 7:22 PM

        @AnduriI

        you can change this in the raspian os gui somewhere in the menu.

        See also https://forum.magicmirror.builders/topic/16795/rpi-3b-with-bullseye-can-t-rotate-screen/13

        1 Reply Last reply Reply Quote 0
        • A Offline
          ankonaskiff17 @AnduriI
          last edited by ankonaskiff17 Sep 15, 2023, 6:50 PM Sep 15, 2023, 5:44 PM

          @AnduriI is your @xrandr a copy/paste that @ symbol should not be there I don’t think

          You might want to read this which comes from the official Raspberry Pi site.
          Screenshot is of the Rotating your Screen function from my MM

          Rotating your Display

          Screenshot 2023-09-15 144032.png

          1 Reply Last reply Reply Quote 0
          • A Offline
            AnduriI
            last edited by AnduriI Sep 17, 2023, 6:36 PM Sep 17, 2023, 6:34 PM

            well the problem was I think about privileges to issue the xrandr command from a shell. I got it worked out with xhost + and it works fine now. Thanks a lot for your help.

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