Bug 339990

Summary: desktop-mime-but-no-exec-code lintian error when packaging.
Product: [Applications] kwordquiz Reporter: Scarlett Moore <sgmoore>
Component: generalAssignee: Peter Hedlund <peter>
Status: RESOLVED FIXED    
Severity: normal CC: lueck
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Patch using %u

Description Scarlett Moore 2014-10-15 13:10:33 UTC
Debian policy: The desktop entry lists support for at least one mime type, but does not provide codes like %f, %F, %u or %U for the Exec key.

If the application can indeed handle files of the listed mime types, it should specify a way to pass the filenames as parameters.

Reproducible: Always

Steps to Reproduce:
1. package
2. lintian error
3.


Expected Results:  
no lintian error
Comment 1 Scarlett Moore 2014-10-15 13:11:12 UTC
Created attachment 89144 [details]
Patch using %u

%u	A single URL. Local files may either be passed as file: URLs or as file path.
Comment 2 Burkhard Lück 2016-07-10 10:02:36 UTC
org.kde.kwordquiz.desktop in stable + master now has:
Exec=kwordquiz %u -qwindowtitle %c %i