Bug#658139: evince: missing mime entry
On Wed, Feb 29, 2012 at 04:59:32PM +0100, Raphael Hertzog wrote:
> Russ Alberry gave some tentative spec for such a tool:
> [🔎] 87k446oqzh.fsf@windlord.stanford.edu">http://lists.debian.org/[🔎] 87k446oqzh.fsf@windlord.stanford.edu
Quoting this mail:
I think one has to make the
assumption that one can add %s after Exec in order to load a file, since
the desktop entry doesn't have an equivalent of the command.
So in such a tool some kind of wild guessing is involved even if I do
not know any tool which contradicts this guess. It was discussed in
this thread that mime contains more features than you can drain from
desktop files and that it is definitely not straightforeward to turn the
proposed "one liner that does 50%" of the job into a simple tool which
does 100%.
I'd consider the "chance to write something which might probably work in
most cases" as a weak excuse to drop a solution that worked for years
and would continue working quite reasonable. I agree that duplication
of code/data is something that should be prevented, but it is actually
not a large amount of data which is duplicated nor does it have a great
history of frequent changes.
Kind regards
Andreas.
--
http://fam-tille.de
Reply to: