Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Mac OS X Hints site update' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Mac OS X Hints site update
Authored by: cycomachead on Apr 23, '09 10:20:33PM
I don't know if this helps you at all but there is what I have:

10.5: Change folder sort order in the Finder's Kind view
Today, 7:30 AM
In the Finder's list view, if you sort by Kind, folders are lumped together in the middle of the list. If you'd rather see all the folders at the beginning of the list, here's how to change the sort order.

In the Finder, navigate to /System » Library » CoreServices » Finder.app » Contents » Resources » English.lproj (or the folder for your language). In that folder, open the InfoPlist.strings file in a pure text editor.

Inside the file, find this section and entry:
/* General kind strings */"Folder" = "Folder";
Leave the first line alone, but change the second to read:
"Folder" = " Folder";
Note that I have added only a single space before Folder. Save the file after making the change, and then restart OS X.

To test your change, open a Finder window and view by Kind (either via View » Show View Op...


Read more…
Browse current Terminal directory in a web browser
Today, 7:30 AM
While browsing commandlinefu.com (a very useful site, by the way), I found this gem that uses Python to quickly set up a webserver for the current directory in Terminal.

First launch Terminal and cd to the directory you'd like to access via your web browser. Then just use this command to start a webserver serving just that folder (and folders within it):
python -m SimpleHTTPServer
The webserver runs on port 8000, so to access the pages in your browser, you'd use http://localhost:8000. If you'd rather run the webserver on another port, just include the port number on the python line: python -m SimpleHTTPServer 8080.

Depending on which browser you're using and the files you're browsing, you ma...


Read more…
Permanently remove updater from Google Earth 5
Today, 7:30 AM
There has been a fair amount of controversy around Google forcing users to install a background updater application before they can use Google Earth 5. A point of particular contention is that a user has no immediate control through the application interface to specify if or how often they want the Google updater service to activate.

As one can imagine, this has the potential to cause a world of hurt especially for people on limited internet connections. Personally, I just don't like not having control over what my computer does; I say what software gets installed and when it gets run. Excuse me while I keep myself from getting carried away here and going on a big rant.

Remove Google Earth's ability to install the update service

Locate your copy of Google Earth, Control-click on the application and choose Show Package Contents from the pop-up menu. No remove the following two files, based on starting at the top of the application bundle:
...

[ Reply to This | # ]
Mac OS X Hints site update
Authored by: hobbster on Apr 23, '09 10:34:50PM

I happened to have both those pages open in tabs when the site got hacked. Unfortunately I refreshed the "folder sort" tab and of course lost the content. Couldn't even find a png of it in Safari's huuuuuge cache folder. But here's the text of the "google updater" hint:

There has been a fair amount of controversy around Google forcing users to install a background updater application before they can use Google Earth 5. A point of particular contention is that a user has no immediate control through the application interface to specify if or how often they want the Google updater service to activate.

As one can imagine, this has the potential to cause a world of hurt especially for people on limited internet connections. Personally, I just don't like not having control over what my computer does; I say what software gets installed and when it gets run. Excuse me while I keep myself from getting carried away here and going on a big rant.

Remove Google Earth's ability to install the update service

Locate your copy of Google Earth, Control-click on the application and choose Show Package Contents from the pop-up menu. No remove the following two files, based on starting at the top of the application bundle:
Contents/Frameworks/KeystoneRegistration.framework/Resources/install.py
Contents/Frameworks/KeystoneRegistration.framework/Resources/Keystone.tbz
The first file is the python script used to install the updater service, while the second is a tar-bzip'd bundle that contains the updater service. If the source files aren't there, Google Earth will be incapable of installing the updater service, no matter what you tell/told it on first run.

Remove the updater application and files installed by Google Earth

If you've already been running Google Earth 5, you may also wish to do the following after completing the first part of the hint. Remove the following folders/files:
~/Library/Google/GoogleSoftwareUpdate
~/Library/LaunchAgents/com.google.keystone.daemon.plist
~/Library/Caches/com.Google.Keystone.*
~/Library/Logs/GoogleSoftwareUpdateAgent.log
The first being the Google update service, the second the launchd plist that specifies when to run the service, third any items already downloaded by the google update service, and fourth the log file from the update service.

Addendum

If you've followed thus far, you should have successfully removed the Google Update service from your Mac, and prevented Google Earth from being able to re-install the software. Note that other Google software may also use/install the Google Update service. I haven't researched that far, and so this hint applies to those only using Google Earth 5 and no other Google software. If all you wanted to do was remove the update service from Google Earth 5, you can stop reading now. If you're of the curious type, the following may be of interest to you, and is provided for informative purposes only.

Those with the ability to read programming code, particularly Python, may wish to peruse the install script to see exactly what happens when the software in installed. If you do, you may notice that providing the --nuke flag when running the script will remove the software and the launchd plist; this of course doesn't stop Google Earth re-installing it at next launch. It also doesn't remove the log, nor the update cache.

For some reason, the Keystone Registration framework also includes copies of the bundle and install script at the following locations, using the same working directory as part one of the above hint:

Contents/Frameworks/KeystoneRegistration.framework/Versions/A/Resources/
Contents/Frameworks/KeystoneRegistration.framework/Versions/Current/Resources/

Normally, .../KeystoneRegistration.framework/Versions/Current is a symlink to .../KeystoneRegistration.framework/Versions/A, and .../KeystoneRegistration.framework/Resources is a symlink to .../KeystoneRegistration.framework/Versions/A/Resources.

Not sure what's going on here, but it seems a bit redundant to have three copies of the same files. Nonetheless, removing the items in the above hint is sufficient in preventing the installation of the service.

[robg adds: I haven't tested this one.]



[ Reply to This | # ]