XDo is a library to automate your mouse, fake keyboard input and
manipulate windows in a Linux X server environment. It's wrapped
around a lot of command line tools (see requirements) of which xdotool
is the main one, the others are usually installed. It's designed to work
only with Ruby 1.9.