1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

profile: add DISPLAY & XAUTHORITY to dbus

This commit is contained in:
Joe Groocock 2018-08-21 13:35:50 +01:00
parent 09be200c9c
commit bbf329eb70
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -78,6 +78,7 @@ fi
# Start a dbus session daemon for programs that require it # Start a dbus session daemon for programs that require it
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ] && exists dbus-launch; then if [ -z "$DBUS_SESSION_BUS_ADDRESS" ] && exists dbus-launch; then
eval $(dbus-launch --sh-syntax --exit-with-session) eval $(dbus-launch --sh-syntax --exit-with-session)
dbus-update-activation-environment --systemd DISPLAY dbus-update-activation-environment --systemd \
DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY
fi fi