2022-10-20 15:21:20 +02:00
|
|
|
# dotool
|
|
|
|
|
2023-08-16 18:03:15 +02:00
|
|
|
dotool reads actions from stdin and simulates keyboard/mouse input using
|
|
|
|
Linux's uinput module. It works system-wide, including in X11, Wayland
|
|
|
|
and TTYs.
|
2022-10-20 15:21:20 +02:00
|
|
|
|
2023-08-24 23:22:20 +02:00
|
|
|
## Install From Packages
|
|
|
|
|
|
|
|
Packages of dotool are available on:
|
|
|
|
|
|
|
|
- [Alpine](https://pkgs.alpinelinux.org/packages?name=dotool)
|
|
|
|
- [Arch (AUR)](https://aur.archlinux.org/packages?SeB=n&K=dotool)
|
|
|
|
- [Nix](https://search.nixos.org/packages?channel=unstable&type=packages&query=dotool)
|
|
|
|
- [Void](https://voidlinux.org/packages/?q=dotool)
|
|
|
|
|
|
|
|
and potentially other platforms.
|
|
|
|
|
2022-10-24 11:29:35 +02:00
|
|
|
## Install From Source
|
2022-10-20 15:21:20 +02:00
|
|
|
|
2023-08-16 18:03:15 +02:00
|
|
|
With `go`, `libxkbcommon-dev` and `scdoc` installed, run:
|
2023-01-07 00:03:48 +01:00
|
|
|
|
2023-08-16 18:14:35 +02:00
|
|
|
./build.sh && sudo ./build.sh install
|
|
|
|
|
|
|
|
And to trigger the udev rule, run:
|
|
|
|
|
|
|
|
sudo udevadm control --reload && sudo udevadm trigger
|
2022-10-20 15:21:20 +02:00
|
|
|
|
2023-03-05 16:08:52 +01:00
|
|
|
## Usage
|
|
|
|
|
2023-08-16 18:03:15 +02:00
|
|
|
See the [manpage](doc/dotool.1.scd).
|
2022-10-20 15:21:20 +02:00
|
|
|
|
2023-04-21 12:08:12 +02:00
|
|
|
## Numen and Contact
|
2022-10-20 15:21:20 +02:00
|
|
|
|
2023-04-21 12:08:12 +02:00
|
|
|
dotool was written for [Numen](https://numenvoice.org), which has a
|
|
|
|
[chat on Matrix](https://matrix.to/#/#numen:matrix.org) you're welcome to join.
|
2023-01-06 23:58:41 +01:00
|
|
|
|
2023-08-16 18:03:15 +02:00
|
|
|
You can also send questions or patches by composing an email to
|
2023-09-13 11:45:25 +02:00
|
|
|
[~geb/numen@lists.sr.ht](https://lists.sr.ht/~geb/numen).
|
2022-12-12 19:27:10 +01:00
|
|
|
|
2023-08-16 18:03:15 +02:00
|
|
|
## Support My Work 👀
|
2022-12-12 19:27:10 +01:00
|
|
|
|
|
|
|
[Thank you!](https://liberapay.com/geb)
|
2022-11-19 11:08:08 +01:00
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
GPLv3 only, see [LICENSE](./LICENSE).
|
|
|
|
|
2023-01-09 14:28:39 +01:00
|
|
|
Copyright (c) 2022-2023 John Gebbie
|