Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > Accelerating Finder in JAG!!!

Accelerating Finder in JAG!!!
Thread Tools
Bouba
Dedicated MacNNer
Join Date: Jan 2001
Status: Offline
Reply With Quote
Nov 5, 2002, 09:15 PM
 
Wow, I'm really amazed!!

I installed version 1.0b1 of skin-a-dock... it was so buggy that it rendered all applications that have an icon that dynamically change in the dock to crash or to behave strangely.

Version 1.0b2 solved the issue, but everything now is faster!
It seems like it affected the files in /library/caches and ~/library/caches

You could try trashing some of these files... however you could have icons that display with white icons...

But it's SNAPPIER!!!
...happiness is not a fish that you can catch.
     
Mark Tungston
Mac Elite
Join Date: Oct 2002
Status: Offline
Reply With Quote
Nov 5, 2002, 11:25 PM
 
results may vary

so i think i'll pass lest my sustem goes down the drain
snappy
     
Bouba  (op)
Dedicated MacNNer
Join Date: Jan 2001
Status: Offline
Reply With Quote
Nov 6, 2002, 01:09 AM
 
It just seems like the folders want to open instead of hanging for a couple of msec before opening... I can now see the scaling effect on my G3.

Of course, I have a g3 266, so little details like that influence a lot the behavior of the system, it's not like a dual-ghz that will still be able to breathe even though you are doing x amount of work...
...happiness is not a fish that you can catch.
     
simonmartin
Mac Enthusiast
Join Date: May 2001
Status: Offline
Reply With Quote
Nov 6, 2002, 10:46 AM
 
Originally posted by Bouba:
Wow, I'm really amazed!!

I installed version 1.0b1 of skin-a-dock... it was so buggy that it rendered all applications that have an icon that dynamically change in the dock to crash or to behave strangely.

Version 1.0b2 solved the issue, but everything now is faster!
It seems like it affected the files in /library/caches and ~/library/caches

You could try trashing some of these files... however you could have icons that display with white icons...

But it's SNAPPIER!!!
Bouba

I trashed all my files in /library/caches and ~/library/caches along with everything in /system/library/cashes and also found things a good deal snappier.

Had no probs with icons or anything else, other than the dreaded Photoshop 7 crashing that is...

Simon
     
Bouba  (op)
Dedicated MacNNer
Join Date: Jan 2001
Status: Offline
Reply With Quote
Nov 6, 2002, 12:37 PM
 
I think it means that the cache folder gets constipated with time...

Somebody could write an app with applescript studio to deblock it!!!
We could call this app Mac OS X-Lax!!!

I'll try to see what I can do about it myself!
...happiness is not a fish that you can catch.
     
simonmartin
Mac Enthusiast
Join Date: May 2001
Status: Offline
Reply With Quote
Nov 7, 2002, 11:49 AM
 
Originally posted by Bouba:
I think it means that the cache folder gets constipated with time...

Somebody could write an app with applescript studio to deblock it!!!
We could call this app Mac OS X-Lax!!!

I'll try to see what I can do about it myself!
Bouba,

I actually found one. it's called Jaguar Cache Cleaner by Northern Softworks

I don't have the link for it but I'm sure Google will find it for you, an English outfit.

Never tried it though...

Simon
( Last edited by simonmartin; Nov 7, 2002 at 12:01 PM. )
     
eddiecatflap
Baninated
Join Date: Sep 2002
Location: http://www.rotharmy.com
Status: Offline
Reply With Quote
Nov 7, 2002, 02:35 PM
 
     
diamondsw
Senior User
Join Date: Apr 2000
Location: Woodridge, IL
Status: Offline
Reply With Quote
Nov 7, 2002, 03:41 PM
 
While in theory deleting caches shouldn't harm anything, you will notice that most of your file extension associations just went down the drain. Not the ones you override yourself - those are stored in you preferences - but the ones that get set up when you first install an app. For instance, after doing this your ".doc" files won't open in Word anymore. When you launch a program for the first time afterwards OS X recreates the associations.

However, aside from that bug, killing your caches is a good maintenance thing. Apart from speed issues, things can get corrupted in the caches pretty easily. I've seen programs stop launching, file associations vanish, drag and drop die (that one was strange!), the system preferences panel go screwy, and desktop pictures not work. All fixed by deleting the cache files.

If you want life to be all good, every couple weeks boot to single user mode, and after mounting disks do this:

<<command removed>>

That will kill all of the caches and then immediately reboot (trust me - you don't want to continue after killing the caches without a reboot). Also, trying to delete this from the GUI doesn't work well, because when you logout, many of them will be written again with the same bad info. So do it from the straight command-line to be safe.

And then run Disk Utility's "Fix permissions" - when the OS recreates them, I believe all of them are owned by root.
( Last edited by Millennium; Nov 7, 2002 at 04:35 PM. )
     
CharlesS
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Nov 7, 2002, 04:24 PM
 
Originally posted by diamondsw:
<<command removed>>
I would not recommend doing this as it's very dangerous.

Instead, I would do it this way:

cd /Library
rm -r Caches
cd ~/Library
rm -r Caches
cd /var/root/Library
sudo rm -r Caches
cd /System/Library/
sudo rm -r Caches
sudo reboot

It's more lines to type, but you have a much smaller chance of accidentally hitting the Return key too early or putting a misplaced space in there and wiping out your entire Library folder, your entire user folder, or your entire hard disk.

Besides, you can just write a shell script that does this. Then, you can still execute it with just one command line.

Charles
( Last edited by CharlesS; Nov 9, 2002 at 01:35 PM. )

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
Millennium
Clinically Insane
Join Date: Nov 1999
Status: Offline
Reply With Quote
Nov 7, 2002, 04:33 PM
 
Originally posted by CharlesS:
I would not recommend doing this as it's very dangerous.
As a matter of fact, do not run that line of code at all. There's a typo which will wipe out all user directories, if you run the command as root.

I'm going to remove it from the threads, actually. I don't know if it was an innocent typo or a malicious joke, but CharlesS' method works better anyway.
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
     
AU_student_iceBook
Senior User
Join Date: Oct 2001
Location: Indiana
Status: Offline
Reply With Quote
Nov 7, 2002, 05:16 PM
 
Originally posted by CharlesS:

Instead, I would do it this way:

cd /Library
rm -r Caches
cd ~/Library
rm -r Caches
cd /var/root/Library
rm -r Caches
cd /System/Library/
rm -r Caches
reboot
Thanks Charles, I logged in as root and did this. How would I make a shell script?
Thanks.
     
yukon
Mac Elite
Join Date: Oct 2000
Location: Amboy Navada, Canadia.
Status: Offline
Reply With Quote
Nov 8, 2002, 02:06 PM
 
wow, i've noticed it too. After turning off the zoomrects in the finder, it's like it waits until they would have finished to open the folder. seems to have cleared that up. I have deleted the caches before, but never seen that speed up.

Oh, skinadock is a really awesome app. Impressve. But it often makes the icon's so very small, and it can lower productivity. cool visuals though, I can't wait for newer "themes"
[img]broken link[/img]
This insanity brought to you by:
The French CBC, driving antenna users mad since 1937.
     
Shuh
Fresh-Faced Recruit
Join Date: Sep 2002
Location: Louisiana
Status: Offline
Reply With Quote
Nov 8, 2002, 03:45 PM
 
A quicker way to do it with far less typing:

[localhost:~] edward% rm -r {,~,/var/root,/System}/Library/Caches
( Last edited by Shuh; Nov 8, 2002 at 03:53 PM. )
     
a-poria
Forum Regular
Join Date: Mar 2001
Status: Offline
Reply With Quote
Nov 8, 2002, 04:24 PM
 
following charles' method, would it be better to do this logged in as root user or under single user mode? is there a difference?
     
CharlesS
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Nov 9, 2002, 01:31 PM
 
Originally posted by Shuh:
A quicker way to do it with far less typing:

[localhost:~] edward% rm -r {,~,/var/root,/System}/Library/Caches
This has a similar problem to the original command - it has slashes in the rm command. You never want to do that - a typo could cause you to accidentally hose your entire home directory, or /var/root, or /System, or any of the above.

Just cd into the directory you want, and type rm -r with only the name of the folder you want to delete. Never have any slashes (/) in an rm command or you risk causing serious damage to your system.

Yeah, it's more typing to do it my way, but you get a peace of mind you don't get this way.

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
CharlesS
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Nov 9, 2002, 01:34 PM
 
Originally posted by a-poria:
following charles' method, would it be better to do this logged in as root user or under single user mode? is there a difference?
Neither. You can either use sudo -s before running the commands, or you can prefix the two commands that require root access (deleting the caches in /System/Library and in /var/root, and rebooting) with sudo. The latter is the best, and I think I will update my instructions to reflect that.

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
   
 
Forum Links
Forum 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
Top
Privacy Policy
All times are GMT -4. The time now is 10:26 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,