Zotero can't start on Linux (KDE Neon) desktop after update; reinstall?; Zotero on laptop is OK
Since a Zotero update, Zotero can't start on my Linux (KDE Neon) desktop; Meanwhile Zotero on laptop under KDE Neon is OK.
Should I uninstall and reinstall?
Or, if you advise, I could try to start it from Zotero parts (which?) in my Downloads folder...
Should I uninstall and reinstall?
Or, if you advise, I could try to start it from Zotero parts (which?) in my Downloads folder...
Well, I tried to start it by entering in the terminal
./zotero
It started fine.
Starting from the launcher still fails.
I right-clicked the Zotero entry in the Office section of the launcher and chose Edit.
I found under Properties/Application/Command the string
bash -c "$(dirname $(readlink -f %k))/zotero -url %U"
I am not sure I am at the right spot or what to fix and how.
Any ideas?
Launching from terminal works fine (with or without the -url %U flag), but the launcher does not start the program and there is no error message.
%k
instead of a file path, which would break thereadlink
command).You can try adding
logger
to the beginning of theExec
line and check your system log to see the exact full command that's being run after substitutions.(Or you can just hard-code the path in the
Exec
line, but to fix this for people on distros where it doesn't work we'd need to know what was going wrong.)The hard-coded path worked, so I'll just keep it like this.
bash -c "echo $(dirname $(readlink -f %k))/zotero -url %U > /tmp/test_launcher.log"
the log file contained the following:
/usr/share/applications/zotero -url
So apparently, something went wrong there. /usr/share/applications is simply the directory where the .desktop file is located.