LibreOffice: Difference between revisions

From NixOS Wiki
imported>Nix
m Nix moved page Libreoffice to LibreOffice: match official casing
imported>Haizaar
No edit summary
Line 14: Line 14:
}
}
</syntaxHighlight>
</syntaxHighlight>
== KDE / Plasma ==
If you use KDE (Plasma) then you'll be better off with <code>libreoffice-qt</code> package. Otherwise you may lack, e.g. main menu bar.


[[Category:Applications]]
[[Category:Applications]]

Revision as of 04:54, 1 June 2022

LibreOffice is a multi-platform Word-processor.

uno Python Library

For getting uno.py python library to work the special path /lib/libreoffice/program needs to be included into the python path as well as the URE_BOOTSTRAP variable must be set.

let
  office = libreoffice-fresh-unwrapped;
in {
  environment.sessionVariables = {
    PYTHONPATH = "${office}/lib/libreoffice/program";
    URE_BOOTSTRAP = "vnd.sun.star.pathname:${office}/lib/libreoffice/program/fundamentalrc";
  };
}

KDE / Plasma

If you use KDE (Plasma) then you'll be better off with libreoffice-qt package. Otherwise you may lack, e.g. main menu bar.