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:
parent
09be200c9c
commit
bbf329eb70
3
.profile
3
.profile
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user