Zotero 7 Beta: Linking doesn't work on Linux with recommended zotero.desktop

This is a follow-up of this thread: https://forums.zotero.org/discussion/107660/zotero-7-beta-how-to-link-to-an-entry-or-a-file-from-another-app

If following the official instructions for installing Zotero on Linux, see https://www.zotero.org/support/installation#how_do_i_install_zotero, then linking from other apps to a Zotero entry or attached file isn't working.

This is due to the content of the zotero.desktop file, which after the official instructions looks in my case like:

[Desktop Entry]
Name=Zotero
Exec=bash -c "$(dirname $(realpath $(echo %k | sed -e 's/^file:\/\///')))/zotero -url %U"
Icon=/home/sojusnik/Apps/Zotero/chrome/icons/default/default256.png
Type=Application
Terminal=false
Categories=Office;
MimeType=text/plain;x-scheme-handler/zotero;application/x-research-info-systems;text/x-research-info-systems;text/ris;application/x-endnote-refer;application/x-inst-for-Scientific-info;application/mods+xml;application/rdf+xml;application/x-bibtex;text/x-bibtex;application/marc;application/vnd.citationstyles.style+xml
X-GNOME-SingleWindow=true

But if "Exec=" is replaced with the following, then everything works fine:

Exec=/home/sojusnik/Apps/Zotero/zotero -url %U

Maybe one of the developers can comment if this is a proper solution or maybe there's another way in order to be compatible with the official installation instructions?
Sign In or Register to comment.