readme & man: tweak

This commit is contained in:
John Gebbie 2023-10-12 23:00:35 +01:00
parent 7688cc321c
commit ba251d1afd
2 changed files with 3 additions and 5 deletions

View file

@ -1,8 +1,7 @@
# dotool # dotool
dotool reads actions from stdin and simulates keyboard/mouse input using dotool reads actions from stdin and simulates keyboard/mouse input using
Linux's uinput module. It works system-wide, including in X11, Wayland Linux's uinput module. It works systemwide and supports keyboard layouts.
and TTYs.
## Install From Packages ## Install From Packages

View file

@ -34,9 +34,8 @@ and then it's foolproof to reboot to make the group and rule effective.
*dotool* may type gobbledygook if it's simulating keycodes for a different *dotool* may type gobbledygook if it's simulating keycodes for a different
keyboard layout than your environment is expecting. keyboard layout than your environment is expecting.
You can have *dotool* simulate keycodes for whatever layout by setting the You can specify the layout with the environment variables *DOTOOL_XKB_LAYOUT*
environment variables *DOTOOL_XKB_LAYOUT* and *DOTOOL_XKB_VARIANT*. For and *DOTOOL_XKB_VARIANT*. For example:
example:
*echo type azerty | DOTOOL_XKB_LAYOUT=fr dotool* *echo type azerty | DOTOOL_XKB_LAYOUT=fr dotool*