Simulate keyboard/mouse input and manage X11 windows from CLI
Fake keyboard/mouse input and window management for X
xdotool
$ xdotool type 'Hello World'
$ xdotool mousemove 100 200 click 1
$ xdotool search --name 'Firefox' windowactivate