puxplaying / mutter-x11-scaling

Mutter build with Ubuntu patch for Xorg fractional scaling on Manjaro / Arch Linux
110 stars 8 forks source link

How to Build for Other Distributions #47

Open MichaelSatoshi1983 opened 3 months ago

MichaelSatoshi1983 commented 3 months ago

I'm currently using a rolling distribution of OpenSUSE with the Gnome desktop environment, but since my screen isn't friendly to GNOME Wayland's native fractional scaling and gets fuzzy, and I'd like to use xorg but there's no corresponding patch for it, I'd like to ask about how to build against OpenSUSE.

yochananmarqos commented 3 months ago

No matter what distro is used, one can do the same thing by applying the same Ubuntu patches.

For example, check the spec files for openSUSE and Fedora:

Keep in mind you're "barking up the wrong tree" here if you're not using Arch or an Arch based distribution.

You'll need to ask in the proper support channels for your distribution for further assistance.

puxplaying commented 3 months ago

Please also keep in mind that this patch-set is split in two parts, for Mutter and Gnome Control Center. To enable complete fractional scaling support, you would have to patch both packages, as pointed out by the developer here.

The Ubuntu patches can be found on their Gitlab.

For Mutter: https://salsa.debian.org/gnome-team/mutter/-/blob/ubuntu/latest/debian/patches/ubuntu/x11-Add-support-for-fractional-scaling-using-Randr.patch?ref_type=heads

For G-C-C: https://salsa.debian.org/gnome-team/gnome-control-center/-/blob/ubuntu/latest/debian/patches/ubuntu/display-Support-UI-scaled-logical-monitor-mode.patch?ref_type=heads

https://salsa.debian.org/gnome-team/gnome-control-center/-/blob/ubuntu/latest/debian/patches/ubuntu/display-Allow-fractional-scaling-to-be-enabled.patch?ref_type=heads

MichaelSatoshi1983 commented 2 months ago

Thanks so much