Bug 339975

Summary: Lintian error while packaging.
Product: [Applications] cantor Reporter: Scarlett Moore <sgmoore>
Component: generalAssignee: Alexander Rieder <alexanderrieder>
Status: RESOLVED NOT A BUG    
Severity: normal CC: filipe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Patch using %u

Description Scarlett Moore 2014-10-15 10:52:39 UTC
Debian specification desktop-mime-but-no-exec-code entails:
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 cantor with debuild/lintian
2. lintian error
3.


Expected Results:  
No lintian error
Comment 1 Scarlett Moore 2014-10-15 10:54:24 UTC
Created attachment 89136 [details]
Patch using %u

This patch uses
%u	A single URL. Local files may either be passed as file: URLs or as file path.
Comment 2 Scarlett Moore 2014-10-15 11:06:48 UTC
Comment on attachment 89136 [details]
Patch using %u

%u	A single URL. Local files may either be passed as file: URLs or as file path.
Comment 3 Filipe Saraiva 2016-05-08 14:34:58 UTC
Hi Scarlett, do you know if this bug is valid yet?

Currently Cantor has the follow line in .desktop file:
Exec=cantor %i -qwindowtitle %c %U

Is it enough?
Thanks!
Comment 4 Scarlett Moore 2016-12-12 21:39:06 UTC
Yes it looks like this is now fixed. feel free to close. Thanks,
Scarlett
Comment 5 Filipe Saraiva 2017-04-28 19:02:56 UTC
Thanks Scarlett!