ONLYOFFICE: Difference between revisions
Appearance
imported>Onny Add initial page |
m style fixes |
||
| (7 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
[https://www.onlyoffice.com | [https://www.onlyoffice.com ONLYOFFICE] is a software suite that offers online and offline tools for document editing, collaboration, and management. It is developed by Ascensio System SIA, a company based in Riga, Latvia. ONLYOFFICE consists of several components, such as Docs, Workspace, Desktop Editors, and Mobile Apps. It is an open-source project that aims to provide a secure and compatible alternative to other office suites. | ||
== Installation == | == Installation == | ||
Add following line to your configuration to enable | Add following line to your configuration to enable ONLYOFFICE | ||
{{file|/etc/nixos/configuration.nix|nix|3=<nowiki> | |||
environment.systemPackages = [ pkgs.onlyoffice-desktopeditors ]; | |||
</nowiki>}} | |||
== Troubleshooting == | |||
=== Install and use missing corefonts === | |||
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> | ||
# Allow installation of unfree corefonts package | |||
nixpkgs.config.allowUnfreePredicate = pkg: | |||
builtins.elem (lib.getName pkg) [ "corefonts" ]; | |||
fonts.fonts = with pkgs; [ | |||
corefonts | |||
]; | |||
</nowiki>}} | </nowiki>}} | ||
<syntaxhighlight lang="console"> | |||
$ mkdir -p ~/.local/share/fonts | |||
$ # Query store path to the corefonts package | |||
$ NIXPKGS_ALLOW_UNFREE=1 nix-store --query --outputs $(nix-instantiate '<nixpkgs>' -A corefonts) | |||
$ # Change the store path according to result of the command above | |||
$ cp /nix/store/ssw7d3cl2dzps6y1c88c01xclsigmjqf-corefonts-1/share/fonts/truetype/* ~/.local/share/fonts/ | |||
$ chmod 644 ~/.local/share/fonts/* | |||
</syntaxhighlight> | |||
== See also == | == See also == | ||
* [[LibreOffice]] | * [[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]] | |||
[[Category:Applications]] | [[Category:Applications]] | ||
Latest revision as of 15:24, 19 July 2026
ONLYOFFICE is a software suite that offers online and offline tools for document editing, collaboration, and management. It is developed by Ascensio System SIA, a company based in Riga, Latvia. ONLYOFFICE consists of several components, such as Docs, Workspace, Desktop Editors, and Mobile Apps. It is an open-source project that aims to provide a secure and compatible alternative to other office suites.
Installation
Add following line to your configuration to enable ONLYOFFICE
❄︎ /etc/nixos/configuration.nix
environment.systemPackages = [ pkgs.onlyoffice-desktopeditors ];
Troubleshooting
Install and use missing corefonts
According to one 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
❄︎ /etc/nixos/configuration.nix
# Allow installation of unfree corefonts package
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [ "corefonts" ];
fonts.fonts = with pkgs; [
corefonts
];
$ mkdir -p ~/.local/share/fonts
$ # Query store path to the corefonts package
$ NIXPKGS_ALLOW_UNFREE=1 nix-store --query --outputs $(nix-instantiate '<nixpkgs>' -A corefonts)
$ # Change the store path according to result of the command above
$ cp /nix/store/ssw7d3cl2dzps6y1c88c01xclsigmjqf-corefonts-1/share/fonts/truetype/* ~/.local/share/fonts/
$ chmod 644 ~/.local/share/fonts/*
See also
- 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