This link will give you many ways to take a screenshot:
Code:
http://tips.webdesign10.com/how-to-take-a-screenshot-on-ubuntu-linux
In a terminal, it's as simple as:
Code:
import -window root MyScreenshot2.png
, but as you'll read, you can add the 'sleep' command to allow you to close/open windows, etc., before taking the shot.
cheers,