Raspbian – Rotate Screen


If you need to rotate your screen in Raspbian you will find that it is not as simple as you are used to.

GPU memory split

Since screen rotation requires a little more from Raspberry GPU, you need to increase its memory.
In a terminal:

$ sudo raspi-config

And you will be present with the following screens:


To actually rotate your screen, in a terminal:

$ sudo leafpad /boot/config.txt

and add the following lines at the end of the file:

# Rotate screen

Where [X] is one of the following:

  • 0 – Normal
  • 1 – Rotate 90º
  • 2 – Rotate 180º
  • 3 -Rotate 270º
  • 0x10000 – Flip horizontally
  • 0x20000 – Flip vertically

Now you just need to restart or logout/log in and your screen is rotated.

This entry was posted in Raspberry Pi and tagged , , , , , , . Bookmark the permalink.

4 Responses to Raspbian – Rotate Screen

  1. Khan Whiffle says:

    A thousand thanks….

  2. papabear says:

    I’ve grown some grey hair before I finding your solution — you’ve made my day!!!

    thanks a lot for sharing.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s