How to Stop Ubuntu from Automatically Changing the Display Resolution

The Scaling Confusion

Ubuntu is designed to support a wide array of monitors, from standard 1080p displays to high-density 4K screens (HiDPI). To ensure text and icons remain readable, Ubuntu employs a feature called “Fractional Scaling.” When you connect a new monitor, or sometimes when you wake the computer from sleep, the display server (Wayland or X11) attempts to query the monitor’s EDID data to determine its physical size and optimal resolution. If this handshake fails or yields confusing data, Ubuntu might automatically change your display resolution or aggressively alter the scaling factor (e.g., jumping from 100% to 200%), rendering everything on your screen comically large or impossibly tiny.

Locking the Display Settings

To maintain a consistent visual experience and stop Ubuntu from automatically changing the display resolution or scaling factor, you must explicitly define your preferences in the Display settings.

Click the system menu in the top-right corner of your screen and select Settings. In the left-hand sidebar, click on Displays. Here, you will see a visual representation of your connected monitors. Click on the monitor that is behaving erratically. First, ensure the Resolution dropdown is explicitly set to the monitor’s native resolution (e.g., 1920×1080 or 3840×2160), rather than relying on any “Auto” setting. Secondly, look at the Scale options below it. Select the exact percentage you want (usually 100% for standard monitors, or 150%/200% for 4K laptops). Click the green Apply button at the top right. By manually defining both of these parameters, you override the system’s attempts to auto-guess the correct settings upon boot or connection.

Get the best tech tips delivered straight to your inbox.

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