Libreoffice with the Zotero extension won't interact with the Zotero client. Actions in Libreoffice get no response

Hi everyone, I’m hoping this can be resolved.
I installed Libreoffice and Zotero through home-manager (which is a nixos module), and individually they work great. However, the Zotero extension I installed in Libreoffice doesn’t seem to work. When I click the button to add a citation, nothing happens.

For clarity, here is the relevant configuration in my configuration.nix:

home.packages = with pkgs; [
  ...
  libreoffice
  zotero
  ...
];

Is there something I should be doing to make this work, or is the problem fundamentally related to how NixOS functions?

Thank you :slight_smile:

Hi @sylvester-roos did you ever find a solution to this issue? I am debating to go the terrible route of LaTeX/BibTeX → pandoc → Word doc…

I installed it in a non-nix way manually by following the zotero guide for the manual install, which meant to open in libre office tools > extensions > add, and manually add zotero addon from where the zotero is installed, in my case that was /nix/store/540p4fhybprg4hrqq34m1sq4cbj7fpjr-zotero-6.0.35/usr/lib/zotero-bin-6.0.35/extensions/zoteroOpenOfficeIntegration@zotero.org/install/Zotero_OpenOffice_Integration.oxt
to install that require java, so I added jdk to system packages and it seems to work. I am sure it can be automatized, but that is currently above my skill level, put still better than latex → pandoc → word doc

1 Like

Thanks for this! I tried to follow your steps, thinking that I already had jdk installed, and it of course gave me an error that I was missing Java. So then I installed java, rebooted, and Zotero was already there. So maybe the solution is to already have Java installed? Otherwrise your steps solved the issue. Thank you!

1 Like

I’ve since switched to Flatpak for both LibreOffice and Zotero