--- a/src/recollinstall.in
+++ b/src/recollinstall.in
@@ -63,11 +63,14 @@
test -d $d || mkdir -p $d || exit 1
done
-# Use the xdg utilies to install the desktop file and icon
-PATH=$PATH:desktop/xdg-utils-1.0.1/scripts
-export PATH
-xdg-desktop-menu install desktop/recoll-searchgui.desktop
-xdg-icon-resource install --size 48 desktop/recoll-searchgui.png
+# Use the xdg utilies to install the desktop file and icon? Couldn't find
+# out how to get this to work sanely. So keep the old way
+#PATH=$PATH:desktop/xdg-utils-1.0.1/scripts
+#export PATH
+#xdg-desktop-menu install desktop/recoll-searchgui.desktop
+#xdg-icon-resource install --size 48 desktop/recoll-searchgui.png
+${INSTALL} -m 0444 desktop/recoll-searchgui.desktop ${datadir}/applications
+${INSTALL} -m 0444 desktop/recoll-searchgui.png ${datadir}/icons/hicolor/48x48/apps
${INSTALL} -m 0444 doc/user/usermanual.html doc/user/docbook.css \
${datadir}/recoll/doc