Fix different scaling between multiple monitors on Ubuntu (22.04+)

If you’re like me, and use a laptop with a 4k screen that is actually far too fine to see, so you run it at 200% UI scaling, you’ll find it frustrating when plugging in external monitors.

This is also an annoyance across all operating systems really, but in Ubuntu, there is a quirk in which a change using the settings menu will apply the same scaling across ALL monitors meaning one monitor will be too small, the other too large.

The good news is there is a pretty simple fix.

At a command line (open terminal) type:

gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']"

Then log out and in again, you can now individually change your monitor scaling to suit and no longer get frustrated with programs losing their minds when dragged between screens.