xdotool is a command-line tool to automate GUI tasks such as window manipulation. It can simulate key presses and mouse clicks.
Xdotool is a command line utility that can automate x11 GUI tasks such as focusing and moving windows, switching between desktops, and sending key presses and mouse clicks to windows programmatically.