We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
dbus-update-activation-environment
1 parent 77eee46 commit f187e8dCopy full SHA for f187e8d
data/start-cosmic
@@ -38,9 +38,9 @@ export QT_AUTO_SCREEN_SCALE_FACTOR=1
38
export QT_ENABLE_HIGHDPI_SCALING=1
39
export DCONF_PROFILE=cosmic
40
41
-if command -v dbus-update-activation-environment >/dev/null; then
+if command -v systemctl >/dev/null; then
42
# set environment variables for new units started by user service manager
43
- dbus-update-activation-environment --systemd XDG_SESSION_TYPE XDG_CURRENT_DESKTOP DCONF_PROFILE
+ systemctl --user import-environment XDG_SESSION_TYPE XDG_CURRENT_DESKTOP DCONF_PROFILE
44
fi
45
# Run cosmic-session
46
if [[ -z "${DBUS_SESSION_BUS_ADDRESS}" ]]; then
0 commit comments