Also, if your auto-keyboard tool was hooking in using X debug extensions like xdotool did, your tool was broken and wrong in the first place. The correct way to submit synthetic input events is to build a synthetic input device. uinput makes this shockingly straightforward: https://kernel.org/doc/html/v4.12/input/uinput.html#keyboard.... There are even high-level bindings (via libevdev) for high-level languages: https://gitlab.freedesktop.org/libevdev/python-libevdev/-/bl....