From 353f81f00d5dc25b2d1c3bc730862a4bbde7cc8e Mon Sep 17 00:00:00 2001 From: joelostblom Date: Tue, 28 Jan 2020 13:59:19 +0100 Subject: [PATCH 1/2] Note that jabreHost.py needs to be executable --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4ed451c6..fd94d1de 100644 --- a/README.md +++ b/README.md @@ -43,10 +43,11 @@ _Please post any issues or suggestions [here on GitHub](https://github.com/JabRe 2. Install the JabRef browser extension: [Firefox](https://addons.mozilla.org/en-US/firefox/addon/jabfox?src=external-github).
Manual installation on Linux (only necessary when you don't use the `deb` file to install/update JabRef) - + 3. Download [org.jabref.jabref.json](https://raw.githubusercontent.com/JabRef/jabref/master/buildres/linux/native-messaging-host/firefox/org.jabref.jabref.json) and put it into - `/usr/lib/mozilla/native-messaging-hosts/org.jabref.jabref.json` to install with admin rights for all users - `~/.mozilla/native-messaging-hosts/org.jabref.jabref.json` to install without admin rights for the current user +4. Ensure that the script `/opt/JabRef/lib/jabrefHost.py` is marked as executable.
From 4843b174aa48150454b8801951ea1f088dd9ddd7 Mon Sep 17 00:00:00 2001 From: joelostblom Date: Tue, 28 Jan 2020 17:52:48 +0100 Subject: [PATCH 2/2] Note that capitalization might differ depending on installation method --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fd94d1de..609dccd4 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ _Please post any issues or suggestions [here on GitHub](https://github.com/JabRe 3. Download [org.jabref.jabref.json](https://raw.githubusercontent.com/JabRef/jabref/master/buildres/linux/native-messaging-host/firefox/org.jabref.jabref.json) and put it into - `/usr/lib/mozilla/native-messaging-hosts/org.jabref.jabref.json` to install with admin rights for all users - `~/.mozilla/native-messaging-hosts/org.jabref.jabref.json` to install without admin rights for the current user -4. Ensure that the script `/opt/JabRef/lib/jabrefHost.py` is marked as executable. +4. Ensure that the script `/opt/jabref/lib/jabrefHost.py` is marked as executable. Check that the capitalization of the path `/opt/jabref/` in `org.jabref.jabref.json` agrees with the path on your system (e.g. installing from the tarball would create `/opt/JabRef/` instead).