LibreOffice could not communicate with Zotero (or it cannot install at all)

Hello,
I have LibreOffice 7.6.5.2 installed on Linux Mint 21.3,
I am trying to install Zotero-6.0.35_linux-x86_64.

1) When I try to follow the instructions on https://www.zotero.org/support/installation where it says
1.a) Run the file "zotero" from the downloaded-extracted folder. When I do this, the following happens:
$ sudo ./zotero
>>Running Firefox as root in a regular user's session is not supported. ($XAUTHORITY is /home/msa/.Xauthority which is owned by theuser.)
$ su -
#sudo ./zotero
>> Error: no DISPLAY environment variable specified
1.b) Or when I double click on zotero, it simply does not do anything.

2) I also tried to install via apt as prompted here https://github.com/retorquere/zotero-deb :
$ wget -qO- https://raw.githubusercontent.com/retorquere/zotero-deb/master/install.sh | sudo bash
$ sudo apt update
$ sudo apt install zotero
This installed zotero and it worked well with the Chrome plugin on Brave browser.
2.a) But, then the Libre office plugin was not installed automatically and it was not present inside zotero app> cite tab> word processor pane> to install. Therefore, as directed by https://www.zotero.org/support/word_processor_plugin_manual_installation, I located and double clicked on Zotero_OpenOffice_Integration.oxt, which installed the LibreOffice plugin. But this time when I clicked on "cite" button on LibreOffice Writer, it gives an error:
"LibreOffice could not communicate with Zotero. Please ensure Zotero is open and set to an online state and try again."
Of course, this is when I have the Zotero app open.

I would appreciate any help with properly installing Zotero. Thanks.
  • 1.a) You should not be running Zotero with sudo as per that message. ./zotero should suffice (although you should setup the zotero.desktop file).

    2.a) Make sure under Tools -> Add-ons the LibreOffice plugin is enabled.
Sign In or Register to comment.