Code Monkey home page Code Monkey logo

Comments (3)

twi001 avatar twi001 commented on July 21, 2024

I find the option --url zotero://select/... extremely helpful for Zotero integration in note taking systems such as the zettelkasten concept allowing direct links into Zotero. Before, I had tried zotero URL as described in the zotero --help, but gave up after some time since it didn't work. Just by chance I found a post discussing the --url option and the format for zotero://select/.... An update of the cli help would be very helpful!

from zotero-standalone-build.

dstillman avatar dstillman commented on July 21, 2024

--help isn't something that comes from us — that's just from the Firefox binary that Zotero uses. If we change how Zotero is built, we might be able to customize that, but for now I'm closing this as WONTFIX.

But you don't need to use --url to use zotero://select — you just need to associate Zotero with zotero:// URLs on your system. That happens automatically on macOS and Windows, but how you do that on Linux depends on your distro. It looks like the zotero-deb packages use a desktop file that registers itself for the zotero scheme. Assuming that works, we'll look into adding that to the zotero.desktop file in the official tarball.

from zotero-standalone-build.

rdiaz02 avatar rdiaz02 commented on July 21, 2024

Thanks for the details.

In case it helps other Linux users: Indeed what I have been doing for several years now (I use Debian) is to create a desktop file, zotero.desktop, which lives under $HOME/.local/share/applications. In the mimeapps.list file (under $HOME/.local/share/applications) I have this line x-scheme-handler/zotero=zotero.desktop.

My zotero.desktop is a link to a script I wrote for my specific way of working that will either call the zotero binary when one passes something like zotero://select/items (I still use --url) or my chosen PDF viewer (Emacs in my case) when called as zotero://open-pdf/.

So, when I call from the shell (or any other application that uses xdg) something like xdg-open zotero://select/items/whatever zotero will open that entry, and when I do xdg-open zotero://open-pdf/0_whatever/pagenumber the whatever PDF is opened at that pagenumber.

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.