summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/X11/Xsession.d/56xebian-session4
-rw-r--r--etc/X11/Xsession.d/60x11-common_xdg_path4
2 files changed, 8 insertions, 0 deletions
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