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.
- Check your ports: Identify the available video outputs on your computer (HDMI, DisplayPort, USB-C, or VGA) and connect your monitors accordingly.
- Power on: Turn on both monitors before booting or while your Ubuntu system is running; the operating system should automatically detect the new hardware.
Accessing the Display Settings
Once your monitors are physically connected, you need to configure how Ubuntu handles the dual setup.
- Open the Activities overview by pressing the Super key (Windows key) or clicking Activities in the top-left corner.
- Type Settings and open the application.
- 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:
- Join Displays: This is the standard dual-monitor setup where your desktop space is extended across both screens, allowing you to drag windows from one to another.
- Mirror: Both monitors show the exact same image and resolution, which is ideal for presentations.
- Single Display: Turns off one of the monitors and uses only the selected one.
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:
- Resolution: Choose the native resolution of your monitor for the crispest image quality.
- Refresh Rate: If you have a high-refresh-rate monitor (like 144Hz), ensure it is selected here to get the smoothest performance.
- Scale: If you are using a 4K monitor alongside a 1080p monitor, you can use fractional scaling (e.g., 125% or 150%) to make text readable on the high-resolution display.
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.