I have the same problem when I embed evince onto firefox using mozillapluger. I found this is because evince snuffles file type according to the filename extension, but web plugins get web contents in a temp file without extension.

one working around is add xpdf as the first option at
/etc/mozpluggerrc
e.g.

application/pdf:pdf:PDF file
application/x-pdf:pdf:PDF file
text/pdf:pdf:PDF file
text/x-pdf:pdf:PDF file
        repeat noisy swallow(Xpdf) fill: xpdf -g +9000+9000 "$file"
        repeat noisy swallow(evince) fill: evince "$file"
        ACROREAD()
        repeat noisy swallow(kpdf) fill: kpdf "$file"
        GV()



On 4/9/06, sean <seandarcy2@gmail.com> wrote:
Since upgrading to fc5 firefox won't show pdf docs. I can
save the doc and open it in acroread, evince, etc.

When firefox tries to to show a pdf file I get an error window:

Unable to open document

Unhandled MIME type: 'application/octet-stream'

I've messed with mozpluggerrc to use acroread, then I tried
evince. Same problem.

FWIW, x86_64.

Any help appreciated

sean

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list