跳到主要内容

Linux Desktop

Linux desktop control presets via computer_use helpers.

Skill metadata​

SourceBundled (installed by default)
Pathskills/computer-use/linux-desktop
Version1.0.0
AuthorVibeOS
LicenseMIT
Platformslinux
Tagslinux, desktop, computer-use, x11, wayland, clipboard
Related skillscomputer-use

Reference: full SKILL.md​

信息

The following is the complete skill definition that VibeOS loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.

Linux Desktop Preset

Patterns for driving a Linux desktop with computer_use, plus clipboard helpers via wl-copy/xclip when available.

When to Use​

  • User asks to control windows, menus, or desktop apps on Linux
  • Copy/paste text without a dedicated clipboard core tool

Prerequisites​

  • computer_use toolset enabled
  • Display session (X11 or Wayland)
  • Optional: wl-clipboard or xclip/xsel for clipboard

How to Run​

  1. computer_use capture (som or ax when supported).
  2. Click/type using returned element refs.
  3. Clipboard:
# Wayland
printf '%s' 'hello' | wl-copy
wl-paste

# X11
printf '%s' 'hello' | xclip -selection clipboard
xclip -selection clipboard -o

Quick Reference​

GoalApproach
UI capturecomputer_use capture
Actclick / type / focus_app
Clipboardwl-copy/wl-paste or xclip

Procedure​

  1. Detect session: $XDG_SESSION_TYPE (wayland vs x11).
  2. Capture before acting.
  3. Prefer keyboard shortcuts over fragile pixel clicks when documented.

Pitfalls​

  • Headless SSH sessions have no desktop — say so and stop.
  • Wayland blocks some automation; fall back to typed shortcuts.
  • Never paste secrets into shared terminals.

Verification​

  • Capture shows the target window.
  • Clipboard round-trip echoes the same string.