Commit da49791
authored
feat(computer): improve Linux headless display quality (#88)
* feat(computer): improve Linux headless display quality
- Increase Xvfb resolution from default 1920x1080 to 2560x1440x24
- Add fluxbox window manager for proper window decorations
- Install GTK themes (adwaita, gnome-themes-extra) for native UI styling
- Add Noto CJK fonts for proper CJK character rendering
- Add dbus-x11 for GTK application support
* ci: add branch trigger for PR visibility
* ci: trigger workflow on pull requests targeting main
* fix(computer): maximize Obsidian window on launch
* fix(computer): reduce flakiness in community plugin installation steps
- Add aiWaitFor verification after each navigation step to catch failures early
- Split conditional "Turn on" action and confirmation dialog into separate steps
- Wait for "Browse" button to be visible before clicking it
- Increase sleep times between UI interactions
- Set MIDSCENE_REPLANNING_CYCLE_LIMIT=40 as safety net
* fix(computer): maximize window via xdotool instead of --start-maximized
--start-maximized Electron flag doesn't work with fluxbox. Use xdotool
to find the Obsidian window and resize it to fill the entire screen.
* fix(computer): maximize window by double-clicking title bar via aiAct
* fix(computer): click maximize button instead of double-clicking title bar
* fix(computer): configure fluxbox to auto-maximize all windows
Write ~/.fluxbox/apps config before starting fluxbox so all windows
launch maximized automatically. This eliminates the need to manually
click maximize buttons or double-click title bars.1 parent 4190529 commit da49791
File tree
2 files changed
+61
-12
lines changed- .github/workflows
- computer/electron-demo
2 files changed
+61
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
17 | 23 | | |
18 | 24 | | |
19 | 25 | | |
20 | | - | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
| |||
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
| 42 | + | |
37 | 43 | | |
38 | 44 | | |
39 | 45 | | |
| |||
63 | 69 | | |
64 | 70 | | |
65 | 71 | | |
66 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
67 | 78 | | |
68 | 79 | | |
69 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
106 | 107 | | |
107 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
108 | 127 | | |
109 | 128 | | |
110 | 129 | | |
| |||
152 | 171 | | |
153 | 172 | | |
154 | 173 | | |
155 | | - | |
| 174 | + | |
156 | 175 | | |
157 | | - | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
158 | 181 | | |
159 | 182 | | |
160 | 183 | | |
161 | | - | |
| 184 | + | |
162 | 185 | | |
163 | | - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
164 | 193 | | |
165 | 194 | | |
166 | 195 | | |
167 | | - | |
168 | | - | |
| 196 | + | |
169 | 197 | | |
170 | | - | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
171 | 205 | | |
172 | 206 | | |
173 | | - | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
174 | 212 | | |
175 | 213 | | |
176 | 214 | | |
177 | | - | |
| 215 | + | |
178 | 216 | | |
179 | 217 | | |
180 | 218 | | |
181 | 219 | | |
182 | 220 | | |
183 | | - | |
| 221 | + | |
184 | 222 | | |
185 | 223 | | |
186 | 224 | | |
| |||
0 commit comments