if [ "$SNAP_ARCH" == "amd64" ]; then ARCH='x86_64-linux-gnu' elif [ "$SNAP_ARCH" == "armhf" ]; then ARCH="arm-linux-gnueabihf" else ARCH="$SNAP_ARCH-linux-gnu" fi # KDE specific ## Do not start slaves through klauncher but fork them directly. export KDE_FORK_SLAVES=1 ## Neon PATCH! make KIO look for slaves in a dynamic location depending on $SNAP export KF5_LIBEXEC_DIR=$SNAP/usr/lib/$ARCH/libexec/kf5