Hacker News new | ask | show | jobs
by commoner 1971 days ago
The following Linux distributions support different scaling factors on different displays by default: Pop!_OS, Ubuntu (and GNOME-based derivatives), Linux Mint. Arch Linux, Manjaro, and all distributions using GNOME + Wayland can also enable mixed scaling with a quick setting change.

Pop!_OS (developed by System76) created its own HiDPI daemon to handle HiDPI and LoDPI displays on X11 at the same time:

https://github.com/pop-os/hidpi-daemon

https://blog.system76.com/post/174414833678/all-about-the-hi...

It is preinstalled on all System76 computers and enabled by default.

Ubuntu's fork of the Mutter display manager (used by its fork of GNOME) includes a patch to handle different display resolutions for HiDPI and LoDPI displays on X11:

https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/182085...

Ubuntu and all of its GNOME-based derivatives include this patch, unless it is specifically excluded by the maintainers.

Linux Mint implemented fractional display scaling, with different settings for each display, in Cinnamon 4.6:

https://blog.linuxmint.com/?p=3858

Arch Linux and Manjaro users can also choose Cinnamon as the desktop environment for the same features.

If you are using a GNOME on X11 on Manjaro, you can install the mutter-x11-scaling package to replace Mutter with a version that includes Ubuntu's changes:

https://gitlab.manjaro.org/packages/extra/mutter-x11-scaling...

https://github.com/puxplaying/mutter-x11-scaling

Finally, if you are using GNOME on Wayland, mixed scaling is already supported. To enable fractional scaling, activate the "scale-monitor-framebuffer" setting:

https://wiki.archlinux.org/index.php/HiDPI#GNOME

On Wayland, scaled applications that do not use GTK 3+ or Qt 5+ may appear blurry. This affects all Electron applications. X11 does not have the same issue, but Wayland is generally smoother and more stable than X11.