# XFce Desktop Control Skill

This skill provides comprehensive desktop automation for XFce environments using xdotool and scrot.

## Usage

Call this skill with specific actions:
- `xfce mouse_move x y` - Move mouse to coordinates
- `xfce mouse_click [left|right|middle]` - Click at current position
- `xfce mouse_click_at x y [button]` - Move and click
- `xfce type "text"` - Type text (with debounce protection)
- `xfce key "Return"` - Send a keyboard key
- `xfce key_combo "alt+Tab"` - Send key combination
- `xfce alt_tab` - Switch windows
- `xfce screenshot [filename]` - Take screenshot
- `xfce window_list` - List open windows
- `xfce window_focus "name"` - Focus window by name
- `xfce wait_for_idle [ms]` - Wait for user to stop typing

## Debounce Protection

The script automatically detects if user is typing and pauses automation:
- Waits 500ms after each detected keypress
- Maximum wait time: 6 seconds
- Uses xdotool to check keyboard/mouse activity

## Key Names

Common keys: Return, Tab, Escape, space, Up, Down, Left, Right
Modifiers: Ctrl, Alt, Shift, Super (Windows key)
Combinations: "ctrl+c", "alt+Tab", "ctrl+shift+Escape"

## Examples

```
xfce mouse_move 100 200
xfce mouse_click
xfce type "Hello World"
xfce key "Return"
xfce alt_tab
xfce screenshot
```

## Installation

Requires: xdotool, scrot (usually pre-installed on XFce)
