The xdotool package provides the capabilities to simulate keyboard input and mouse activity, move and resize windows, etc. It does this using X11’s XTEST extension and other Xlib functions.
This version of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable version of the System V books.
Download (HTTP): https://github.com/jordansissel/xdotool/releases/download/v4.20251130.1/xdotool-4.20251130.1.tar.gz
Download MD5 sum: 3b12dfb29de5138f48fbb0ab5017313e
Download size: 116 KB
Estimated disk space required: 1.2 MB
Estimated build time: less than 0.1 SBU (add 0.5 SBU for tests)
gnome-session-49.2, openbox-3.6.1, Ruby-4.0.1, Xorg Applications, and Xorg-Server-21.1.21 (for the Xvfb program),
First, fix an invalid path in an installed pkg-config file:
sed -i 's#/local##' libxdo.pc
Install xdotool by running the following commands:
make WITHOUT_RPATH_FIX=1
To run the tests, do:
cd t make all-headless cd ..
Now, as the root user:
make PREFIX=/usr INSTALLMAN=/usr/share/man install