fake keyboard/mouse input, window management, and more
C Ruby Makefile Shell
Clone or download
Permalink
Failed to load latest commit information.
examples - Add leftconsole Oct 12, 2010
ext/debian - Making .deb packages works now. Jan 3, 2011
t Make tests actually run again. Oops. Jan 7, 2017
.ghuser.io.json ghuser.io metadata. Jul 5, 2018
.gitignore gitignore 'libxdo.so.3' and 'xdotool'. Feb 4, 2016
.travis.yml Give sudo when make uninstall Mar 17, 2017
CHANGELIST Version bump Aug 5, 2016
COPYRIGHT - 20090609 release Jun 9, 2009
Doxyfile git-svn-id: https://semicomplete.googlecode.com/svn/xdotool@2937 6606… Jun 12, 2010
FAQ.md Solved FAQ May 8, 2016
Makefile add windowstate command Jan 17, 2017
README Removed build badge, as README does not have any markup associated wi… Mar 17, 2017
TODO - add todos May 30, 2011
cflags.sh Only inject a custom clock_gettime if we need to. Aug 2, 2016
cmd_behave.c Fix memory leaks. May 21, 2015
cmd_behave_screen_edge.c Only inject a custom clock_gettime if we need to. Aug 2, 2016
cmd_click.c Fix typos Jan 31, 2016
cmd_exec.c - remove unused code May 30, 2011
cmd_get_desktop.c - Refactor most 'printf' invocations to use xdotool_output which has … Jan 2, 2011
cmd_get_desktop_for_window.c - Refactor most 'printf' invocations to use xdotool_output which has … Jan 2, 2011
cmd_get_desktop_viewport.c - Make xdotool 'get_desktop_viewport' output usable as Mar 9, 2011
cmd_get_display_geometry.c - Add xdo_get_viewport_dimensions May 30, 2011
cmd_get_num_desktops.c - Refactor most 'printf' invocations to use xdotool_output which has … Jan 2, 2011
cmd_getactivewindow.c Unified naming convention for all functions of the API Jun 7, 2012
cmd_getmouselocation.c Added few options for better usage with eval Aug 5, 2016
cmd_getwindowfocus.c Unified naming convention for all functions of the API Jun 7, 2012
cmd_getwindowgeometry.c Added few options for better usage with eval Aug 5, 2016
cmd_getwindowname.c Removed all signed/unsigned conflicts May 22, 2012
cmd_getwindowpid.c Unified naming convention for all functions of the API Jun 7, 2012
cmd_key.c Fixed 'type' --window to use default %1 as manpage stated Sep 3, 2016
cmd_mousedown.c Unified naming convention for all functions of the API Jun 7, 2012
cmd_mousemove.c Remove early break for mousemove. Fix #64 Feb 2, 2016
cmd_mousemove_relative.c Unified naming convention for all functions of the API Jun 7, 2012
cmd_mouseup.c Unified naming convention for all functions of the API Jun 7, 2012
cmd_search.c Fix typo Aug 5, 2016
cmd_set_desktop.c - add --relative flag to set_desktop. May 30, 2011
cmd_set_desktop_for_window.c - consume argument Jun 19, 2010
cmd_set_desktop_viewport.c - Add xdo_get_desktop_viewport and xdo_set_desktop_viewport. Jul 6, 2010
cmd_set_num_desktops.c - Make getopt stop processing as soon as the first non-option argumen… Jun 13, 2010
cmd_set_window.c Unified naming convention for all functions of the API Jun 7, 2012
cmd_sleep.c fix usage May 29, 2011
cmd_type.c Revert part of 8e4218c; it caused a regression making the default win… Jan 7, 2017
cmd_window_select.c Unified naming convention for all functions of the API Jun 7, 2012
cmd_windowactivate.c Unified naming convention for all functions of the API Jun 7, 2012
cmd_windowclose.c New feature to close windows. May 17, 2015
cmd_windowfocus.c Fix typos Jul 16, 2016
cmd_windowkill.c Unified naming convention for all functions of the API Jun 7, 2012
cmd_windowmap.c Unified naming convention for all functions of the API Jun 7, 2012
cmd_windowminimize.c Unified naming convention for all functions of the API Jun 7, 2012
cmd_windowmove.c Added documentation for windowmove percent arguments and fixed height… Jan 5, 2016
cmd_windowraise.c Unified naming convention for all functions of the API Jun 7, 2012
cmd_windowreparent.c Unified naming convention for all functions of the API Jun 7, 2012
cmd_windowsize.c Unified naming convention for all functions of the API Jun 7, 2012
cmd_windowstate.c add windowstate command Jan 17, 2017
cmd_windowunmap.c Unified naming convention for all functions of the API Jun 7, 2012
patch_clock_gettime.h Only inject a custom clock_gettime if we need to. Aug 2, 2016
platform.sh - fix librt linking on GNU Hurd Jun 15, 2011
version.sh make build reproducible Jan 17, 2017
xdo.c add windowstate command Jan 17, 2017
xdo.h Remove declaration of xdo_get_active_keys_to_keycode_list Dec 28, 2017
xdo_cmd.h Added few options for better usage with eval Aug 5, 2016
xdo_search.c Fix memory leaks. May 21, 2015
xdo_util.h Fix sending wrong keys when using multiple keyboard layouts Jan 20, 2014
xdotool.c add windowstate command Jan 17, 2017
xdotool.h add windowstate command Jan 17, 2017
xdotool.pod Document regular expressions Aug 17, 2017

README

xdotool: Fake input from the mouse and keyboard very easily.
  Also supports window manager actions such as moving, activating, and other
  actions on windows.
libxdo: C library for doing the same.

See the website for more up-to-date documentation
  http://www.semicomplete.com/projects/xdotool/
  or the manpage listed below.

Compile: make
Install: make install
Remove: make uninstall

You may have to set 'PREFIX' to the location you want to install to. 
The default PREFIX is /usr/local

For packagers, there's also support for DESTDIR for staged install.

Also, see the manpage, which you can generate by running:
  make showman
Note: the manpage will be installed during 'make install'