On Sun, 05 Dec 2021 at 22:45:57 +0100, Sophie Herold wrote: > xdg-desktop-portal-gtk is recommended but lost some functionality to xdg- > desktop-portal-gnome. I'm not exactly sure how this works but I think xdg- > desktop-portal-gnome should be added to the recommendations as well?
Each desktop environment that wants first-class-citizen support for Flatpak apps should pull in its appropriate x-d-p backend as part of the desktop. For example, gnome-core (>= 1:41+1) does this for GNOME. What we would really want to say in the Flatpak package is something like "Depends: x-d-p-gnome if you use GNOME, or x-d-p-kde if you use KDE, or x-d-p-wlr if you use Sway, or x-d-p-gtk otherwise", but there's no way to express that in apt/dpkg dependency syntax, so we have to rely on desktop environments to pull in the right backend for us. It also scales better if the maintainer of x-d-p is not required to know about every desktop environment! It would seem inappropriate for Flatpak to recommend xdg-desktop-portal-gnome, because xdg-desktop-portal-gnome is GNOME-specific and not intended to work on other desktop environments (it might also work in Budgie, I'm not 100% clear on how they relate, but will certainly not work as intended in GNOME forks like MATE and Cinnamon). Are you using GNOME, or some other desktop environment? smcv