You are not logged in.

#1 2006-05-28 19:56:23

Searinox
Member
Registered: 2004-09-14
Posts: 44

mozplugger + evince + pdf = Unhandled MIME type

Hi!
I have the following problem: Whenever I click a PDF link in firefox, mozplugger tries to invoke evince which then says "Unhandles MIME type: application/octet-stream".
This has happended with every pdf I've been trying to open for quite some time.
Opening local pdfs with evince works perfectly, though.
I did not change mozpluggerrc and followed the rules for installing mozplugger (deleted ~/.mozilla/pluginreg.dat).
Thanks in advance!

Offline

#2 2006-07-31 22:55:45

wiremore
Member
Registered: 2005-08-23
Posts: 43

Re: mozplugger + evince + pdf = Unhandled MIME type

bump. I have been having this same problem. It's very annoying. Someone must have a solution?

Offline

#3 2006-07-31 23:16:25

wiremore
Member
Registered: 2005-08-23
Posts: 43

Re: mozplugger + evince + pdf = Unhandled MIME type

I get fed up and fixed it. If anyone else has this problem, copy this into a file somewhere in your path (I used ~/bin). This should be pretty self explanitory

#!/bin/sh
name=$1
final=/tmp/`basename $name`.pdf
cp $name $final
shift
evince $final $*
rm $final

then, replace the line
repeat noisy swallow(evince) fill: evince "$file"
with
repeat noisy swallow(evince) fill: evince_mime_fixer.sh "$file"

replace evince_mime_fixer.sh with whatever you called your script.

Offline

Board footer

Powered by FluxBB