From The Document Foundation Wiki
Jump to: navigation, search

This page was marked as inactive and is retained for historical reference.
Either the page is no longer relevant or consensus on its purpose has become unclear. To revive discussion, seek broader input via a forum such as one of our mailing lists.

npsoplugin is a NPAPI⁠Wikipedia logo v3.svg library that allows to render LibreOffice documents directly in a browser. The plugin will be removed in LibreOffice 4.4 (see release notes and this blog)

With “Enable NPP_Initialize/Shutdown again” fixed on recent LibreOffice master towards LibreOffice 4.0, what works for me against a firefox-16.0.2-1.fc17.x86_64 is:

  • Create a symlink ln -s .../program/ ~/.mozilla/plugins/ (or let LibreOffice do that for you via “Tools - Options... - Internet - Browser Plug-in - Display documents in the browser”)
  • sudo setenforce Permissive (instead of “Enforcing”) to prevent /usr/lib64/xulrunner/plugin-container from failing to mmap as PROT_READ|PROT_EXEC with EACCES.
  • Run firefox and open some URL pointing at a .odt file; soffice should start in the background and the document display in the browser window.

Known Problems