From 44777c5ab4909be1440ee29ff9fd81b6b75d0273 Mon Sep 17 00:00:00 2001 From: Jonas Eberle Date: Tue, 4 Jan 2022 15:08:02 +0100 Subject: [PATCH] Hint at escaping spaces in Linux .desktop file example In a default download and install, one has to deal with spaces in paths for the Freedesktop .desktop file. This can cause some grief so I propose to add that to the example. The specs can be found here: https://specifications.freedesktop.org/desktop-entry-spec/latest/ --- desktop/Little Navmap.desktop | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/desktop/Little Navmap.desktop b/desktop/Little Navmap.desktop index 0c0054bea..3a8e9d4c2 100755 --- a/desktop/Little Navmap.desktop +++ b/desktop/Little Navmap.desktop @@ -1,9 +1,11 @@ [Desktop Entry] Type=Application -Exec=YOUR_PATH_TO_LITTLENAVMAP/littlenavmap +Exec='YOUR_PATH_TO_LITTLENAVMAP/littlenavmap' +# replace spaces with \s Path=YOUR_PATH_TO_LITTLENAVMAP/ Name=Little Navmap GenericName=Little Navmap +# replace spaces with \s Icon=YOUR_PATH_TO_LITTLENAVMAP/littlenavmap.svg Terminal=false Categories=Qt;Utility;Geography;Maps;