File tree Expand file tree Collapse file tree
dde-session-initialized.target.wants Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ Before=dde-session-initialized.target
1818[Service]
1919Type =dbus
2020BusName =org.freedesktop.Notifications
21+ ExecCondition =/bin/sh -c 'test "$XDG_CURRENT_DESKTOP" = "DDE" || exit 2'
2122ExecStart =/usr/lib/deepin-daemon/dde-osd
2223TimeoutStartSec =infinity
2324Slice =session.slice
Original file line number Diff line number Diff line change @@ -18,8 +18,7 @@ PartOf=graphical-session.target
1818
1919[Service]
2020Slice =session.slice
21- BusName =org.kde.KWinWrapper
22- Type =dbus
21+ Type =simple
2322# NOTE: This can be replaced with ConditionEnvironment=XDG_SESSION_TYPE=%I in
2423# the [Unit] section with systemd >= 246. Also, the current solution is
2524# kind of painful as systemd had a bug where it retries the condition.
@@ -36,3 +35,4 @@ ExecStopPost=-/bin/sh -c 'test "$SERVICE_RESULT" != "exec-condition" && systemct
3635Restart =no
3736# Kill any stubborn child processes after this long
3837TimeoutStopSec =5
38+ TimeoutStartSec =infinity
Original file line number Diff line number Diff line change @@ -22,8 +22,7 @@ StartLimitBurst=1
2222
2323[Service]
2424Slice =session.slice
25- BusName =org.kde.KWin
26- Type =dbus
25+ Type =simple
2726# NOTE: This can be replaced with ConditionEnvironment=XDG_SESSION_TYPE=%I in
2827# the [Unit] section with systemd >= 246. Also, the current solution is
2928# kind of painful as systemd had a bug where it retries the condition.
@@ -41,3 +40,4 @@ Restart=always
4140RestartSec =0ms
4241# Kill any stubborn child processes after this long
4342TimeoutStopSec =5
43+ TimeoutStartSec =infinity
You can’t perform that action at this time.
0 commit comments