8.2.2 Recording X activities
If you need to record the graphic image of an X application, including an
xterm display, use gimp (GUI). It can capture each
window or the whole screen. Alternatives are xwd
(xbase-clients), import (imagemagick),
and scrot (scrot).