Go Back   The macosxhints Forums > OS X Help Requests > System



Reply
 
Thread Tools Rating: Thread Rating: 7 votes, 5.00 average. Display Modes
Old 08-22-2005, 01:18 AM   #1
UniAce
Triple-A Player
 
Join Date: Dec 2004
Posts: 152
Change Screen Capture Save Location?

Is there a way to change the location where Screen Captures (aka Screenshots) are saved? It's not convenient having them clutter up the desktop. Thanks!
UniAce is offline   Reply With Quote
Old 08-22-2005, 09:47 AM   #2
Raven
Hall of Famer
 
Join Date: Jul 2003
Location: Montreal
Posts: 4,782
To change the default location, open a terminal window and type in the following (you will need admin access to do this !)

sudo defaults write com.apple.screencapture location /Full/Path/To/Folder

When prompted for a password, type in your admin password, and voila, you've change the location for snapshots !
__________________
Waffled foreheads are a symptom of broken keyboards and inexperienced users
Raven is offline   Reply With Quote
Old 08-22-2005, 09:31 PM   #3
UniAce
Triple-A Player
 
Join Date: Dec 2004
Posts: 152
Hmm, I tried typing the following in Terminal:

sudo defaults write com.apple.screencapture location ~/Desktop/Screenshots

but the screenshots are still going to the Desktop. I have only one account on this computer and it is the Admin account. Maybe I specified the path incorrectly? Thanks.
UniAce is offline   Reply With Quote
Old 08-22-2005, 09:45 PM   #4
biovizier
All Star
 
Join Date: May 2004
Location: london on ca
Posts: 930
A couple of problems - one is the 'sudo'. The command is supposed to create / modify the com.apple.screencapture.plist file in your home directory, but by using 'sudo', the file ends up being owned by "root" and 'defaults write' always creates files with '-rw-------' permissions so your 'screencapture' process never gets to read the file. The second problem is that the full path is required - you can't use "~". Otherwise, you may need to log out and back in for the change to take effect.
biovizier is offline   Reply With Quote
Old 08-23-2005, 10:52 AM   #5
Raven
Hall of Famer
 
Join Date: Jul 2003
Location: Montreal
Posts: 4,782
Thanks for filling in the blanks biovizier !
I'm so used to changing things with defaults that I forgot to put more emphasis on using the full path...
__________________
Waffled foreheads are a symptom of broken keyboards and inexperienced users
Raven is offline   Reply With Quote
Old 08-23-2005, 01:56 PM   #6
UniAce
Triple-A Player
 
Join Date: Dec 2004
Posts: 152
Thanks guys. So beside using the proper full path, what other changes, if any, should I make to the command? Should I not use 'sudo' or 'defaults'? If not, what should be used instead? Apologies, but my UNIX knowledge is quite limited. Thanks again.
UniAce is offline   Reply With Quote
Old 08-23-2005, 01:59 PM   #7
Raven
Hall of Famer
 
Join Date: Jul 2003
Location: Montreal
Posts: 4,782
Just take out the sudo part...
Also, note that you have to have created the folder in which you want the snapshots to go to before mapping to it !
__________________
Waffled foreheads are a symptom of broken keyboards and inexperienced users
Raven is offline   Reply With Quote
Old 08-24-2005, 01:07 AM   #8
UniAce
Triple-A Player
 
Join Date: Dec 2004
Posts: 152
Thumbs up

It worked!
I typed the following into Terminal:

defaults write com.apple.screencapture location /Users/uniace/Desktop/Screenshots

I was not prompted for a password.
Note that I HAD already created the "Screenshots" folder, as Raven indicated is necessary. I had to log out and back in for the new location to start working. YES!
If there's not already a hint on this, there should be. Thanks again.
UniAce is offline   Reply With Quote
Old 08-24-2005, 10:21 AM   #9
Raven
Hall of Famer
 
Join Date: Jul 2003
Location: Montreal
Posts: 4,782
I can't remember where I had found this info, but I emailed it as a possible hint asking to check if its already been posted. If not then it should be shortly.
__________________
Waffled foreheads are a symptom of broken keyboards and inexperienced users
Raven is offline   Reply With Quote
Old 08-25-2005, 02:46 AM   #10
dave1212
Guest
 
Posts: n/a
Lightbulb Slow Shooting?

Posted this on the hint, but this is more a discussion thing:

Working well, I have a folder called 'Shots' on the desktop that it's saving to.

However, it now seems to actually write the file a lot slower. For example, if I took 3 successful screenshots without this hint, it made pic 1, 2, and 3 on the desktop.

Now it names all the temp files pic 1 and only produces one file in the destination folder. If I didn't look at the folder to witness this I would assume it's eating my screenshots.

If I wait an extra few seconds between screenshots, there's no problem.

Why is that, do you think?
  Reply With Quote
Old 08-25-2005, 10:14 AM   #11
Raven
Hall of Famer
 
Join Date: Jul 2003
Location: Montreal
Posts: 4,782
Personnaly, I'm only getting something like a second delay between the ones that get saved (was able to time this by having the time with seconds showing on the screen while taking the shots). I have to hit the key combo quite quickly for this to happens... And I see no speed difference in this compared to when I had the screen captures saved to the desktop.
Is it possible that your running a machine on OS X with something like 256 megs of ram or less ? Or that the load on your machine is high (hard drive very full ? or take a look at the Activity Monitor in the Utilities folder and se how much ram, memory, cpu % your system uses when only the Finder is running).
__________________
Waffled foreheads are a symptom of broken keyboards and inexperienced users
Raven is offline   Reply With Quote
Old 08-25-2005, 11:42 PM   #12
dave1212
Guest
 
Posts: n/a
Lightbulb

Quote:
Originally Posted by Raven
Is it possible that your running a machine on OS X with something like 256 megs of ram or less ? Or that the load on your machine is high (hard drive very full ? or take a look at the Activity Monitor in the Utilities folder and se how much ram, memory, cpu % your system uses when only the Finder is running).

Haha no unfortunately it's not that.. tons of hd space, and max RAM.

Tried it again, happened again. Leaves the temp files all named the same, then only leaves 1 file behind.
  Reply With Quote
Old 08-25-2005, 11:47 PM   #13
dave1212
Guest
 
Posts: n/a
Lightbulb



weird stuff.. so taking that shot of those temp files gave me a second final file.

So confusing.
  Reply With Quote
Old 08-29-2005, 11:31 AM   #14
Raven
Hall of Famer
 
Join Date: Jul 2003
Location: Montreal
Posts: 4,782
Strange indeed... But at least its very rare that you have to take multiple screen captures at such intervals... If you need to do so regularely, I'd suggest investing in some thing like SnapzPro X from www.ambrosiasw.com
I have been using it for 6 months now and love the fact that you can do snapshots or movies very easily... almost as if you were taking screen captures with the OS X built-in tools.
__________________
Waffled foreheads are a symptom of broken keyboards and inexperienced users
Raven is offline   Reply With Quote
Old 08-29-2005, 03:02 PM   #15
guardian34
All Star
 
Join Date: Jul 2004
Posts: 713
I made an AppleScript application to change the screenshot settings.

Last edited by guardian34; 08-30-2005 at 08:26 AM.
guardian34 is offline   Reply With Quote
Old 04-06-2006, 03:50 AM   #16
sydneytim
Prospect
 
Join Date: Nov 2004
Posts: 34
guardian34's mini app is awesome!

Nice work on that script - sure saved me a lot of stuffing around in Terminal.

The URL of the script has changed - it's now over here.

Thanks!

Last edited by sydneytim; 04-06-2006 at 03:53 AM.
sydneytim is offline   Reply With Quote
Old 08-18-2007, 10:10 PM   #17
Lake
Prospect
 
Join Date: Jan 2005
Posts: 3
Adding to this thread as it's the one linked from the hint:

Apparently you must log out and then back in again for the new defaults setting to take effect. Or if you're like me, rarely log out, and find shutting down everything a pain you can "kill -HUP" the "SystemUIServer" process from Terminal.

PHP Code:
killall -HUP SystemUIServer 
This worked for me without losing any state, but it was just a shot in the dark I got lucky on with the first try, so I can't guarantee it'll work as described for you.
Lake is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 04:56 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.