2017-02-19 13:56:47 +01:00
|
|
|
env | grep "DISPLAY\|DBUS_SESSION_BUS_ADDRESS\|XDG_RUNTIME_DIR" > ~/.session-env
|
2017-06-20 15:09:15 +02:00
|
|
|
systemctl --user import-environment DISPLAY XAUTHORITY XDG_RUNTIME_DIR DBUS_SESSION_BUS_ADDRESS
|
|
|
|
|
|
|
|
if which dbus-update-activation-environment >/dev/null 2>&1; then
|
|
|
|
dbus-update-activation-environment DISPLAY XAUTHORITY XDG_RUNTIME_DIR
|
|
|
|
fi
|
|
|
|
|
|
|
|
# start systemd units for the yavdr user session
|
|
|
|
systemctl --user isolate yavdr-desktop.target
|