MacOS – How to get `defaults write com.apple.screencapture` to change screen capture location in Mountain Lion

macosscreen capture

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";
}

Best Answer

Works for me quite happily.

enter image description here

Have you restarted UIserver?

killall SystemUIServer

Does the path exist?

UPDATE: If the screen capture cannot find or write to the designated folder, it will default to the current user's desktop.