Chapter 22. Configuring the screen rotation

22.1. Configuring the screen rotation for a single user

This procedure sets screen rotation for the current user.

Procedure

  1. Go to the system menu, which is accessible from the top-right screen corner, and click the Settings icon.

    System menu

  2. In the SettingsDevices section, choose Displays.
  3. Configure the rotation using the Orientation field.
  4. Confirm your choice by clicking Apply.
  5. If you are satisfied with the new setup preview, click on Keep changes.

The setting persists to your next login.

Additional resources

22.2. Configuring the screen rotation for all users

This procedure sets a default screen rotation for all users on a system and is suitable for mass deployment of homogenized display configuration.

Procedure

  1. Prepare the preferable setup for a single user as in Configuring the screen rotation for a single user.
  2. Copy the transform section of the ~/.config/monitors.xml configuration file, which configures the screen rotation. An example portrait orientation:

    <?xml version="1.0" encoding="UTF-8"?>
    
    <transform>
      <rotation>left</rotation>
      <flipped>no</flipped>
    </transform>
  3. Paste the content in the /etc/xdg/monitors.xml file that stores system-wide configuration.
  4. Save the changes.

The new setup takes effect for all the users the next time they log in in the system.