PSA: XWayland doesn't have to be blurry on GNOME

Posted by mort96@reddit | linux | View on Reddit | 67 comments

A lot of us who run GNOME Wayland try to avoid XWayland apps, because they're blurry when using DPI scaling.

Well, it turns out that since GNOME 47 (I think), GNOME has had a fix for this, it's just disabled by default. To enable the fix, follow these steps:

  1. Open Terminal and run: gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer', 'xwayland-native-scaling']"
  2. Log out and back in again

Your XWayland apps like Electron apps, Steam, LMMS, etc etc. should now work great.

Note: if text in Steam is too small, go to Steam Settings -> Interface and enable "Scale text and icons to match monitor settings".

You can check what version of GNOME you're using by going to Settings -> System -> About -Y System Details. It should have an entry called "GNOME Version". For me, it shows GNOME Version: 48, and Windowing System: Wayland.

If you're on KDE, you don't need to do anything, since KDE has had this fix implemented and enabled by default for ages now. I'm hoping GNOME will enable it by default soon.