xdotool is a command-line utility for automating mouse, keyboard, window, and desktop actions on X11 systems. It uses the XTEST extension and other Xlib functionality to generate input events programmatically. Users can search for windows and then move, resize, focus, activate, hide, close, or modify them. It can also switch desktops, relocate windows between desktops, and change desktop settings when the window manager supports EWMH features. The repository includes libxdo, a C library exposing similar automation capabilities for other programs. Commands can be chained and combined into shell scripts for desktop automation workflows. Native Wayland environments are not fully supported, although XWayland compatibility has improved in newer releases.

Features

  • Keyboard input simulation
  • Mouse movement and click automation
  • Window search and manipulation
  • Virtual desktop control
  • Scriptable command chaining
  • Reusable libxdo C library

Project Samples

Project Activity

See All Activity >

Categories

System

License

BSD License

Follow xdotool

xdotool Web Site

Other Useful Business Software
Host LLMs in Production With On-Demand GPUs Icon
Host LLMs in Production With On-Demand GPUs

NVIDIA L4 GPUs. 5-second cold starts. Scale to zero when idle.

Deploy your model, get an endpoint, pay only for compute time. No GPU provisioning or infrastructure management required.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of xdotool!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

C

Related Categories

C System Software

Registered

2026-10-08