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/com.apple.locationmenu.plist 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 com.apple.locationmenu. 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:

<key>Disabled</key>
<true/>


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:

<key>Disabled</key>
<false/>


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.]
    •    
  • Currently 3.20 / 5
  You rated: 1 / 5 (5 votes cast)
 
[5,903 views]  

10.7: Disable the Location Services Menubar Item | 2 comments | Create New Account
Click here to return to the '10.7: Disable the Location Services Menubar Item' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.7: Disable the Location Services Menubar Item
Authored by: marook on Aug 20, '11 03:12:55AM

No need to reboot;

sudo launchctl unload /System/Library/LaunchAgents/com.apple.locationmenu

should do the trick..

---
/Marook



[ Reply to This | # ]
10.7: Disable the Location Services Menubar Item
Authored by: jantonc on Aug 21, '11 08:50:47AM

Wouldn't

sudo launchctl unload -w /System/Library/LaunchAgents/com.apple.locationmenu

do both things at once? The -w says override the Enabled flag (making it disabled) and remember that as well.
No editing required.

To get it back do a load -w



[ Reply to This | # ]