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

10.7: Disable the Location Services Menubar Item System 10.7
If you do not want to disable Location Services, but would like to remove the 'arrow' from the menubar permanently, you can do that by disabling the system LaunchAgent for the menu item.

Open /System/Library/LaunchAgents/ in your editor of choice. I like Lingon (app store link), but any method will do.

If you are using Lingon, look under SystemAgents for Select the item, dismiss the warning, and uncheck the 'Enabled' checkbox in the top right corner.

If you are not using Lingon, make sure the following key/value pair is set in the plist:


After your next reboot, the menubar item for location services should no longer show up.

To reverse this change, just go back into Lingon and re-select the 'Enabled' checkbox.

Or, if you edited it another way, change the key value pair to look like this:


As always backup, caveat emptor, etc etc. before trying this.

[crarko adds: The plist file is already XML text and not a binary so there is no need to convert it.]
  Post a comment  •  Comments (2)  
  • Currently 3.20 / 5
  You rated: 5 / 5 (5 votes cast)
[6,138 views]  View Printable Version
10.7: Fine volume control System 10.7
In past versions of Mac OS X, you could hold down Shift+Option while pressing the volume up and down buttons to get finer controls than the usual (a quarter of a box would change instead of a full one). Unfortunately, it appears that this functionality has been removed in Lion.

You can use some simple AppleScript to finely change the volume (on a scale from 0 to 100). Here's a little script to increment the volume by 2% (roughly what the Shift+Opt adjustment did):
set currentVolume to output volume of (get volume settings)
set volume output volume (currentVolume + 2)
To decrement the volume by 2%, replace that plus sign near the end with a minus sign.

You can save these scripts as applications and put them in your dock/menu bar, paste it into Automator and make a service (which can be given a keyboard shortcut), put it in your menu bar with an app like FastScripts, or give it a keyboard shortcut with an app like Keyboard Maestro.

This is a solution, but it's certainly less convenient that the old way. I'm hoping that this feature's omission was an oversight that will be corrected in a future 10.7.x update.

[crarko adds: It does indeed seem to be gone. That's an odd thing to have removed. I ran the script from the AppleScript Editor and it does do the finer adjustment.]
  Post a comment  •  Comments (9)  
  • Currently 4.38 / 5
  You rated: 2 / 5 (8 votes cast)
[22,248 views]  View Printable Version
10.7: Open Terminal to selected folder System 10.7
You can enable a Service in the Keyboard Shortcuts System Preferences to let you open a terminal window directly to a selected folder.

Go to System Preferences » Keyboard » Keyboard Shortcuts » Services » Files and Folders » New Terminal at Folder. Or New Terminal Tab at Folder, if you want. You can create a keyboard shortcut here, too, if you're in to that kind of thing.

Right-click on any folder and the item appears in the bottom section of the contextual menu (or use your new keyboard shortcut). Works on 'package' files, too.

Note: Services do not work on sidebar items or aliases; you have to select an actual folder or file. If a bunch of Services are enabled for the selected item type, you may have to go inside the Services item in the contextual menu.

[crarko adds: We've published a number of hints over the years about ways to open Terminal from a specific folder. It's good to see that Apple payed attention to people and built it in now.]
  Post a comment  •  Comments (4)  
  • Currently 4.30 / 5
  You rated: 5 / 5 (10 votes cast)
[21,054 views]  View Printable Version
10.7: Disable Smart Zoom to remove delay in two-finger Secondary Click System 10.7
Mac OS X Lion has a new 'Smart Zoom' gesture for trackpad users that zooms in supported applications (ex. Preview) just by double-tapping the trackpad with two fingers. This is much like double-tap feature in iOS devices.

The problem with this feature in Lion is that it uses the same two-finger gesture as secondary click (aka 'right click'). When two-finger tapping for a secondary click, there is a slight delay where Lion waits to determine if you mean to do a secondary tap or a Smart Zoom double tap. This delay may not be a problem with many users, but some may find it annoying and it also prevents making secondary taps in quick succession in certain applications, such as games.

Remove this delay by disabling Smart Zoom under System Preferences:

System Preferences » Trackpad » Scroll & Zoom tab » uncheck Smart zoom.

Disabling it will restore the original pre-Lion behavior for secondary click; no delay and allows for multiple secondary taps.

If you don't want to disable Smart Zoom, an alternative is to disable two-finger secondary tap and change it to secondary clicking by one of the bottom trackpad corners.

[crarko adds: A clear case of Gesture overload.]
  Post a comment  •  Comments (5)  
  • Currently 2.80 / 5
  You rated: 3 / 5 (10 votes cast)
[10,835 views]  View Printable Version
10.7: ScrollBar AREA not showing System 10.7
I have been so frustrated with not being able to see the AREA that encloses the scrollbars. So I didn't know if I was really at the top or where to click for a page scroll. After much reading I thought this was a change Apple had made. Until I took a snapshot of the screen and saw that they were really still there.

I discovered that if the Contrast setting under Universal Access is not on Normal, the outline around the scrollbar does not show at all.

[crarko adds: I use an adjusted Contrast so I see the same thing. Not seeing the enclosing area isn't a big deal to me, but this at least explains it.]
  Post a comment  •  Comments (2)  
  • Currently 3.20 / 5
  You rated: 4 / 5 (5 votes cast)
[4,235 views]  View Printable Version
10.7: Use local Time Machine as an instant safety net System 10.7
Mac OS X 10.7 includes a new facility to make Time Machine backups on the local disk. You can make use of this feature to create snapshots of the current disk status, allowing you to recover instantly from disaster.

Local Time Machine backups should be enabled by default on portable Macs, but on desktop machines you'll have to enable them manually, in Terminal:

sudo tmutil enablelocal

Once local backups are enabled, you can make a snapshot almost instantaneously by issuing this command:

sudo tmutil snapshot

This is a very useful (and prudent) thing to do immediately before embarking on some course of action that could have potentially disastrous results. If disaster does strike, you can simply enter Time Machine and restore the affected files or folders to their state at the time that you took the snapshot.

Since the backup is local, you can do this even if you're not connected to your Time Machine drive.

[crarko adds: If this is a full Time Machine backup expect it to take up a lot of disk space. I don't have enough free space to try this but a look at man tmutil confirms these options. There are many others, including setting up exclusions, so it would be well worth a person's time to look over these man pages to get a better handle on this utility.]
  Post a comment  •  Comments (14)  
  • Currently 3.82 / 5
  You rated: 4 / 5 (11 votes cast)
[14,528 views]  View Printable Version
10.7: Reset Password System 10.7
Apple has removed the utility to reset a password and restore a user's folder permissions from the Recovery HD. If you need it, you have to open Terminal (from the Recovery HD Utility menu) and type:


Then the old Reset Password application opens.

By the way the old hint to reset a user password by booting in single user mode is no longer working: the file /System/Library/LaunchDaemons/ no longer exists.

[crarko adds: I suppose somebody thought it would enhance security to hide the password reset utility. It seems more like a pain to me.]
  Post a comment  •  Comments (16)  
  • Currently 4.40 / 5
  You rated: 4 / 5 (5 votes cast)
[47,076 views]  View Printable Version
10.7: Resurrect older's without Rosetta System 10.7
With the death of Rosetta in Lion, many older bundled Java applications (.app's) no longer launch. A quick 'stub' transplant can often bring these apps back to life.

Many MacOS-bundled Java applications use Apple's own JavaApplicationStub as their binary to allow packaging in a proper .app bundle while still running Java code in JAR files. Since this stub binary is common to all such applications, many Java apps (even recently released ones) are bundled with a PPC-only version of this stub. These apps show up with the dreaded 'international symbol for time to upgrade your software' on their icon and give the 'You can't open the application because PowerPC applications are no longer supported,' error when launched.

Fortunately, because this stub binary is common to all applications, you can safely replace the old PPC-only copy inside the app bundle with an updated copy that contains Intel code. Once the transplant is complete, the applications should launch and run just fine under Lion.

First, you'll want to check that your app is indeed suffering from this exact problem. If you right-click the app bundle and choose 'Show Package Contents,' you'll see a Contents folder inside the bundle. Inside Contents is a folder called MacOS, and in there you should find the binary. If it's named 'JavaApplicationStub,' you should be good to go. If it's named something else, it's still possible that it's a renamed copy of JavaApplicationStub, but you may run into problems.

Rename the existing binary to something else, just in case (JavaApplicationStub-ppc perhaps), then copy the new version from:


If the original binary had a different name, you should use that exact name instead of JavaApplicationStub. Close out of the app bundle, and you should be done.

It does seem that Finder and/or LaunchServices hold on to the status of a binary even after the transplant is complete. I've found that renaming or moving the app bundle or force-quitting Finder (or plain-old rebooting) will cause the app to be re-parsed and allow it to launch.

Note that the JavaApplicationStub included in Lion is i386 and x86_64 ONLY, so if you somehow share app bundles with a PPC version of MacOS, this procedure will make the Java app no longer useable on PPC. There are Universal versions of JavaApplicationStub floating around, and it's possible to cook up your own using the lipo command, but the odds are if you're reading a Lion tip, that's the least of your worries.

[crarko adds: I haven't tested this one.]
  Post a comment  •  Comments (9)  
  • Currently 4.73 / 5
  You rated: 5 / 5 (11 votes cast)
[11,350 views]  View Printable Version
10.7: Disable Resume on a per-application basis System 10.7
Lion's new Resume feature is great, but sometimes, you don't want it to happen, or maybe just for some applications.

First: To disable Resume for one time only in any application, Quit the app while holding the Option Key. This works from the menu or with Command+Option+Q.

Now, what if there's an app you never want to restore to its previous state, but you still want resume turned on? You can easily accomplish this with Terminal.

Open Terminal in /Applications/Utilities and type:

defaults write com.[vendor].[AppName] ApplePersistenceIgnoreState YES

For example with Safari you'd type this:

defaults write ApplePersistenceIgnoreState YES

It's not guaranteed to work on apps that aren't updated for Lion (though they're not guaranteed to work with Resume either). Sometimes it's tricky to find how the vendor spells their name in this format so you can locate the preferences file for the app in ~/Library/Preferences (using any method you'd like to open that folder) and scroll through the list of files to find the application you're looking for and then head back to Terminal.

It's recommended that you change app settings with the app closed, and restarting the app will be necessary before it takes effect. If you wish to change the setting back to the way it was, run the command again using NO instead of YES.

[crarko adds: I tested this, and it works as described. This is a good find.]
  Post a comment  •  Comments (6)  
  • Currently 3.80 / 5
  You rated: 3 / 5 (5 votes cast)
[14,890 views]  View Printable Version
10.7: Quick Look .weblock files System 10.7
Quick Look in 10.7 will now render the webpage for a .webloc file. In previous versions, Quick Look would simply present the .webloc file's icon along with the page's title, URL, etc.

I like to drag URLs to my desktop if it's something I'd like to come back to later, but don't necessarily need to bookmark. I noticed that in Lion, .webloc files are fully rendered by Quick Look. To duplicate, drag a URL form your web browser of choice to your desktop (or a Finder window), select it and hit your spacebar. Pretty useful for quickly getting at the saved information.

[crarko adds: A nice addition.]
  Post a comment  •  Comments (8)  
  • Currently 2.60 / 5
  You rated: 2 / 5 (5 votes cast)
[5,502 views]  View Printable Version