Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tip to the Readme for using citar-open-entry-in-zotero with a manual install of Zotero #861

Open
jpggithub opened this issue Mar 9, 2025 · 2 comments

Comments

@jpggithub
Copy link

I suggest to add the following advice in the Opening reference entries section of the Readme:

For using citar-open-entry-in-zotero with a manual install of Zotero, you could need the following command in the shell (as a simple user):

xdg-mime default zotero.desktop x-scheme-handler/zotero

(found on https://forums.zotero.org/discussion/comment/359181/#Comment_359181)

I have searched for approximately 2 hours before finding the problem on my PC 😅

@jpggithub jpggithub changed the title Add tip to the Readmi for using citar-open-entry-in-zotero with a manual install of Zotero Add tip to the Readme for using citar-open-entry-in-zotero with a manual install of Zotero Mar 9, 2025
@bdarcus
Copy link
Contributor

bdarcus commented Mar 9, 2025

I'm not sure that specific a recommendation would be appropriate, given diverse platforms and installation methods?

But it could be included as an example for linux.

Care to submit a PR?

@jpggithub
Copy link
Author

I’m not familiar with git and PR... I propose the following text that you can use for what you want without any problem.

Title: Accessing from citar to files in Zotero under Linux

If you have installed Zotero manually, there's a possibility that the following line won't work (replace "citekey" by a valid citekey of Zotero)

xdg-open "zotero://select/items/@citekey"

In that case, if you want to be able to open a file referenced in Zotero from citar, you have to launch the following command in a shell (as a simple user):

xdg-mime default zotero.desktop x-scheme-handler/zotero

After that, citar-open and citar-open-files will propose to open files for a given citekey as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants