On 8/13/07, _saiko <[EMAIL PROTECTED]> wrote:
> thx this really helped!
>
> but something obviously isn't working as supposed here.
> when i go to a link that has let's say .mpg extension here's what opens:
> http://pub.insanity.in/img/scrshot/download1.png
>
> then i go and use the browse button to find the handler app binary and
> immediately after i find it i get this:
> http://pub.insanity.in/img/scrshot/download2.png
>
> sadly next time when i try to open the same link there's again the
> browse button and no handler app availlable
>
> With the mimeedit plugin i get a situation like in the first sshot but
> when i select the open option (even when there's supposedly no handler
> defined as there's only the browse button) and press OK the file opens
> with handler app defined with mimeedit
>
> on my other archlinux testing instalation some extensions have default
> handler app, eg squeeze.
> It MUST be some file that's directing this!
> it's a real pain when using FF and having this issue
>
> hope somebody finds a solution

I think we're all missing some important information here.

First off, firefox finds mime handlers in numerous ways. First, it
tries to access whatever gnome service controls these associations (I
don't know what it is... start up gnome, run firefox and try these
things, and you'll see).
There are a few other things it tries, but lastly, it tries
/etc/mailcap and ~/.mailcap.

Mailcap is the "coolest" one to me, but it is also the hardest to deal
with. This file has a really complex syntax, and, additionally, is
hard to manually fidget with.

Mailcap, like any good oldschool unix config file, does only exactly
what you tell it, and nothing more. It can not be dynamically
configured to, say, use .desktop files or anything like that.

Mailcap fails. It could easily be one of the most powerful formats,
but it is not.

Here is an example mailcap file I use with mutt. I do not let firefox
use this, as firefox gets things wrong more often than not and I don't
have hours to spend playing with an esoteric config file format.

_______________________________________________
arch mailing list
arch@archlinux.org
http://archlinux.org/mailman/listinfo/arch

Reply via email to