如何使用 evince(不是 acrobat)在 Firefox 中打开 pdf?

kik*_*iki 3 firefox evince firefox-extensions

我已经安装了 mozplugger

sudo apt-get install mozplugger
Run Code Online (Sandbox Code Playgroud)

然后我将 /etc/mozpluggerrc 的 pdf 部分更改为以下内容:

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"
    ACROREAD()
    repeat noisy swallow(kpdf) fill: kpdf "$file"
    repeat noisy swallow(Xpdf) fill: xpdf -g +9000+9000 "$file"
    repeat noisy swallow(okular) fill: okular "$file"
    GV()
    repeat noisy fill exits: evince "$file"
Run Code Online (Sandbox Code Playgroud)

当然,我将pdf的应用程序设置设置为Mozplugger。

有时它有效,但大多数情况下它不起作用。我不知道为什么。我需要做什么?

rst*_*r78 6

Firefox 15 集成了 pdf 阅读器,默认情况下是禁用的,输入 about:config,搜索“pdfjs.disabled”并将其设置为“false”双击它。然后转到编辑首选项,然后转到应用程序搜索 pdf 扩展名,然后选择在应该适合您的 Firefox 中打开。