Package xdotool

Fake keyboard/mouse input

http://www.semicomplete.com/projects/xdotool/

This tool lets you programmatically (or manually) simulate keyboard input
and mouse activity, move and re-size windows, etc.

General Commands
Command Description
xdotool command-line X11 automation tool