Bug#647272: mailcap deprecated?

Josselin Mouette joss at debian.org
Wed Nov 16 18:18:02 UTC 2011


First of all, please use a mail client that honors Reply-To correctly.

Le mercredi 16 novembre 2011 à 13:12 -0500, Michael Leuchtenburg a
écrit : 
> On 2011-11-16 12:36, Josselin Mouette wrote:
> > I’d say it is a bug in xdg-open to rely on mailcap as a fallback.
> > It should use the mechanisms in gio as soon as they are available.
> 
> xdg-open uses mailcap as a first choice, not a fallback, if there is
> no DE detected.

Yes this is what I meant. It could be used as a fallback, but using it
by default if no DE is detected is absolutely brain-dead.

> Note that xdg-open is a shell script - it just detects the DE and
> calls the appropriate thing. With no DE, it first tries run-mailcap
> and then mimeopen. There doesn't appear to exist a "gio-open" or
> similar so it couldn't easily use gio.

That would be gvfs-open in gvfs-bin. Unlike run-mailcap or whatever
crap, it will correctly handle defaults depending on the current DE.

> Also, I don't seem to have
> anything that appears to allow opening files using a MIME database in
> /usr/lib/gio/modules, so that would clearly not work here. I'm not
> sure in what environment it *would* work; maybe yours?

It’s builtin in gio, what are you looking for in /usr/lib/gio/modules?

-- 
 .''`.      Josselin Mouette
: :' :
`. `'
  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20111116/f895c620/attachment.pgp>


More information about the pkg-gnome-maintainers mailing list