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.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the 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)
Ruby-3.4.7 (for tests)
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