#### Beyond Linux® From Scratch (System V Edition) - Version r12.4-737

### Chapter 12. System Utilities

- Prev

  Which-2.23 and Alternatives

- Next

  Zip-3.0

- Up
- Home

# xdotool-4.20251130.1

## Introduction to xdotool

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.

### Note

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.

### Package Information

- 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)

### xdotool Dependencies

#### Required

Xorg Libraries

#### Optional

Ruby-3.4.7 (for tests)

## Installation of xdotool

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

## Contents

Installed Program: xdotool
Installed Libraries: libxdo.so
Installed Directories: None

- Prev

  Which-2.23 and Alternatives

- Next

  Zip-3.0

- Up
- Home