xdotool icon
xdotool icon

xdotool

 17 likes

This tool 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.

xdotool screenshot 1

License model

  • FreeOpen Source

Application type

Platforms

  • Linux
  • X11
3.5 / 5 Avg rating (2)
17likes
3comments
0news articles

Features

Suggest and vote on features
  1.  Command line interface
  2.  Support for scripting
  3.  Workflow Automation
  4.  X11/Xorg
  5.  Support for Hotkeys
  6.  Macro Recording

 Tags

  • Automation
  • automated-tasks
  • automation-tool
  • create-hotkeys

xdotool News & Activities

Highlights All activities

Recent activities

Show all activities

xdotool information

  • Developed by

    Unknown
  • Licensing

    Open Source and Free product.
  • Rating

    Average rating of 3.5
  • Alternatives

    60 alternatives listed
  • Supported Languages

    • English

AlternativeTo Categories

Office & ProductivityOS & Utilities

Our users have written 3 comments and reviews about xdotool, and it has gotten 17 likes

xdotool was added to AlternativeTo by Viaken on Mar 17, 2015 and this page was last updated Jan 27, 2021.

Comments and Reviews

   
 Post comment/review
Top Positive Comment
ab1
Jun 1, 2022
0

These commands will report pid for active window every 1 second without errors.
Only active window switch and not mouse hover! These commands will not capture actions that are faster than the delay.

while true; do sleep 1; xdotool getactivewindow getwindowpid 2/dev/null; done

John Chaney
Oct 2, 2020
0

Definitely does not come close to what AHK does. It does do a lot of window-related stuff but falls VERY short in the hotkey-specific things. xbindkeys combined with this helps, but still reaches nowhere near the level of AHK.

metaphil
Mar 5, 2017
2

sleek, nifty and powerful utility that (when used in scripts) makes up for the lack of AutoHotkey icon AutoHotkey under Linux.

What is xdotool?

This tool 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.

Additionally, 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.