Skip to content

Commit f187e8d

Browse files
committed
Revert "use dbus-update-activation-environment to update/initialize"
This reverts commit c22dcdf.
1 parent 77eee46 commit f187e8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data/start-cosmic

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ export QT_AUTO_SCREEN_SCALE_FACTOR=1
3838
export QT_ENABLE_HIGHDPI_SCALING=1
3939
export DCONF_PROFILE=cosmic
4040

41-
if command -v dbus-update-activation-environment >/dev/null; then
41+
if command -v systemctl >/dev/null; then
4242
# 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
43+
systemctl --user import-environment XDG_SESSION_TYPE XDG_CURRENT_DESKTOP DCONF_PROFILE
4444
fi
4545
# Run cosmic-session
4646
if [[ -z "${DBUS_SESSION_BUS_ADDRESS}" ]]; then

0 commit comments

Comments
 (0)