summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.profile7
1 files changed, 7 insertions, 0 deletions
diff --git a/.profile b/.profile
index 2012c30..d37e858 100644
--- a/.profile
+++ b/.profile
@@ -60,6 +60,13 @@ fi
# X11
export XAUTHORITY=$HOME/.Xauthority
+# D-Bus
+if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
+ eval `dbus-launch`
+ export DBUS_SESSION_BUS_ADDRESS
+ export DBUS_SESSION_BUS_PID
+fi
+
# Start background programs ##########################################
if [ -f "$HOME/.login-daemons" ]; then
. "$HOME/.login-daemons"