Hi all we just connected a Raspberry Pi to a TV which is turned on its side, in a vertical/portrait orientation.
Can anyone advise how we can do it as quickly as possible please?
Its connected via HDMI
Thanks
Hi all we just connected a Raspberry Pi to a TV which is turned on its side, in a vertical/portrait orientation.
Can anyone advise how we can do it as quickly as possible please?
Its connected via HDMI
Thanks
Hey ramzam82 ,
Are you running Raspberry Pi OS on the Raspberry Pi?
EDIT 2026-05-07: colporteur is right. It depends on the version of the Pi. This is why cstanton asked. I only tried it on my Pi3.
Welcome to playing with the Raspberry Pi. This worked on my Pi3.
Open a Terminal Window. That's the black square in the upper left -ish area of your screen. For you... you may have to lean left or right for a bit for decent orientation, but this is a quick fix.
In the terminal window...
sudo nano /boot/config.txt
Add display_rotate=1 to the bottom of the filePress Ctrl+X, Press Y, Press Enter
sudo reboot
Good luck.
+1 to this. I'm pretty sure this is how I did it for a project that required a rotated screen. Just to add to this, =1 is a 90 degree rotation, =2 would be 180, and =3 would be 270.
The fix may worked based on context. When I had to do this, it was depended on Raspberry Pi OS version. I also recall hardware version had something to do with it being successful.
I have no Pi's to try it but figured I'd add my context input.
colporteur You are right. I tried it on my Pi400 and nothing happened on reboot. Maybe that was why the OP asked the question. I editted my original response.