dotool reads actions from stdin and simulates keyboard/mouse input using Linux's uinput module. It works systemwide and supports keyboard layouts.
Packages of dotool are available on:
and potentially other platforms.
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
See the manpage.
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.
GPLv3 only, see LICENSE.
Copyright (c) 2022-2023 John Gebbie