E
dotool is a long-anticipated replacement of Xdotool, the famed X11 input device simulator that’s showing its age and doesn’t support Wayland sessions.
Edotool works well in both X11 and Wayland, and provides you with many useful input features. Edotool can do more than just ‘X11 actions’ thanks to its Wayland support, but also goes one better than Xdotool in terms of automation. While you can move the mouse pointer and press keys with Xdotool, you’ll likely need a third-party utility to record the appropriate macro.