Caspershire Meta

re-installing Zotero

Currently I use Zotero as my personal reference manager. Previously I used Mendeley, but I once had a sync issues in the past, then I decided to make a switch to something else. I chose Zotero because it has been around for quite a while and it is an open source software.

I tried using Emacs with org-ref and helm-bibtex, I just could not find myself to feel comfortable using it.

When I first installed Zotero on my linux Ubuntu 18.04 LTS machine, I installed it through a PPA provided by Sebastiaan Mathot. It worked, but one thing bothered me. The Zotero update notification prompt kept on popping up, but couldn’t automatically update itself because of a permission error. The error happened because Zotero ran as $USER, but the installation directory was in root directory.

Since there has been no new update from the PPA, I believe it is safe to assume that Sebastiaan Mathot is kind of busy at the moment. But, this is not the end of the world yet.

Looking for a solution, I decided to download Zotero’s official binary from its website. Once downloaded, I uncompressed the tarball file, then I moved the folder to ~/.local directory and renamed the folder as ~/.local/zotero.app. It is my personal naming scheme, by the way.

Zotero’s main executable, which is zotero inside the zotero.app directory, has to have a proper permission to be run as an executable file. For that, I ran the chmod command on it.

$ chmod +x zotero

To place it in $PATH, I created a symbolic link inside the ~/.local/bin folder with the ln -s command. Caution! The ln -s command requires absolute link, a.k.a full link beginning from the root / directory.

$ ln -s /home/aixnr/.local/zotero.app/zotero /home/aixnr/.local/bin

Now from my terminal, I can now simply run zotero to use it, but I also want it available via the main application menu. Usually, applications that are installed normally (either via apt or .deb file) will have a .desktop file inside the /usr/share/applications folder.

Since this Zotero installation is not what I would call as normal, a manual generation of its menu item is needed. For this, I turned to a package called alacarte, the Alacarte Menu Editor.

$ sudo apt install alacarte

Alacarte Menu Editor

The icons for Zotero can be found in chrome/icons/default.

That’s it. Let me know if you have questions (Twitter: @aixnr)
https://meta.caspershire.net/re-installing-zotero/
meta.caspershire.net
crawl=CC-MAIN-2019-13
5905
application/http; msgtype=response
sha1:TOH5DY2VOL7UHB4KAS4RWHBSGBBO4WRN
<urn:uuid:89683a5d-7d99-4de8-b8f8-6c1f87772d9d>
2019-03-20T03:25:27Z
104.28.19.22
text/html
sha1:FGE5KER6KUZ7H44GM53JQVD4TYFPKHEO
<urn:uuid:0154b6a2-acaf-42ed-a637-3c6e5f593df7>
https://meta.caspershire.net/re-installing-zotero/
response
<urn:uuid:4f74f670-8a93-4fa9-b280-6a46bca7e293>
isPartOf: CC-MAIN-2019-13
publisher: Common Crawl
description: Wide crawl of the web for March 2019
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-146-115-99.ec2.internal
software: Apache Nutch 1.15 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 0.11-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/