issue with digikam.desktop file

Gilles Caulier caulier.gilles at gmail.com
Tue Mar 19 07:04:58 GMT 2024


Hi Steven,

digiKam does not have a direct argument to pass a file. Only a series
of options allows you to change settings as config file or database.

In contrast, Showfoto allows passing directly an argument to open a
file or a directory.

Best

Gilles



Le mar. 19 mars 2024 à 05:03, Steven Robbins <steve at sumost.ca> a écrit :
>
> 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


More information about the Digikam-devel mailing list