summaryrefslogtreecommitdiffstats
path: root/etc/X11/Xsession.d/60x11-common_xdg_path
diff options
context:
space:
mode:
Diffstat (limited to 'etc/X11/Xsession.d/60x11-common_xdg_path')
-rw-r--r--etc/X11/Xsession.d/60x11-common_xdg_path4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/X11/Xsession.d/60x11-common_xdg_path b/etc/X11/Xsession.d/60x11-common_xdg_path
index a3083ad..73f3df1 100644
--- a/etc/X11/Xsession.d/60x11-common_xdg_path
+++ b/etc/X11/Xsession.d/60x11-common_xdg_path
@@ -21,4 +21,8 @@ if [ -n "$DESKTOP_SESSION" ]; then
fi
export XDG_DATA_DIRS
fi
+ if [ -n "$DBUS_SESSION_BUS_ADDRESS" ] && \
+ command -v dbus-update-activation-environment >/dev/null; then
+ dbus-update-activation-environment --verbose --systemd XDG_CONFIG_DIRS XDG_DATA_DIRS
+ fi
fi