diff options
| author | 2022-07-31 18:01:08 -0400 | |
|---|---|---|
| committer | 2022-07-31 18:01:08 -0400 | |
| commit | d29d9d719c329fa5a868dcce812875fca4f195cd (patch) | |
| tree | cf2e24c450c1f7b586fe641ac1d6aae7173bf7f8 | |
| parent | 9a82d47a62b0a10e8b415ca54c29ae427900059c (diff) | |
e/X11/Xsession.d/(56xebian-session,60x11-common_xdg_path): Inject the variables set into the session via dbus-update-activation-environment.
| -rw-r--r-- | etc/X11/Xsession.d/56xebian-session | 4 | ||||
| -rw-r--r-- | etc/X11/Xsession.d/60x11-common_xdg_path | 4 |
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 |
