Install cnee by entering the following commands in the terminal:
sudo apt update sudo apt install cnee
Description:
X event recorder/replayer - command-line flavor
GNU Xnee is a suite of programs that can record, replay and distribute user actions under the X11 environment. Think of it as a robot that can imitate the job you just did. . Xnee can be used to - automate tests - demonstrate programs - distribute actions - record and replay 'macro' - retype a file . This package contains the command-line flavor of Xnee.
Homepage: http://www.sandklef.com/xnee/
Version: 3.19-2
Section: universe/x11