xdg-desktop-portal-gtk
xdg-desktop-portal-gtk copied to clipboard
[RFE] Display GNOME Software related strings only when running GNOME
Currently, there are some strings regarding GNOME Software being displayed to the user:
"No apps installed that can open “%s”. You can find more applications in Software" "No suitable app installed. You can find more applications in Software." "_Find More in Software" "Failed to start Software"
However, these strings are displayed on all systems, including ones without GNOME Software installed. It could be a good idea to hide these UI elements if the system is not running GNOME (for example Linux Mint) or if GNOME Software is not installed (for example Ubuntu or Manjaro).
This is part of the wider issue that xdg-desktop-portal-gtk has two roles:
- the portal implementation for GNOME
- the fallback portal implementation used for desktop environments that don't provide their own (many of which are GTK-based, such as XFCE, MATE, Cinnamon, LXDE)
and there's tension between those roles. For example, it's registered as an implementation of screencasting and remote desktops, but that won't actually work unless running under a Mutter-based compositor like GNOME Shell.
Now that xdg-desktop-portal-gnome exists, could this issue be resolved by making xdg-desktop-portal-gtk more neutral out-of-the-box and allowing ..-gnome to be where all the GNOME-specific behaviour lives?
Ah, I just found/remembered #120