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

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

Solution 1:

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.