issue with digikam.desktop file

Steven Robbins steve at sumost.ca
Tue Mar 19 04:02:41 GMT 2024


Hi,

While packaging for debian, the "lintian" tool noted an issue with the desktop 
file:

W: digikam: desktop-mime-but-no-exec-code [usr/share/applications/
org.kde.digikam.desktop]
N: 
N:   The named desktop entry indicates support for at least one MIME type, but 
does not provide a code like %f, %F, %u or %U in the Exec key.
N:   
N:   If the application can in fact handle files of the given MIME types, the 
menu item should somehow pass those filenames as parameters to the executable.

My reading of the spec [1] suggests this is correct, as it states:

    Registering MIME Types

The MimeType key is used to indicate the MIME Types that an application knows 
how to handle. It is expected that for some applications this list could 
become long. An application is expected to be able to reasonably open files of 
these types using the command listed in the Exec key.

I don't think digikam allows specifying files on the command line; so it seems 
that the MimeType line should be removed?

-Steve


[1] https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20240318/00e58e47/attachment.sig>


More information about the Digikam-devel mailing list