Updated xfce-session-target.sh to inject all xinitrc variables into systemd user session

master 1.3.2
Eric Renfro 3 months ago
parent f914ff0b57
commit b2163b1de2
Signed by: psi-jack
GPG Key ID: 14977F3A50D9A5BF
  1. 2
      src/xfce-session-target.sh

@ -5,6 +5,8 @@ then
if ! systemctl --user is-active xfce-session.target &> /dev/null
then
/bin/systemctl --user import-environment DISPLAY XAUTHORITY XDG_CONFIG_DIRS XDG_CURRENT_DESKTOP XDG_DATA_DIRS XDG_GREETER_DATA_DIR XDG_MENU_PREFIX XDG_RUNTIME_DIR XDG_SEAT XDG_SEAT_PATH XDG_SESSION_CLASS XDG_SESSION_DESKTOP XDG_SESSION_ID XDG_SESSION_PATH XDG_SESSION_TYPE XDG_VTNR
# We need all the xinitrc environment for our session, so might as well bring it all in:
/usr/bin/dbus-update-activation-environment --systemd --all
/bin/systemctl --user start xfce-session.target
fi
elif [[ "$1" == "logout" ]]

Loading…
Cancel
Save