You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
513 B
Bash
18 lines
513 B
Bash
# 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
|