~geb/dotool

Command to simulate input anywhere (X11, Wayland, TTYs)
prefer keys on lower levels for realsies
replace --keyboard-name with $DOTOOL_KEYBOARD_NAME

clone

read-only
https://git.sr.ht/~geb/dotool
read/write
git@git.sr.ht:~geb/dotool

You can also use your local clone with git send-email.

#dotool

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 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 a chat 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 👀

Thank you!

#License

GPLv3 only, see LICENSE.

Copyright (c) 2022-2023 John Gebbie