A Unicode-friendly tool for faking key presses to type strings on X11.
There are loads of tools for automating keyboard events and typing, like xte
, as well as many language specific libraries, such as pyautogui
and java.awt.Robot
, however they all have one major flaw: They completely fuck up Unicode.
Autotype requires python 3 and python xlib.
On Debian based systems, these can be installed with
apt install python3 python3-xlib
Xlib can also be installed with pip
pip3 install python3-xlib
The python module can be installed using pip3:
pip3 install autotype
There is no support for python 2.
To install the command line tool, clone the repo with
git clone https://github.com/gemdude46/autotype.git
and run install.sh
(May require root. To install just for one user, ensure the python module is installed, then copy app/autotype
to somewhere on your PATH.)
Autotype is licensed under the MIT License - see the LICENSE file for details