On Wed, 2021-02-17 at 19:26 +0000, Thomas Kluyver wrote: > One way to address this is to ship a list of default apps - e.g. > Fedora associates image/jpeg with Eye of Gnome by default. Fedora > appears to set this regardless of desktop, but the mime-apps spec > (https://specifications.freedesktop.org/mime-apps-spec/1.0.1/ ) > allows for both desktop specific defaults and a sequence of defaults > from which it will use the first available.
Not quite. There used to be only one file matching all the desktops for the longest time, and nobody ever complained because nobody seems to have run into the problem of launching GNOME apps on KDE because the GNOME apps were never installed. I split it off anyway so that I could stop maintaining the shared-mime- info package and not have anyone who might come in's decisions about what the best default image viewer is impact GNOME. Here's the GNOME configuration: https://src.fedoraproject.org/rpms/gnome-desktop3/blob/rawhide/f/gnome-mimeapps.list Other files in the same directory will show you how it's made. GNOME also ships with a "default applications" settings panel which make sure that, for example, the image viewer selected is the one that opens all the image types it supports by default. _______________________________________________ xdg mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/xdg
