AlternativeTo Logo
xdotool icon

xdotool

This tool automates input and control of your window manager in X11.

  • Linux
  • X11
Avg rating of 3 (4)| 5 comments

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.

show full description

xdotool Screenshots

 Suggest and vote on features

xdotool Features

  1.  Command line interfacexdotool either have CLI support or is a CLI-only app.
  2.  Support for scriptingxdotool supports scripts and macros to automate or customize tasks.

xdotool information

  • LicensingOpen Source and Free product.
  • RatingAverage rating of 3
  • Alternatives58 alternatives listed

Supported Languages

  • English

Our users have written 5 comments and reviews about xdotool, and it has gotten 13 likes

xdotool was added to AlternativeTo by Viaken on and this page was last updated .

Comments and Reviews  Post a comment/review

 all • positive • negative      relevance • date
ab1
  
Top positive comment ago
Copy a direct link to this comment to your clipboard   
If this Review contains spam or other abuse, notify admins about it.   

pidof but for X11. Detect pid manually with some window. Clean output with xdotool selectwindow getwindowpid.

Show entire comment
1
ab1
  
Top positive comment agoPending approval • Edited ago
Copy a direct link to this comment to your clipboard   
If this Review contains spam or other abuse, notify admins about it.   

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

Show entire comment
0
ab1
  
Top negative comment ago
Copy a direct link to this comment to your clipboard   
If this Review contains spam or other abuse, notify admins about it.   

No record and replay. No magic autotimings. Just list of commands.

Easy as first glance but painful and very fragile in general.

Show entire comment
0
jDally987
  
Review ago
Copy a direct link to this comment to your clipboard   
If this Review contains spam or other abuse, notify admins about it.   

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.

Show entire comment
0
metaphil
Comment ago
Copy a direct link to this comment to your clipboard   
If this Comment contains spam or other abuse, notify admins about it.   

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

Show entire comment
2

Tags

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

Recent user activities on xdotool

AlternativeTo