Automation

xdotool – fake keyboard/mouse input, window management

xdotool lets you simulate keyboard input and mouse activity, move and resize windows, etc. It does this using X11’s XTEST extension and other Xlib functions.

With xdotool, you can search for windows and move, resize, hide, and modify window properties like the title. If your window manager supports it, you can use xdotool to switch desktops, move windows between desktops, and change the number of desktops.

This tool does not work with Wayland.

xdotool is free and open source software.

Website: github.com/jordansissel/xdotool
Support:
Developer: Jordan Sissel
License: 3-clause BSD License

Man page

xdotool is written in C. Learn C with our recommended free books and free tutorials.


Related Software

Visual Automation Tools
AutoKeyDesktop scripting with hotkeys, abbreviations and Python
xdotoolSimulates keyboard and mouse input and controls X11 windows
ActionaBuilds scripted desktop workflows from configurable actions and conditions
OculiXCoordinates desktop workflows using screen recognition and scripted actions
wtypeGenerates keyboard input on Wayland compositors
RepeatRecords and replays desktop activity to handle repetitive everyday tasks
BiggerTaskRecords mouse and keyboard actions for straightforward playback on Linux

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted