Set the dbus session bus address

This commit is contained in:
Tom Willemse 2016-08-05 01:39:33 +02:00
parent a5642de228
commit 84fd3a8bc4

View file

@ -11,4 +11,11 @@ export PATH
export XDG_CONFIG_HOME="${HOME}/.config"
export XDG_DATA_HOME="${HOME}/.local/share"
## Dbus
# Make the session bus address fixed so other processes can know where
# to find it.
DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/$(id -u)/bus"
export DBUS_SESSION_BUS_ADDRESS
systemctl --user import-environment PATH