Applications in GUI environments represented by desktop entries (files with the
desktop extension) can include a key called
MimeType for supported MIME types for that application.
Some applications have several desktop entries for (possibly optional) sub components, which lists different supported MIME types.
For example, Okular, have (in
- ... and so on.
Which all run the same command:
What is the correct way to associate MIME type with applications that have multiple desktop entries, in a
The first one seems incorrect since
org.kde.okular.desktop does not specify the MIME type as supported.
If both work equally well, then is there any convention?
If there are no correct way or convention, then that is a fine answer.