Originally posted by colby
If you want to take a screenshot in linux you have a couple of options. The first and most basic option is to use the program "import". The second option is to use a graphics application such as the GIMP to pull in a screenshot for you.
Using "import" is pretty straightforward. If you need more information, `man import` is a pretty good guide. If you call "import" with no arguments, you will be given a cursor to select which window you wish to take a shot of, or you can drag the cursor to grab a certain rectangle of your screen. If you want to take a shot of the entire desktop use "import -window root". If you would like to tell "import" to save in a certain file format, call it with a file argument such as desktop.jpg ("import -window root desktop.jpg") or window.jpg ("import window.jpg"). There are plenty of other arguments to "import" that allow you to scale and compress the image, see the man page for samples.
Using a graphics application such as the GIMP should be pretty straightforward but is also dependent on which application you are using. With The GIMP, open the application, then choose "File" --> "Acquire" --> "Screen Shot". This will pop up a dialog box which is basically a nice interface to grab a shot from "import" and pull it into the editor.