Commit b9b3a88
chore: refactor treeland screensaver to persistent daemon
Removed the D-Bus service file for org.freedesktop.ScreenSaver and
converted treeland-screensaver from a transient service to a persistent
daemon under treeland.service. The screensaver service now runs
continuously in Treeland sessions instead of exiting when there are
no active inhibits. Added systemd service configuration with proper
dependencies and session detection. The D-Bus service will be handled by
dde-session-daemon in X11 environments.
Influence:
1. Verify treeland-screensaver starts automatically with treeland
session
2. Test screensaver inhibit/uninhibit functionality in Treeland
3. Ensure service persists after all inhibits are removed
4. Confirm D-Bus service availability in Treeland sessions
5. Verify X11 sessions continue to use dde-session-daemon for
screensaver
6. Test systemd service dependencies and startup order
chore: 重构 treeland 屏保为常驻进程
移除了 org.freedesktop.ScreenSaver 的 D-Bus 服务文件,将 treeland-
screensaver 从临时服务转换为 treeland.service 下的常驻守护进程。屏保服务
现在在 Treeland 会话中持续运行,而不是在没有活动抑制时退出。添加了带有正
确依赖关系和会话检测的 systemd 服务配置。X11 环境下的 D-Bus 服务将继续由
dde-session-daemon 处理。
Influence:
1. 验证 treeland-screensaver 是否随 treeland 会话自动启动
2. 在 Treeland 中测试屏保抑制/取消抑制功能
3. 确保服务在所有抑制移除后仍然保持运行
4. 确认 D-Bus 服务在 Treeland 会话中可用
5. 验证 X11 会话继续使用 dde-session-daemon 处理屏保
6. 测试 systemd 服务依赖关系和启动顺序1 parent a2950f1 commit b9b3a88
File tree
6 files changed
+23
-12
lines changed- debian
- misc/systemd
- src/treeland-screensaver
6 files changed
+23
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| 53 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
| |||
34 | 32 | | |
35 | 33 | | |
36 | 34 | | |
37 | | - | |
Lines changed: 0 additions & 3 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | | - | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
98 | | - | |
99 | | - | |
100 | 99 | | |
101 | 100 | | |
102 | 101 | | |
| |||
109 | 108 | | |
110 | 109 | | |
111 | 110 | | |
112 | | - | |
113 | | - | |
114 | 111 | | |
115 | 112 | | |
116 | 113 | | |
| |||
0 commit comments