Mozplugger does not work for PDF files

Mohamed El Morabity pikachu.2014 at gmail.com
Mon Feb 7 01:56:39 UTC 2011


Le dimanche 06 février 2011 à 13:07 -0500, Sam Varshavchik a écrit :
> Does anyone have mozplugger working for them for PDF files? Not sure if I 
> have something broken, or if its a mozplugger bug. Opening links with PDF 
> files downloads them as any other file, instead of being opened with evince 
> inside a Firefox window.
> 
> Mozplugger seems to be working for other filetypes. mp3 files get opened in 
> totem, inside Firefox.
> 
Hi,

to make mozplugger work with Evince, I had to add the following lines in
the ~/.mozplugger/mozpluggerrc file:

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(evince) fill: evince "$file"
        repeat swallow(acrobatreader) fill: acroread -geometry +9000
+9000 +useFrontEndProgram -tempFileTitle acrobatreader "$file"
        repeat noisy swallow(win) fill: xpdf -g +9000+9000 "$file"
        repeat noisy swallow(gv) fill: gv -safer -quiet -antialias
-geometry +9000+9000 "$file"

application/x-postscript: ps: PostScript file
application/postscript: ps: PostScript file
        repeat noisy swallow(evince) fill: evince "$file"
        repeat noisy swallow(gv) fill: gv -safer -quiet -antialias
-geometry +9000+9000 "$file"
        repeat swallow(Pageview) fill: pageview "$file"

(taken from a French mozplugger tutorial for Ubuntu)



More information about the users mailing list