Exec=sh -c "some command' %k
No info in
man sh and
man exec on %k.
What does %k mean here?
According to the Desktop Entry Specifications:
%k The location of the desktop file as either a URI (if for example gotten from the vfolder system) or a local filename or empty if no location is known.
What is not obvious from your example at first sight is that
sh -c '...' (if that is POSIX
/bin/sh and not symlinked to csh) sets positional arguments starting at
$0, which means
$0 will be whatever is