From 7f21da9334f3b022903ae7b7a97e9de4cd3c25d5 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 8 Aug 2024 07:40:39 -0400 Subject: [PATCH] Revert "Add additional backslashes in Exec line in Linux desktop file" This reverts commit 06741ceb623db8de3ae9972bcae73ee4e0049dcb. A couple people on Fedora 40 reported that the desktop file was no longer working for them after this change, and it's not clear that anyone was having trouble on Ubuntu before it -- someone just noted that `desktop-file-validate` was showing some warnings. --- app/linux/zotero.desktop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/linux/zotero.desktop b/app/linux/zotero.desktop index b7fbcb6699..94f44859dd 100755 --- a/app/linux/zotero.desktop +++ b/app/linux/zotero.desktop @@ -1,6 +1,6 @@ [Desktop Entry] Name=Zotero -Exec=bash -c "\\$(dirname \\$(realpath \\$(echo %k | sed -e 's/^file:\\/\\///')))/zotero -url %U" +Exec=bash -c "$(dirname $(realpath $(echo %k | sed -e 's/^file:\\/\\///')))/zotero -url %U" Icon=zotero.ico Type=Application Terminal=false