How to Configure Dual Monitors on Ubuntu?

Configuring a dual monitor setup on an Ubuntu desktop is a straightforward process that can significantly boost your productivity. By utilizing the built-in system displays settings, you can easily arrange your screens, adjust resolutions, and set primary displays without needing complex command-line tools. This guide will walk you through the essential steps to connect, configure, and troubleshoot multiple monitors on your Ubuntu system.

Connecting Your Monitors

Before diving into the software settings, ensure your physical connections are secure.

Accessing the Display Settings

Once your monitors are physically connected, you need to configure how Ubuntu handles the dual setup.

  1. Open the Activities overview by pressing the Super key (Windows key) or clicking Activities in the top-left corner.
  2. Type Settings and open the application.
  3. Scroll down the left sidebar and click on Displays.

Arranging and Customizing Your Screens

In the Displays panel, you will see a visual representation of your connected monitors. Here is how to customize them to match your physical desk layout:

Drag and Drop Alignment

You can click and drag the virtual screens to match their actual physical positions on your desk. For example, if your secondary monitor is on the left, drag its virtual counterpart to the left of the primary screen. This ensures your mouse moves seamlessly between monitors.

Choose a Display Mode

Ubuntu offers three primary display modes for multiple monitors:

Setting the Primary Monitor

The primary monitor is where your top bar, activities overview, and app launcher appear by default. To set it, click on the monitor layout image that you want as your main screen, and toggle the Primary Display option to active.

Adjusting Resolution and Refresh Rate

Select each monitor individually within the settings panel to adjust its specific properties:

Applying Your Changes

After configuring your preferences, click the Apply button in the top-right corner of the window. Ubuntu will update your screens and show a confirmation prompt. Click Keep Changes if everything looks correct. If the settings cause an issue or a black screen, do not press anything; Ubuntu will automatically revert to your previous settings after 20 seconds.