summaryrefslogtreecommitdiff
path: root/xorg/50-systemd-user.sh
diff options
context:
space:
mode:
Diffstat (limited to 'xorg/50-systemd-user.sh')
-rwxr-xr-xxorg/50-systemd-user.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/xorg/50-systemd-user.sh b/xorg/50-systemd-user.sh
index f4df13b619..4d49767228 100755
--- a/xorg/50-systemd-user.sh
+++ b/xorg/50-systemd-user.sh
@@ -1,3 +1,7 @@
#!/bin/sh
systemctl --user import-environment DISPLAY XAUTHORITY
+
+if which dbus-update-activation-environment >/dev/null 2>&1; then
+ dbus-update-activation-environment DISPLAY XAUTHORITY
+fi