Bug#788325: easytag: Don't register as default handler for directories

James Cowgill james410 at cowgill.org.uk
Fri Jun 19 19:38:54 UTC 2015


On Fri, 2015-06-19 at 20:51 +0200, "IOhannes m zmölnig (Debian/GNU)" wrote:
> installing the easytag package adds an entry to my /etc/mailcap file,
> that registers easytag as a program to "display non-text [directories]
> at the local site" (from mailcap(5), with a clarification by me in
> brackets).
> now i think that this is the main problem: easytag's desktop files
> declares that it *can* handle directories. (i guess the use case is that
> in your favourite filesystem browser you ought to be able to right-click
> on a directory and be presented with a list of applications that could
> handle that directory; having easytag in that list makes total sense to
> me). however, this declaration somehow makes the package installation
> process believe that it *should* handle directories (which is plain
> wrong), by adding an entry to /etc/mailcap.
> 
> most likely the problem is with the packaging (not necessarily the
> easytag package per se, but maybe the tools used).
> 
> according to update-mime(8), it *is* possible to add priorities to
> mime-types (for exactly the kind of problem we are facing).
> right now, easytag does not do anything special to register the
> mime-type handler, so it seems that the packaging should actively lower
> the priority.

I think you could reorder the easytag entries in /etc/mailcap by doing
some stuff with update-mime. However it won't fix this problem because
desktop environments (including xdg-open and gnome-open) don't read
/etc/mailcap, they read the mimeapps.list files. I can't see any way to
set priorities for those (only user and desktop environment overrides).
http://standards.freedesktop.org/mime-apps-spec/mime-apps-spec-1.0.1.html

Thanks,
James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20150619/b930cbac/attachment-0001.sig>


More information about the pkg-multimedia-maintainers mailing list