🦀 ClawHub
OpenClaw Desktop Control
by @michealxie001
Remote desktop control and automation. Capture screenshots, control mouse and keyboard, automate UI interactions. Supports VNC, RDP, and local desktop enviro...
⚡ When to Use
💡 Examples
1. 连接桌面环境
# 连接到 VNC 桌面
python3 scripts/main.py connect --host localhost --port 5900 --password secret连接到本地桌面 (Linux)
python3 scripts/main.py connect --local
2. 基本操作
# 截图
python3 scripts/main.py screenshot --output /tmp/screen.png移动鼠标
python3 scripts/main.py mouse move --x 500 --y 300点击
python3 scripts/main.py mouse click --x 500 --y 300 --button left输入文本
python3 scripts/main.py type "Hello World"按键
python3 scripts/main.py key press --keys ctrl,c
3. 自动化脚本
# 执行脚本
python3 scripts/main.py script examples/open_browser.txt
⚙️ Configuration
# 设置环境变量
export DESKTOP_HOST=localhost
export DESKTOP_PORT=5900
export DESKTOP_PASSWORD=secret
export DESKTOP_TYPE=vnc # vnc, rdp, local
TERMINAL
clawhub install oc-desktop-control