Multiple mime types per single application

Hi,

I was told that GNOME requires/suggests use of multiple .desktop files for a single application if it supports different file formats (MimeTypes).

Why is that the case? Does overriding default application for one of listed mime types override other as well or is there some other reason.

I’m annoyed by packaging of application whose authors suggested so because it causes 10+ entries for the same application to show up in some application pickers, so I want to check whether that’s the case, or whether it was historically and reasoning behind it. Basically, the .desktop files are identical (even the name & Exec) except for the MimeType field.

Point of this post isn’t to flame, I’d just like a more in-depth explanation than “GNOME for some reason” so I’m asking here because people on this discourse might be able to offer better insight.

Multiple MIME types can be specified in a single .desktop file by separating them with semicolons.

Right, I know that but thanks for the response. I’m wondering what the reason would be to deliberately do the opposite.

What app specifically are you talking about?

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.