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