xdg-desktop-portal-gtk icon indicating copy to clipboard operation
xdg-desktop-portal-gtk copied to clipboard

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

Open AsciiWolf opened this issue 5 years ago • 3 comments

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

AsciiWolf avatar Sep 08 '20 09:09 AsciiWolf

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.

smcv avatar Sep 09 '20 13:09 smcv

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 avatar Aug 10 '22 01:08 jokeyrhyme

Ah, I just found/remembered #120

jokeyrhyme avatar Aug 10 '22 01:08 jokeyrhyme