From b2fb4f2ea2f7a571425b2349ec47341486302995 Mon Sep 17 00:00:00 2001 From: Fusion future Date: Mon, 3 Jan 2022 12:15:08 +0800 Subject: [PATCH] Desktop: Add "X-GNOME-SingleWindow=true" to the desktop file (#5948) Since this commit (https://github.com/KDE/plasma-workspace/commit/ebd2acd98ecdb9d115b01bd01f532390376152f7), Plasma Desktop will check "X-GNOME-SingleWindow" property to determine whether to show "Open New Window" action in the context menu of a task. Joplin cannot launch a new instance or open a new window, so add the property and set it to true to hide the action. --- Joplin_install_and_update.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Joplin_install_and_update.sh b/Joplin_install_and_update.sh index 81835b7df..f6c6321e6 100755 --- a/Joplin_install_and_update.sh +++ b/Joplin_install_and_update.sh @@ -219,6 +219,7 @@ then Type=Application Categories=Office; MimeType=x-scheme-handler/joplin; + X-GNOME-SingleWindow=true EOF # Update application icons