Code Monkey home page Code Monkey logo

Comments (4)

dstillman avatar dstillman commented on June 23, 2024

Despite its name, run-zotero.sh isn't actually what you should be using for starting Zotero. (It's a repackaged Mozilla script, and I'm actually not sure why we bundle it β€”Β @simonster would be able to say more.) But just use the main binary, zotero, and command-line flags (e.g., -jsconsole) will work. (zotero://select not working at startup is a separate matter, as you note.)

from zotero-standalone-build.

rdiaz02 avatar rdiaz02 commented on June 23, 2024

Aha, understood. Thanks. I think some Linux distros use the run-zotero.sh or equivalent by default as the thing to run (and as a user of the tar.bz2, its pressence lead me to believe that was the thing to run too). For the sake of avoiding confusion, I've updated my last
entry in the zotero forum to reflect this info.

from zotero-standalone-build.

juanmah avatar juanmah commented on June 23, 2024

Running /usr/lib/zotero/zotero works, but linking /usr/bin/zotero to /usr/lib/zotero/zotero and running /usr/bin/zotero doesn't. It gives Could not read application.ini error.

Intead, linking /usr/bin/zotero to /usr/lib/zotero/run-zotero.sh and running /usr/bin/zotero works.

run-zotero.sh seems to have a function.

from zotero-standalone-build.

dstillman avatar dstillman commented on June 23, 2024

That still doesn't mean that run-zotero.sh is the thing to run, though β€”Β just that the main binary determines the path to application.ini based on its own location and therefore doesn't work symlinked. We don't create the Linux packages, so run scripts aren't really our domain, but it'd be trivial for a package to create a run script that passes on command-line arguments if necessary:

#!/bin/sh
INSTALL_PATH=/usr/bin/zotero

cd $INSTALL_PATH
./zotero $*

from zotero-standalone-build.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.