Skip to content

Commit

Permalink
fix: will cause kde to fail to start
Browse files Browse the repository at this point in the history
kde will start kwin, which will cause dde-session@x11/wayland.service to start as a dbus service.

Log:
  • Loading branch information
justforlxz committed Jan 19, 2024
1 parent bb74fbf commit d8a8517
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions systemd/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ PartOf=graphical-session.target

[Service]
Slice=session.slice
BusName=org.kde.KWinWrapper
Type=dbus
Type=simple
# NOTE: This can be replaced with ConditionEnvironment=XDG_SESSION_TYPE=%I in
# the [Unit] section with systemd >= 246. Also, the current solution is
# kind of painful as systemd had a bug where it retries the condition.
Expand All @@ -36,3 +35,4 @@ ExecStopPost=-/bin/sh -c 'test "$SERVICE_RESULT" != "exec-condition" && systemct
Restart=no
# Kill any stubborn child processes after this long
TimeoutStopSec=5
TimeoutStartSec=infinity
4 changes: 2 additions & 2 deletions systemd/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ StartLimitBurst=1

[Service]
Slice=session.slice
BusName=org.kde.KWin
Type=dbus
Type=simple
# NOTE: This can be replaced with ConditionEnvironment=XDG_SESSION_TYPE=%I in
# the [Unit] section with systemd >= 246. Also, the current solution is
# kind of painful as systemd had a bug where it retries the condition.
Expand All @@ -41,3 +40,4 @@ Restart=always
RestartSec=0ms
# Kill any stubborn child processes after this long
TimeoutStopSec=5
TimeoutStartSec=infinity

0 comments on commit d8a8517

Please sign in to comment.