Skip navigation
This discussion is archived

disable menu bar extras from terminal

2301 Views 5 Replies Latest reply: Nov 23, 2009 11:14 AM by John Public RSS
John Public Level 1 Level 1 (55 points)
Currently Being Moderated
Nov 17, 2009 8:32 AM
Does anyone know how can I disable specific menu bar extras from terminal?

Specifically, I would like to hide AIrPort status in menu bar, as well as time machine status...

Thanks in advance....
  • hungryjoe Level 2 Level 2 (250 points)
    Currently Being Moderated
    Nov 17, 2009 8:41 AM (in response to John Public)
    Is there a specific reason why you want to do it from the terminal? Why not just drag them off the menu bar while holding the Command key?
    MacBook Pro, Mac OS X (10.6.2)
  • Niel Level 10 Level 10 (234,260 points)
    Currently Being Moderated
    Nov 17, 2009 9:19 AM (in response to John Public)
    Using a command such as:

    defaults write menuExtras

    will do this, but it can only set the list of menu items to a setting specified in the command; adding or removing single items isn't possible.

    iMac Late 2007 Core 2 Duo, Mac OS X (10.5.8)
  • Andbrowny Level 4 Level 4 (1,610 points)
    Currently Being Moderated
    Nov 18, 2009 3:32 PM (in response to John Public)
    Hi John, further to what Niel says this site has some examples, it's a bit dated but should do what you need.
    To read what is already there use the defaults read menuExtras command.

    Having said that, seem to be having consistency issues on 10.6 with these commands.

    iMac ; MacBook ; MacBook Pro ; Mac Pro ; XServe ;, Mac OS X (10.5.6), OSX Server ; .local AD ; WINXP/Vista via Parallels Mac OS X 10.5.x/10.4.x


More Like This

  • Retrieving data ...

Bookmarked By (0)


  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.