guicountrol
dreamtraveler13 tarafından
Browser & AutomationÖzet
Control the Linux desktop GUI using xdotool, wmctrl, and dogtail.
Açıklama
Bu Beceri Ne Yapar
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.
Ne Zaman Kullanılır
- 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
Örnek İş Akışı
User asks: click the 'Export' button in the desktop app 'MyApp'
- 1
Run wmctrl -l to list open windows and confirm MyApp is running
- 2
Activate the MyApp window using gui_action.sh activate
- 3
Run scripts/inspect_ui.py to extract the UI tree and locate the Export button
- 4
Use xdotool to click the button coordinates or simulate keyboard navigation to it
- 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
Gereksinimler
- 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
Kurulum
clawhub install dreamtraveler13/guicountrolCLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.