summaryrefslogtreecommitdiff
path: root/source/xap/fluxbox/fluxbox.startfluxbox.dbus.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/xap/fluxbox/fluxbox.startfluxbox.dbus.diff')
-rw-r--r--source/xap/fluxbox/fluxbox.startfluxbox.dbus.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/source/xap/fluxbox/fluxbox.startfluxbox.dbus.diff b/source/xap/fluxbox/fluxbox.startfluxbox.dbus.diff
new file mode 100644
index 00000000..71bea31d
--- /dev/null
+++ b/source/xap/fluxbox/fluxbox.startfluxbox.dbus.diff
@@ -0,0 +1,14 @@
+--- ./util/startfluxbox.in.orig 2011-10-29 08:46:15.000000000 -0500
++++ ./util/startfluxbox.in 2012-08-08 23:35:10.841041336 -0500
+@@ -50,6 +50,11 @@
+ # wmsmixer -w &
+ # idesk &
+
++# Start DBUS session bus:
++if [ -z "\$DBUS_SESSION_BUS_ADDRESS" ]; then
++ eval \$(dbus-launch --sh-syntax --exit-with-session)
++fi
++
+ # And last but not least we start fluxbox.
+ # Because it is the last app you have to run it with ''exec'' before it.
+