ONLYOFFICE: Difference between revisions

m Vuhoanghuynh02 moved page Onlyoffice to ONLYOFFICE: Misspelled title
DHCP (talk | contribs)
m style fixes
 
(3 intermediate revisions by 3 users not shown)
Line 5: Line 5:
Add following line to your configuration to enable ONLYOFFICE
Add following line to your configuration to enable ONLYOFFICE


{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{{file|/etc/nixos/configuration.nix|nix|3=<nowiki>
environment.systemPackages = [ pkgs.onlyoffice-bin ];
environment.systemPackages = [ pkgs.onlyoffice-desktopeditors ];
</nowiki>}}
</nowiki>}}


Line 13: Line 13:
=== Install and use missing corefonts ===
=== Install and use missing corefonts ===


According to one [https://github.com/ONLYOFFICE/DocumentServer/issues/1859 upstream bug] ONLYOFFICE is unable to locate font files on NixOS. A workaround is to install missing or additional fonts and copy them to the user directory
According to one [https://github.com/ONLYOFFICE/DocumentServer/issues/1859 upstream bug] ONLYOFFICE is unable to locate [[Fonts|font]] files on NixOS. A workaround is to install missing or additional fonts and copy them to the user directory


{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
Line 26: Line 26:


<syntaxhighlight lang="console">
<syntaxhighlight lang="console">
# mkdir -p ~/.local/share/fonts
$ mkdir -p ~/.local/share/fonts
Query store path to the corefonts package
$ # Query store path to the corefonts package
# NIXPKGS_ALLOW_UNFREE=1 nix-store --query --outputs $(nix-instantiate '<nixpkgs>' -A corefonts)
$ NIXPKGS_ALLOW_UNFREE=1 nix-store --query --outputs $(nix-instantiate '<nixpkgs>' -A corefonts)
Change the store path according to result of the command above
$ # Change the store path according to result of the command above
# cp /nix/store/ssw7d3cl2dzps6y1c88c01xclsigmjqf-corefonts-1/share/fonts/truetype/* ~/.local/share/fonts/
$ cp /nix/store/ssw7d3cl2dzps6y1c88c01xclsigmjqf-corefonts-1/share/fonts/truetype/* ~/.local/share/fonts/
# chmod 644 ~/.local/share/fonts/*
$ chmod 644 ~/.local/share/fonts/*
</syntaxhighlight>
</syntaxhighlight>


Line 37: Line 37:


* [[LibreOffice]], personal productivity suite that gives you six feature-rich applications for all your document production and data processing needs: Writer, Calc, Impress, Draw, Math and Base.
* [[LibreOffice]], personal productivity suite that gives you six feature-rich applications for all your document production and data processing needs: Writer, Calc, Impress, Draw, Math and Base.
* [[Onlyoffice-Documentserver|ONLYOFFICE DocumentServer]]
* [[ONLYOFFICE DocumentServer]]


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