Fix for GTK flatpak apps fonts and formatting looking terrible

Hi,

Just wanted to share a fix for GTK Flatpak’s looking terrible on Manjaro (font not antialiased, correct size, cursor wrong etc.)

If you install Flatseal from flathub it will display the issue on vanilla Manjaro.

The issue is fixed if xdg-desktop-portal-gtk package from the official repo’s (extra) is installed (and the computer rebooted). Visually it is night and day.

I was wondering if the package could be installed with Manjaro as default given Manjaro’s support for flatpaks. This would greatly improve the flatpak experience on Manjaro.

Have to ask why xdg-desktop-portal instead of xdg-desktop-portal-gtk or xdg-desktop-portal-kde is installed?

From what I understand xdg-desktop-portal is a front end for the other more specialized implementations on the back end (the gnome, gtk, kde specific packages).

Gtk3 and earlier apps in particular seem to need the xdg-desktop-portal-gtk package.

Not sure I understand flatpaks portals enough to fully understand.

There’s an explanation on their Github