Repository navigation
Description
Note: This repository enforces the Star Gate (
star-check) on pull requests — please ⭐ star this repository before submitting a PR so the requiredstar-checkcheck passes.
Context / Motivation
computer-use-linux has so far been tested primarily on a physical KDE Plasma 6 Wayland desktop, X11 inside headless Xvfb (tests/x11_sandbox.sh), headless Sway 1.10 (tests/sway_sandbox.sh), and a fake hyprctl shim (tests/test_wlroots_fake.py). Even on physical KDE Plasma 6, several v0.7 additions (persistent KWin window watcher, single-command click + pointer restore, daemon-side frame cropping, and channel cache) have not yet been verified on real hardware.
We currently do not know real-world compatibility across most Linux desktop environments and Wayland compositors. We need contributors running different Linux environments to test the full command surface, report and fix breakage, and build a verified Linux DE compatibility matrix.
Environments to Test & Verify
- GNOME Wayland (real GNOME Shell / Mutter: AT-SPI window listing fallback,
gnome_shot.pyscreenshots, RemoteDesktop/ScreenCast portal input, fractional scaling, multi-monitor,xcursor.pyvia XWayland) - Hyprland (real
hyprctlIPC replacing fake-only coverage,wlroots.py,grim,wtype,wl_vpointer.py, portal input fallback) - Real X11 desktop environments (XFCE, Cinnamon, MATE, Budgie, LXQt, i3, Openbox, GNOME on X11, KDE Plasma 5/6 on X11 — beyond
Xvfb: EWMH window listing/actions, XTEST mouse/keyboard + non-ASCII/Turkish layouts, multi-monitor,xcursor.py) - Other Wayland compositors (physical Sway, COSMIC, Niri, River, Wayfire, Labwc, and pure Wayland sessions without XWayland to verify graceful cursor degradation while clicks still work)
- Physical KDE Plasma 6 Wayland (v0.7 paths) (persistent KWin watcher
CUL_KWIN_WATCH=1, single-command CLICK + pointer restore, daemon-side frame cropping, background daemon service)
Relevant Code
core/computer_use_linux/platforms/linux.py(session_kind(), channel selection, window/input/screenshot routing)core/computer_use_linux/platforms/wlroots.py,core/computer_use_linux/platforms/x11.pycore/computer_use_linux/kwin.py,core/computer_use_linux/gnome_shot.py,core/computer_use_linux/portal_input.py,core/computer_use_linux/wl_vpointer.pycore/computer_use_linux/backends/gui.py(AT-SPI tree & actions)core/computer_use_linux/xcursor.py,core/computer_use_linux/terminals.pyREADME.md(## Limitations),docs/DEPENDENCIES.md,tests/x11_sandbox.sh,tests/sway_sandbox.sh,tests/gnome_sandbox.sh
Acceptance Criteria
- Test core workflows on one or more real Linux desktop environments / compositors:
setup,caps,windows,screenshot(including--window,--screen,--region, HiDPI/fractional scaling),observe/tree/find,click/click-text/fill/type/key/drag/scroll/do --after, visible agent cursor (cursor/point), and terminals (Konsole/tmux). - Document environment details (distro, DE/compositor version, Wayland vs X11, scaling, monitor layout) and exact pass/fail behavior for each capability.
- Fix any discovered compatibility bugs or add clean fallbacks/diagnostics with offline unit tests covering the fixed paths.
- Update
README.md(anddocs/DEPENDENCIES.mdif extra packages are required) with a verified Linux DE compatibility matrix reflecting what has been tested on real desktops.
How to Verify
# On the target Linux desktop:
computer-use-linux setup
computer-use-linux caps
computer-use-linux windows
computer-use-linux screenshot --out /tmp/cul-test.png
computer-use-linux observe
# Run headless test suite after any fixes:
env -u DISPLAY -u WAYLAND_DISPLAY -u DBUS_SESSION_BUS_ADDRESS python3 tests/test_smoke.py
bash tests/run_all.sh
Activity