issue with digikam.desktop file
Steven Robbins <[email protected]> Mon, 18 Mar 2024 23:02:41 -0500
| Newsgroups | gmane.comp.kde.digikam.devel |
|---|---|
| Message-ID | <4905625.31r3eYUQgx@riemann> |
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
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEy89k8fa3rclNjyokyeVeL63I9LkFAmX5DmEACgkQyeVeL63I 9LnIaw//VhsE8K7+n3DjzsaVfAxI3u3e+G48nPAZHIfzKtv9e1PAFBo4m3aprhDh AFtw6SWLeWuXSnbzdOVwjGS0c3e1dv7k+g0Kpyk2vmXcMJQXZM4EBkq62dpHLVlL VfaTneOqcelS2cd208yEI+pqrAhh3mJxg6d5cVK8Y9h2PO5/CLDOpjlzL+NyXYbD FGk8FFgX+b52BF5oUvxbqwglQOKd8k7IwhRf2asjdBnbF1fBfqFavjdeNPIq64KY jwPP+YNKwVN9SIcY4Z0XaNjyTj8UbS/o83sND7dqarui1jnvEYsO7bIjB1NcvNvd kCdxPwiM9IBDwgPtWiLkU9d5EEHgXeQ6I5bharxvIcy8FPPY94umCmBJPRflcZAz 92PIAnLKfMD23ntcnVJnMUqCPvBF1F70q6WTx5LN5sQ1MOeMijdk3CqXIXJEMNnj SrhGSKIteCVLlpvlmHgCFuqueypWNLbCfnHXMS+ZkFRyol4ypffLDW/stuYXVjWS 3yfT4Em6yjREm9Ye+hE85YEt909UA9lcyJkpu5s9pD3bXm2HyI8mutHeomdDURo7 eR0StJaZ7RoXFKV0OUOkoD1XZcCswWn4T0L99Dsn4LEKenWza8aOjv1z8rzwoj7n YgwUaK3shqaMmALs6by9AVPkwJhBmU3rp6wLTH0SjGTCNZ++3dE= =y05R -----END PGP SIGNATURE-----