summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-08-13 22:32:38 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-08-13 22:32:38 -0400
commit6c3dfab5af702fbade87ab39ec8bff74c0a04cf0 (patch)
treeac0b7456539f8ce859ef19f7d766dea4382d5f39
parentf7cff032bee779a9fe3a45bb42d9893c4b72871e (diff)
dbus-launch in .profile
-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"