From 6c3dfab5af702fbade87ab39ec8bff74c0a04cf0 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 13 Aug 2012 22:32:38 -0400 Subject: dbus-launch in .profile --- .profile | 7 +++++++ 1 file changed, 7 insertions(+) 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" -- cgit v1.1-4-g5e80