okularplugin 1.0.0 released

Linux, Okularplugin 5 Comments »

I’m happy to announce the first release of okularplugin. It allows embedded viewing of pdfs in browsers like Firefox, Chrome and Opera. Okularplugin is intended as a lightweight replacement for Adobe’s Acrobat Reader browser plugin.

For viewing documents okularplugin utilizes Okular – a universal document viewer for KDE. This means that you get the full power of Okular directly in your browser. The following file formats are currently supported by okularplugin:

  • pdf
  • ps
  • epub
  • tiff
  • djvu
  • chm
  • ps
  • cbr
  • fax

You can download it from here: Okularplugin v1.0.0 (33.7 kB) or directly from GitHub: Okularplugin v1.0.0 (tar.gz)

For installation instructions see Okular plugin for Firefox, Chrome/Chromium and Opera or the README file included in the archive.

Screenshots of okularplugin can be found here.

Enjoy!

Okular plugin for Firefox, Chrome/Chromium and Opera

Linux, Okularplugin No Comments »

Because of missing alternatives the Acrobat Reader was always my preferred application for embedded viewing of pdfs in Firefox. But now I use Okularplugin – a lightweight browser plugin that is intended for replacing Adobe’s Acrobat Reader.

Okularplugin integrates okular directly into Firefox (and Chrome and Opera). Here are some screenshots:

Okularplugin was initially created by jeremysanders. But looks like he is no longer interested in maintaining it, so I adopted it and improved many things since then. For example I optimized the layout for viewing in web browsers. Okularplugin is a plugin for NPAPI-compatible browsers. This means it works with Mozilla Firefox, Google Chrome / Chromium and Opera. Try it out yourself!

You can find the project page on GitHub: Okularplugin on GitHub

UPDATE: Version 1.0.0 is available. See “okularplugin 1.0.0 released” for more details.

Installation Instructions

(See Okularplugin on GitHub for the up-to-date version.)

Install dependencies:

Debian/Ubuntu:
$ sudo apt-get install gcc automoc cmake kdelibs5-dev
Gentoo:

Congrats! Nothing to do for you, continue to “Download & compile source”.

Download & compile source:

$ git clone https://github.com/afrimberger/okularplugin.git
$ cd okularplugin
$ mkdir build
$ cd build
$ cmake ..
$ make
$ sudo make install

Activate Plugin:

Firefox (32Bit and 64Bit):
$ mkdir -p ${HOME}/.mozilla/plugins
$ ln -s /usr/lib/libokularplugin.so ${HOME}/.mozilla/plugins
Chromium (32Bit and 64Bit):
$ sudo mkdir /usr/lib/chromium-browser/plugins
$ sudo ln -s /usr/lib/libokularplugin.so /usr/lib/chromium-browser/plugins
Chrome (32Bit and 64Bit):
$ sudo mkdir /opt/google/chrome/plugins
$ sudo ln -s /usr/lib/libokularplugin.so /opt/google/chrome/plugins