From d29d9d719c329fa5a868dcce812875fca4f195cd Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Sun, 31 Jul 2022 18:01:08 -0400 Subject: e/X11/Xsession.d/(56xebian-session,60x11-common_xdg_path): Inject the variables set into the session via dbus-update-activation-environment. --- etc/X11/Xsession.d/56xebian-session | 4 ++++ etc/X11/Xsession.d/60x11-common_xdg_path | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'etc') diff --git a/etc/X11/Xsession.d/56xebian-session b/etc/X11/Xsession.d/56xebian-session index 893deef..91a59ae 100644 --- a/etc/X11/Xsession.d/56xebian-session +++ b/etc/X11/Xsession.d/56xebian-session @@ -4,4 +4,8 @@ if [ "$DESKTOP_SESSION" = xebian ]; then export GTK_OVERLAY_SCROLLING=0 # Qt5 apps to use GTK style export QT_QPA_PLATFORMTHEME=gtk2 + if [ -n "$DBUS_SESSION_BUS_ADDRESS" ] && \ + command -v dbus-update-activation-environment >/dev/null; then + dbus-update-activation-environment --verbose --systemd GTK_OVERLAY_SCROLLING QT_QPA_PLATFORMTHEME + fi fi 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 -- cgit v1.2.3