usually there are programs that take screenshots, but my favourite is the commandline way.
import -w root [destination]/[filename].png
Or, you can use a shellscript that i use.
Code:
#!/bin/bash
d=`date +%Y%m%d`
n=`date +%H:%M:%S`
sleep 2
import -w root [destination folder: ie. /home/user/screenshots]/$d-$n.png
Just copy that code to a text file and save it to /bin/wincapt.sh (or call it "shoot" it doesn't really matter) This will make a command that you can easily type that executes a number of commands!
To make it executable, type into the command line as root:
Code:
chmod a+x /bin/wincapt.sh
(wincapt is just an example filename)
then, you can make an icon on your bar or desktop that runs the command you just made.
When you run the script, it will automatically grab the date, take a screenshot, and call it YYYYMMDD-HH:MinuteMinute:SS.png. You can change the script to use jpeg, bmp, but I suggest png.
if you want the screenshot you just took to open in Eye of Gnome, add the line (to the shellscript):
eog [same destination as the picture you just took]/$d-$n.png
or the GIMP:
gimp [same destination as the picture you just took]/$d-$n.png
etc.
Hope that's helpful.
PS, if you know how, you can save the shellscript to /usr/local/bin and then if you want make a symbolic link to it in /bin
PPS
Are you a Mr. Bungle fan too?