diff --git a/xdgurl.AppDir/desktopintegration b/src/desktop/appimage-desktopintegration
similarity index 99%
rename from xdgurl.AppDir/desktopintegration
rename to src/desktop/appimage-desktopintegration
index d4de5de7996d419dd8869a26aa9fea68c89cdfe8..bc48aea4b4ea720d2ff1339d2acde0e6c730de44 100644
--- a/xdgurl.AppDir/desktopintegration
+++ b/src/desktop/appimage-desktopintegration
@@ -178,7 +178,7 @@ if [ -z "$SKIP" ] ; then
   # For TryExec quotes is not supported, so, space must be replaced to \s
   # https://askubuntu.com/questions/175404/how-to-add-space-to-exec-path-in-a-thumbnailer-descrption/175567
   desktop-file-install --rebuild-mime-info-cache \
-    --vendor=$VENDORPREFIX --set-key=Exec --set-value="\"${APPIMAGE}\" %U" \
+    --vendor=$VENDORPREFIX --set-key=Exec --set-value="\"${APPIMAGE}\" %u" \
     --set-key=X-AppImage-Comment --set-value="Generated by ${THIS}" \
     --set-icon="$ICONFILE" --set-key=TryExec --set-value=${APPIMAGE// /\\s} "$DESKTOPFILE" \
     --dir "$DESTINATION_DIR_DESKTOP"