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
Already Paying for an RMM? Get 50% Off Splashtop AEM Icon
Already Paying for an RMM? Get 50% Off Splashtop AEM

Switch to Splashtop AEM and save up to 50% in your first year

Automated OS and third-party patching for Windows and macOS, CVE prioritization with AI patch summaries, and built-in remote control that also supports Linux. Qualifying organizations switching from another RMM get up to 50% off year one.
Get Started
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