Binary package “scrot” in ubuntu precise

command line screen capture utility

 scrot (SCReen shOT) is a simple commandline screen capture
 utility that uses imlib2 to grab and save images. Multiple
 image formats are supported through imlib2's dynamic saver
 modules.