How to Set Primary Monitor in Ubuntu Display Settings

Connecting multiple displays to an Ubuntu desktop or laptop boosts productivity by providing expansive workspace for coding, writing, and multitasking. However, when an external monitor is plugged in, GNOME may designate the smaller laptop screen or a secondary screen as the primary display. This causes application windows, desktop notifications, and authentication prompts to appear on the wrong monitor.

In Ubuntu, configuring your primary display takes only a few clicks through the graphical Displays panel. Here is how to set your primary monitor and arrange multiple displays in Ubuntu.


Step-by-Step: Setting the Primary Display in Ubuntu Settings

  1. Open the Settings application from your Ubuntu dock or press the Super key and search for “Settings”.
  2. In the left sidebar, click on Displays.
  3. At the top of the Displays window, you will see graphical representations of your connected screens labelled with numbers (such as 1 and 2).
  4. Click on the monitor graphic that you want to establish as your main display.
  5. Look below the monitor arrangement diagram for the display configuration options.
  6. Locate the option labelled Primary Display.
  7. Click the drop-down menu or toggle switch beside it and set your selected screen as the Primary Display.
  8. Click the green Apply button in the upper-right corner of the window.
  9. A confirmation prompt will appear with a 20-second countdown. Click Keep Changes to lock in your configuration.

Once applied, your top bar, notification pop-ups, and default app launcher locations will centre around your newly selected primary monitor.


Arranging Display Positions to Match Your Physical Desk Layout

If your mouse pointer gets caught at the edge of the screen or jumps unintuitively when moving between monitors, your virtual display positions do not match your physical setup:

  1. In Settings > Displays, click and drag the numbered monitor boxes to match where your monitors physically sit on your desk (for example, placing Screen 2 to the right or above Screen 1).
  2. Ensure the top or bottom edges align smoothly so your mouse pointer moves naturally between screens.
  3. Click Apply and confirm with Keep Changes.

Configuring the Ubuntu Dock on Multiple Displays

You can also decide whether the Ubuntu dock appears solely on your primary monitor or across all connected screens:

  1. In Settings, click on the Ubuntu Desktop tab in the sidebar.
  2. Locate the Dock section.
  3. Find the setting labelled Show on.
  4. Select Primary display to keep the dock strictly on your main screen, or choose All displays if you want a launcher on every monitor.

Frequently Asked Questions

What happens if I disconnect my external primary monitor?

Ubuntu automatically detects disconnected displays and shifts the primary desktop role back to your built-in laptop screen immediately without crashing open applications.

Why does my screen revert if I do not click ‘Keep Changes’?

Ubuntu includes a 20-second safety rollback timer. If an unsupported resolution or faulty cable prevents you from seeing the screen, Ubuntu will safely revert to your previous working configuration automatically.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.