I used to be able to set the key location under com.apple.screencapture to change the save location for the system-wide screen capture facility.
This doesn't work for me anymore -- screenshots save to the Desktop regardless of the setting of location. Here's what defaults says:
$ defaults read com.apple.screencapture
{
location = "/Users/jogloran/Desktop/Screenshots";
}
