If you need to do one without using the GUI (i.e. to capture a modal dialog or pull-down menu), I use the (old but useful) xwd program to dump the whole screen from a remote login. xwd -root > foo.wd gimp can edit/trim these. You can also use "sleep 3; xwd -root > foo.wd" to give you a few seconds to arrange the screen for your dump.