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
Ship Agents Faster Icon
Ship Agents Faster

Transform your applications and workflows into powerful agentic systems at global scale.

Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
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