I don't think this is quite fixed. I have my laptop display set to 2048x1152 and it connects fine to an external monitor via thunderbolt running the full 2560x1440 resolution but when disconnecting the display would reset to default 2560x1440 resolution with 200% scaling.
After reading this bug report about fractional scaling, I disabled the option and now disconnecting the display from the laptop it returns to my preferred 2048x1152 with 100% scaling. I am using the latest mutter version: dpkg -s libmutter-6-0 | grep Version Version: 3.36.2-1ubuntu1~20.04.1 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to mutter in Ubuntu. https://bugs.launchpad.net/bugs/1825593 Title: Display scale not remembered when X11 Fractional Scaling is enabled Status in mutter package in Ubuntu: Fix Released Status in mutter source package in Focal: Fix Released Bug description: [ Impact ] After upgrading to 19.04, I enabled the experimental 'x11-randr- fractional-scaling' setting. If I set scaling to 125, 150, or 200%, the setting is remembered and used the next time I log in. If I set scaling to 100%, however, the next time I log in the scaling switches back to 200% automatically. I only want to use fractional scaling for external monitors. [ Test case ] - Use a multi-monitor setup - Enable Fractional scaling under X11 (from display settings) - Setup mixed-DPI settings in gnome-control-center - Log-out - Log-in again + Settings should be preserved [ Regression potential ] It's not possible to set some scaling combinations any more with multiple or single monitors. - Configuration is not restored at all. [ Known issue ] Monitor settings won't be preserved disabling fractional scaling or enabling it in the wayland session. ----- Background: This is on a Dell XPS 9360 with a 1920x1080 ~168 DPI screen. Pretty standard configuration. I have my DisplaySize set to 294x165 in Xorg.conf, Xft.dpi=168, GTK font scaling factor 1.0. I have been unable to find an appropriate combination of settings where 168 DPI is respected for accurate font rendering, while at the same time not scaling up the rest of the UI to unusable proportions. Fractional scaling seems to be the only way to adjust some Gnome UI elements. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1825593/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp