[7 Beta] Cannot start Zotero via .desktop file

edited June 16, 2023
Hi all!
I just tried starting zotero via the zotero.desktop file bundled with the beta release. This doesn't seem to work, however (Kubuntu 23.04). If I copy & paste the command from the file into a terminal inside the Zotero folder, I get the following error:

bash -c '$(dirname $(realpath $(echo %k | sed -e '\\''s/^file:\\//'\\'')))/zotero -url %U'
sed: -e expression #1, char 11: unknown option to `s'
realpath: missing operand
Try 'realpath --help' for more information.
dirname: missing operand
Try 'dirname --help' for more information.
bash: line 1: /zotero: No such file or directory

Of course I might be misunderstanding something about how .desktop files work, but I've noticed that the file has changed from the version included in Z6 (which works on my pc).
Copying & pasting Z6s zotero.desktop file into the beta's folder and then using it to launch is also possible.
  • I've just solved this problem - the zotero.desktop file (or rather the bash command inside) doesn't seem to work if the file path to the Zotero folder contains a space.
Sign In or Register to comment.