first commit
This commit is contained in:
17
etc_org/X11/Xsession.d/95dbus_update-activation-env
Normal file
17
etc_org/X11/Xsession.d/95dbus_update-activation-env
Normal file
@ -0,0 +1,17 @@
|
||||
# vim:set ft=sh sw=2 sts=2 et:
|
||||
|
||||
if [ -n "$DBUS_SESSION_BUS_ADDRESS" ] && \
|
||||
[ -x "/usr/bin/dbus-update-activation-environment" ]; then
|
||||
# subshell so we can unset environment variables
|
||||
(
|
||||
# unset login-session-specifics
|
||||
unset XDG_SEAT
|
||||
unset XDG_SESSION_ID
|
||||
unset XDG_VTNR
|
||||
|
||||
# tell dbus-daemon --session (and systemd --user, if running)
|
||||
# to put the Xsession's environment in activated services'
|
||||
# environments
|
||||
dbus-update-activation-environment --verbose --systemd --all
|
||||
)
|
||||
fi
|
Reference in New Issue
Block a user