-
Notifications
You must be signed in to change notification settings - Fork 70
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
Select item link works inconsistently #207
Comments
I never tested zotero://select links on Linux. But since Linux Mint is Debian-based, I would recommend trying Emiliano's zotero-deb package. It should take care of the zotero scheme. If you're not yet running the zotero-deb package and want to try it, uninstall the Zotero beta and then try to reinstall it through:
For more technical details, see if this issue is of help: zotero/zotero-standalone-build#81. There's also an older Zutilo issue (#47), but some of the information there might be outdated. |
I tried the deb from Emiliano. If I paste the link into Firefox url bar and hit enter it will open Zotero but does not highlight the item. The interesting thing is that the link works with Zim-wiki. The link is immediately formatted as a link and clicking it opens Zotero and highlights the item. The links you provided are about setting the zotero.desktop and xdg-open. As far as I can tell these are set correctly on my system. I assume Zim is making use of these. There is some information here that might be of use:
|
I use Zotero on Linux but I don't use select links regularly. I tried just now and saw the same behavior for Firefox (brings Zotero into focus but does not select a new item). Have you tried the things suggested in zotero/zotero-standalone-build#81 and the blog post linked at the bottom (the xdg-mime and update-mime-database, commands)? |
I played around with things and got select links working properly on my system. For the installation I started with, I had to make two changes to the .desktop file. One was to add the right MimeType line:
The other was to add the
For the way I had installed Zotero, the After I fixed both of those entries, entering select links in Firefox selected the right entry in Zotero. I didn't look into what is in the zotero-deb .desktop file, and I am not sure if the way you were installing Zotero originally involved installing a .desktop file. The blog post describes some of setting up a .desktop file. Let us know if you have any trouble with getting that set up right for the way you want to install Zotero. What I don't understand is how Zim could select the right item already. |
Thank for your reply. |
Yes, I guess you also need to tell the apps what valid links look like. That's the same for many Windows apps. Either Zim has all url:// schemes enabled by default or they explicitly added the Zotero scheme. Enabling all schemes by default might have security implications, so it's probably not a good idea. |
Ah right. Thanks for the heads up. |
The "select items link" function of Zutilo provides for linking to the pdf in Zotero.
In Zim-wiki on linux when you paste the link such as zotero://select/library/items/URRRWW22 into a page it can be clicked and will bring up Zotero and highlight the pdf.
However, on my linux setup, Zim seems to be the only app that achieves this.
The link works somewhat more consistently on Mac OS X (it works on Smultron and the apple Notes and Pages apps but not on apple TextEdit) and some discussions on the web suggest that such links require linux to be set up to enable them when installing. However it seems that Zim does not require any such forethought.
Could you tell me if there is some way I could get the select item links to work more consistently?
Linux Mint Cinnamon 20.2
Linux kernel: 5.4.0-66-generic
Zotero version: 5.0.97-beta.51+6206209ed
Zutilo: 3.10.0
Mac OS version: 10.13.6
Zotero: 5.0.96.3
Zutilo: 3.10.0
The text was updated successfully, but these errors were encountered: