Loading...
Loading...
Linux platform guide for the agent-desktop CLI. Lists per command group what works on X11 and on Wayland, how to check the AT-SPI accessibility bus, the first-contact gotchas (app names, Chromium and Electron flags, headed focus, blocked key combos), and where to find lifecycle, screenshot, clipboard, tray, notification and troubleshooting details. Triggers on: "linux desktop automation", "AT-SPI tree", "automate GNOME app", "agent-desktop on Linux", "accessibility bus not available", "empty supported_surfaces", "wayland screenshot consent", or any Linux GUI interaction task.
npx skill4agent add vercel-labs/agent-desktop agent-desktop-linuxAction.GetActions| Group | Commands | Status on Linux |
|---|---|---|
| Observation | | Works on X11 and Wayland through AT-SPI. Supports |
| Surfaces | | Lists an app's windows, sheets and open menus; shell reads use |
| Ref interaction | | Need a readable live identity and the required AT-SPI capability. See the shell reference for menu-ref resolution limits; X11 headed fallback also needs usable geometry and does not bypass identity checks |
| Wheel scrolling | | Physical wheel input; X11 and |
| Pointer gestures | | |
| Focus | | Needs |
| Keyboard and mouse | | |
| Held input | | Fail closed on every platform: on Linux, |
| App and window | | Launch and listing work on X11 and Wayland; |
| Displays | | Works |
| Capture | | X11: a window without permission; a display only under a non-compositing manager. Wayland: portal consent, with display cropping. No selector returns the primary display. See |
| Clipboard | | Works; text, images and file lists. Wayland needs |
| Wait | | Works for ms, |
| Notifications | | GNOME Shell only; list headless, mutations |
| Shell surfaces | | Only |
| Cursor overlay | | Requires an active session; see Cursor overlay below. X11 enable returns |
| System | | Works |
agent-desktop statussupported_surfacesreferences/bus-and-permissions.md--applist-appsgnome-calculatornautilusFileslist-windows --applist-apps --applist-windowslist-appsbundle_idprocess_instance--max-depth--skeleton-i --compactgroupwait --window "Text Editor" --app gnome-text-editorwait --text--timeoutTIMEOUTAMBIGUOUS_TARGETAMBIGUOUS_TARGETcandidate_count--no-sandboxchrome-sandboxreferences/troubleshooting.mdactivation_not_grantedreferences/windows-and-lifecycle.md--forcereferences/display-servers-and-input.mddata.surfacesmenusnapshot --surface menu --app <name> -iwait --menulist-surfacesAGENT_DESKTOP_HOME~/.agent-desktopsnapshotINTERNALchmod 700--windowagent-desktop wait --window "Text Editor" --app gnome-text-editor --timeout 10000agent-desktop batch '[{"command":"close-app","args":{"app":"gnome-calculator"}},{"command":"wait","args":{"event":"window-closed","app":"gnome-calculator","timeout":10000}}]' --stop-on-erroragent-desktop wait --event window-closed --app gnome-text-editor --timeout 10000--window-closedsession_id=$(agent-desktop session start --name docs-example | jq -r '.data.session_id')
agent-desktop cursor-overlay enable --session "$session_id"
agent-desktop cursor-overlay disable --session "$session_id"
agent-desktop session end "$session_id"cursor-overlay enabledisableINVALID_ARGSdata.rendered: truedata.rendered: falsesession start --cursor --multi-agentdata.rendered: falseselectchangeinputdelivered_unverifiedclickok: truedelivered_unverifiedwait --element <ref> --predicate value --value <expected>wait 300--headedclickright-clicktypenot_deliveredselectACTION_NOT_SUPPORTEDwayland_sessiontypereferences/display-servers-and-input.mdselect--headedPOLICY_DENIEDpointer_requiredselectedselection_index_unprovenPOLICY_DENIEDpointer_requiredselect--headedhiddendisabledActivatetype--headedACTION_NOT_SUPPORTEDnative_popup_requires_inputtypeEditableTexttextfieldTerminalRightClicktypePOLICY_DENIEDsupported_action--headedcmdmetapresstypefocus-windowpresspressreferences/bus-and-permissions.mdstatuspermissionsreferences/display-servers-and-input.mdpresstypereferences/windows-and-lifecycle.mdlaunchclose-apppressreferences/capture-and-clipboard.mdscreenshotreferences/shell-tray-and-notifications.mdreferences/troubleshooting.mdplatform_detailagent-desktop skills get agent-desktop-linux references/troubleshooting.md