.desktop file for application ZORETO not working

i have downloaded and extracted ZORETO application and extracted into /srv folder. Upon extraction i moved on to create .desktop file so that i can open it directly from menu. But it seems that i have not been able to successfully create such a file. Following is the installation guide i have followed

https://www.zotero.org/support/installation

Following is the created zoreto.desktop file

darsan@darsan-Ideapad-Z560:~$ cat ./.local/share/applications/zotero.desktop
[Desktop Entry]
Name=Zotero
Exec=bash -c "$(dirname $(readlink -f %k))/zotero -url %U"
Icon=/srv/Zotero_linux-x86_64/chrome/icons/default/default256.png
Type=Application
Terminal=false
Categories=Office;
MimeType=text/plain

Interestingly, the icon of the application is shown correctly.

Please advise me to do the needful.

Is the executable application file in the /serv folder? If it is, have you tried double clicking that file? If you have, has it worked? If it did, then replace your current execute command in the .desktop file with:

/srv/<name of executable file>

1 Like