Перейти к содержимому
TakoAPI
Назад к навыкам

guicountrol

от dreamtraveler13

Browser & Automation
9.4kЧисло загрузок по данным clawskills.sh
6Звёзды
20Просмотры
0 лайковВойдите, чтобы поставить лайк навыку
—Ещё нет оценок
Ваша оценка

Кратко

Control the Linux desktop GUI using xdotool, wmctrl, and dogtail.

Описание

Что делает этот навык

Automates Linux desktop GUI interactions using xdotool, wmctrl, and dogtail on X11/GNOME. Supports simulating mouse and keyboard input, managing windows, inspecting UI accessibility trees, and taking screenshots for visual analysis.

Combines window management, input simulation, and accessibility tree inspection in one workflow, covering apps that have no API or web interface.

Когда его использовать

  • Automating repetitive clicks in a desktop app that has no CLI or API
  • Resizing and repositioning windows in a scripted workflow
  • Extracting button and input labels from an Electron app without screenshots
  • Navigating a legacy GUI tool using keyboard simulation
  • Taking screenshots of specific windows for automated visual checks

Пример сценария

ВВОД

User asks: click the 'Export' button in the desktop app 'MyApp'

АГЕНТ
  1. 1

    Run wmctrl -l to list open windows and confirm MyApp is running

  2. 2

    Activate the MyApp window using gui_action.sh activate

  3. 3

    Run scripts/inspect_ui.py to extract the UI tree and locate the Export button

  4. 4

    Use xdotool to click the button coordinates or simulate keyboard navigation to it

  5. 5

    Verify the action completed by re-inspecting the UI tree or taking a screenshot

ВЫВОД

The Export button is clicked and the export dialog opens

Требования

  • wmctrl installed on the Linux system
  • xdotool installed on the Linux system
  • dogtail installed on the Linux system
  • scrot installed on the Linux system
  • X11/GNOME desktop environment

Установка

clawhub install dreamtraveler13/guicountrol

Выполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.

Ссылки