xdotool

    This tool automates input and control of your window manager in X11.

    ...

    Recent user activities on xdotool