$OpenBSD: patch-data_autostart_sh_in,v 1.2 2008/04/16 19:54:34 ajacoutot Exp $
--- data/autostart.sh.in.orig	Fri Feb 29 22:18:12 2008
+++ data/autostart.sh.in	Wed Apr 16 21:36:49 2008
@@ -17,13 +17,13 @@ fi
 test -z $BG || $BG -solid "#303030"
 
 # D-bus
-if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
-       eval `dbus-launch --sh-syntax --exit-with-session`
-fi
+#if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
+#       eval `dbus-launch --sh-syntax --exit-with-session`
+#fi
 
 # Make GTK apps look and behave how they were set up in the gnome config tools
-if test -x /usr/libexec/gnome-settings-daemon >/dev/null; then
-  /usr/libexec/gnome-settings-daemon &
+if test -x !!LOCALBASE!!/libexec/gnome-settings-daemon >/dev/null; then
+  !!LOCALBASE!!/libexec/gnome-settings-daemon &
 elif which gnome-settings-daemon >/dev/null; then
   gnome-settings-daemon &
 # Make GTK apps look and behave how they were set up in the XFCE config tools
