flatpak / xdg-desktop-portal-gtk

Gtk implementation of xdg-desktop-portal
GNU Lesser General Public License v2.1
129 stars 100 forks source link

[RFE] Display GNOME Software related strings only when running GNOME #326

Open AsciiWolf opened 4 years ago

AsciiWolf commented 4 years ago

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).

smcv commented 4 years ago

This is part of the wider issue that xdg-desktop-portal-gtk has two roles:

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.

jokeyrhyme commented 2 years ago

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?

jokeyrhyme commented 2 years ago

Ah, I just found/remembered #120