تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

guicountrol

بواسطة dreamtraveler13

Browser & Automation
9.4kالتنزيلات وفق ما يذكره clawskills.sh
6النجوم
20المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

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

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط