From 89ff5764197d4c958e05b814fb98fc0e0c636c57 Mon Sep 17 00:00:00 2001 From: R P Herrold Date: Wed, 26 Jul 2017 18:28:19 -0400 Subject: [PATCH] XFCE's Launcher wants the .desktop file to be +x as well -- add a --mode 755 for it --- build/linux/dist/install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build/linux/dist/install.sh b/build/linux/dist/install.sh index ca7b699db..78cf4f9b1 100755 --- a/build/linux/dist/install.sh +++ b/build/linux/dist/install.sh @@ -44,10 +44,11 @@ xdg_install_f() { xdg-icon-resource install --context apps --size 256 "${SCRIPT_PATH}/lib/icons/256x256/apps/arduino.png" $RESOURCE_NAME # Install the created *.desktop file - xdg-desktop-menu install "${TMP_DIR}/${RESOURCE_NAME}.desktop" +## XFCE's Launcher wants the .desktop file to be +x as well + xdg-desktop-menu install --mode 755 "${TMP_DIR}/${RESOURCE_NAME}.desktop" # Create icon on the desktop - xdg-desktop-icon install "${TMP_DIR}/${RESOURCE_NAME}.desktop" + xdg-desktop-icon install --mode 755 "${TMP_DIR}/${RESOURCE_NAME}.desktop" # Install Arduino mime type xdg-mime install "${SCRIPT_PATH}/lib/${RESOURCE_NAME}.xml"