Chapter 7. Configuring screen rotation


7.1. Configuring 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 Settings Devices 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

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

7.3. Configuring screen rotation for multiple monitors

In a multi-monitor setup, you can configure individual monitors with different screen rotation so that you can adjust monitor layout to your display needs.

Procedure

  1. In the Settings application, go to Displays.
  2. Identify the monitor that you want to rotate from the visual representation of your connected monitors.

    screen rotation multiple monitor gnome
  3. Select the monitor whose orientation you want to configure.
  4. Select orientation:

    • Landscape: Default orientation.
    • Portrait Right: Rotates the screen by 90 degrees to the right.
    • Portrait Left: Rotates the screen by 90 degrees to the left.
    • Landscape (flipped): Rotates the screen by 180 degrees upside down.
  5. Click Apply to display preview.
  6. If you are satisfied with the preview, click Keep Changes. Alternatively, go back to the original orientation by clicking Revert Changes.
Red Hat logoGithubRedditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance. Découvrez nos récentes mises à jour.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez le Blog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

© 2024 Red Hat, Inc.