मुख्य सामग्री पर जाएँ
Skillpedia
एजेंट15k · #10914

agent-desktop-linux

यह क्या करती है

यह स्किल असिस्टेंट को Linux डेस्कटॉप पर ऐप ऑटोमेट करने की गाइड देती है, जिसमें हर डिस्प्ले सिस्टम पर क्या काम करता है यह भी है। यह उन लोगों के लिए है जो चाहते हैं कि उनका एजेंट Linux पर ऐप पढ़े या उन पर क्लिक करे।

कब इस्तेमाल करें

  • ✓जब आप चाहते हैं कि असिस्टेंट Ubuntu डेस्कटॉप पर ऐप पढ़े या उन पर क्लिक करे।
  • ✓अगर Linux ऑटोमेशन कमांड कोई ऐप नहीं दिखाती या एक्सेसिबिलिटी बस ठीक नहीं लगती।
  • ✓जब आपको जानना है कि कौन-सी कमांड X11 या Wayland पर काम करती है।

Skill का लिंक

https://github.com/NanmiCoder/cc-haha/blob/main/native/agent-desktop/skills/agent-desktop-linux/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/NanmiCoder/cc-haha/blob/main/native/agent-desktop/skills/agent-desktop-linux/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरे Ubuntu डेस्कटॉप की खुली विंडो पढ़िए और बताइए फ़ाइल मैनेजर में क्या है?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

गाइड ज़रूरी डेस्कटॉप सेटअप समझाती है, जैसे एक्सेसिबिलिटी बस, और बताती है कि कौन-सी कमांड X11 और Wayland पर चलती है। असिस्टेंट उसके चरणों का पालन करके ऐप के कंट्रोल देखता या उन पर कार्रवाई करता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

agent-desktop-linux

The observe-act loop, refs, JSON envelope, sessions and tracing match every platform. This file covers only what differs on Linux.

Needs Ubuntu 24.04+ (x86_64 or aarch64), a graphical session of the signed-in user and a running AT-SPI bus. Other distributions need the at-spi2-core bridge fix dc0dc33; Ubuntu 22.04's bridge aborts on Action.GetActions. The archive loader floor is glibc 2.35. Run the CLI inside the target apps' desktop session: the session bus, display and runtime directory come from its environment. A TTY login, an SSH shell without session variables, a container without a bus or another user's session sees no apps. GNOME is the measured desktop; X11 and Wayland sessions both work and differ in input, capture and window control. Observation and semantic actions need no helper tool.

Capability Table

Group Commands Status on Linux
Observation snapshot, find, get, is Works on X11 and Wayland through AT-SPI. Supports window, sheet, alert and menu; GNOME adds shell surfaces. Virtual tray getters have limits; see the shell reference and check status
Surfaces list-surfaces Lists an app's windows, sheets and open menus; shell reads use snapshot --surface
Ref interaction click, right-click, type, set-value, clear, select, toggle, check, uncheck, expand, collapse, scroll-to 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 scroll, mouse-wheel Physical wheel input; X11 and --headed only
Pointer gestures double-click, triple-click, hover, drag --headed, X11 only. On Wayland the pointer cannot be aimed and these refuse with ACTION_NOT_SUPPORTED
Focus focus Needs --headed for the focus permission. Calls AT-SPI Component.GrabFocus on a focusable node that is not yet focused, not the pointer, and verifies the state; a GTK4 app rejects the call, so focus ends ACTION_FAILED grab_focus_rejected there and focus-window is the way to focus its window
Keyboard and mouse press, mouse-click, mouse-move, mouse-wheel press and text keys work on X11 and capability-detected Mutter Wayland sessions; pointer commands are X11 and --headed. See references/display-servers-and-input.md
Held input key-down, key-up, mouse-down, mouse-up Fail closed on every platform: on Linux, key-down and key-up with ACTION_NOT_SUPPORTED; mouse-down and mouse-up with POLICY_DENIED headless and ACTION_NOT_SUPPORTED with --headed
App and window launch, close-app, list-windows, list-apps, focus-window, move-window, resize-window, minimize, maximize, restore Launch and listing work on X11 and Wayland; focus-window requires X11. Other window control and graceful close need an X11 client. See references/windows-and-lifecycle.md
Displays list-displays Works
Capture screenshot 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 references/capture-and-clipboard.md
Clipboard clipboard-get, clipboard-set, clipboard-clear Works; text, images and file lists. Wayland needs wl-clipboard
Wait wait Works for ms, --element, --window, --text, --menu, --menu-closed, --event. Menu waits share the menu-surface detector; --notification waits for a new notification on GNOME
Notifications list-notifications, dismiss-notification, dismiss-all-notifications, notification-action GNOME Shell only; list headless, mutations --headed on X11, and dismiss-notification and notification-action also need --expected-app or --expected-title. Fields are read from the shell's widget layout, verified on GNOME Shell 46.0 only, and each mutation is proven by its effect. Wayland refuses the shell pointer before input. A notification owner that is not the shell or its own helper returns PLATFORM_NOT_SUPPORTED. See the shell reference
Shell surfaces open-system-surface Only system-tray and action-center can work. system-tray needs a StatusNotifierWatcher (else it refuses with watcher: absent); action-center needs proven
अक्सर पूछे जाने वाले सवाल

इसके लिए मुझे क्या चाहिए?

साइन इन किए उपयोगकर्ता का ग्राफ़िकल सेशन और चल रही एक्सेसिबिलिटी बस। मापा गया सेटअप Ubuntu 24.04 या उसके बाद का है।

ऐप क्यों नहीं दिखते?

सामान्य टर्मिनल या किसी और यूज़र के सेशन से चलाई गई कमांड डेस्कटॉप ऐप नहीं देख सकती, इसलिए उन्हें लक्ष्य सेशन में चलाएँ।

क्या यह Wayland पर भी उसी तरह काम करता है?

हमेशा नहीं। इनपुट, कैप्चर और विंडो नियंत्रण X11 और Wayland में अलग होते हैं।

जानकारी

लेखक का मूल विवरण

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.

repo: NanmiCoder/cc-haha

लोकप्रियता

GitHub स्टार
15k
रैंकिंग में स्थान
#10914
लाइसेंस
—
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

agent-desktop-ffi

15k

डेवलपर्स को हर कार्रवाई के लिए कमांड-लाइन टूल शुरू किए बिना agent-desktop ऑटोमेशन लाइब्रेरी को Python, Swift, Node, Go या C++ से सीधे बुलाने में मदद करती है।

कोडिंगAPI और सर्वर (backend)

agent-desktop-macos

15k

आपके एजेंट को Mac ऐप ऑटोमेट करना सिखाती है, जिसमें ज़रूरी अनुमतियाँ देना, मेन्यू और डायलॉग संभालना, और Chromium या Electron ऐप पर काम करना शामिल है।

AI और एजेंटएजेंट

agent-desktop-windows

15k

आपके एजेंट को Windows ऐप ऑटोमेट करना सिखाती है, जिसमें क्या काम करता है, PowerShell में quoting, मिनिमाइज़ की गई विंडो और ऊँचे अधिकार वाले ऐप की सीमाएँ शामिल हैं।

AI और एजेंटएजेंट

agent-desktop

15k

आपके एजेंट को एक्सेसिबिलिटी ट्री पढ़कर, क्लिक और टाइप करके और नतीजे जाँचकर Mac, Windows या Linux के डेस्कटॉप ऐप चलाने देती है।

AI और एजेंटएजेंट

मिलती-जुलती skills