geb/dotool - Command to simulate input anywhere (X11, Wayland, TTYs) - sourcehut git ([original](https://git.sr.ht/geb/dotool)) (raw)
dotool reads actions from stdin and simulates keyboard/mouse input using Linux's uinput module. It works systemwide and supports keyboard layouts.
#Install From Packages
Packages of dotool are available on:
and potentially other platforms.
#Install From Source
With gcc (or equivalent), go, libxkbcommon-dev and scdoc installed, run:
./build.sh && sudo ./build.sh install
And to trigger the udev rule, run:
sudo udevadm control --reload && sudo udevadm trigger
#Usage
See the manpage.
#Numen and Contact
dotool was written for Numen, which has achat on Matrix you're welcome to join.
You can also send questions or patches by composing an email to~geb/numen@lists.sr.ht.
#Support My Work 👀
#License
GPLv3 only, see LICENSE.
Copyright (c) 2022-2026 John Gebbie