Authentic Technical Gibberish

A chocolaty technology blog with a gooey center

Fix iStat Menus version 2 to work with OS X Lion

Update (11/03/2013):

According to some of the comments below this still works with Mountain Lion and the new Mavericks!  I have since purchased a family pack of iStat Menus 4.x so I cannot verify this myself.

The Context

I have recently upgraded to Apple’s OS X Lion and like a lot of other people I am updating the “Nooks and Crannies” of my software portfolio to work with Lion.  I wasn’t affected by Apple removing Rosetta from Lion (with the exception of the NoMachine client), but there were a couple of pieces of software that required upgrades.  iStat Menus was one such piece of software, but not in a traditional way.  I run version 2.x of the software because it meets my requirements and it is free, whereas version 3.x costs $16 US at the time of this writing.

The Problem

As long as you install iStat Menus under Snow Leopard and upgrade OS X to Lion it appears to work correctly.  If you make a change to what you are monitoring, however, you will no longer be able to change it back.  So for example if I turned off disk monitoring and went to turn it back on I get:

Could not load extra iStat menus could not load the disk activity extra

The Research

To investigate this problem open up the Console.app using Applications –> Utilities to see any error messages.  I have error messages in the system.log that look like the following:

Sep 12 06:38:41 <removed> SystemUIServer[277]: MenuCracker: Failed to swizzle -[SUISStartupObject createMenuExtra:atPosition:write:data:], can't load.
Sep 12 06:38:41 <removed> SystemUIServer[277]: failed to instantiate and get the principal class of bundle: NSBundle </Library/Application Support/iStat local/extras/MenuCracker.menu> (loaded)

Googling for “MenuCracker.menu iStat 2” I ran across Long Nguyen Hai’s blog.  On his blog he mentions that you can overwrite the .menu file with an updated version from SourceForge.  Lets try it out.

The Solution

  • Download the latest MenuCracker.menu from SourceForge and mount the disk image (.dmg)
  • Open Terminal.app and run the commands below.  killing the SystemUIServer will let you replace the menu file in subsequent steps:
sudo killall SystemUIServer
sudo cp -rp /Volumes/MenuCracker\ 2.2/MenuCracker.menu /Library/Application\ Support/iStat\ local/extras/
sudo killall SystemUIServer
  • Done!  Now iStat 2 menus should work as well as it did in Snow Leopard.
Advertisements

27 responses to “Fix iStat Menus version 2 to work with OS X Lion

  1. Paul September 19, 2011 at 1:09 pm

    Not sure how doing a killall in the last step accomplishes “restart everything once more”

    I used this same approach to replace MenuCracker.menu in /Library/PreferenePanes/MenuMeters.prefPane/Contents/Resources/

  2. D. September 29, 2011 at 11:33 pm

    thanks for the solution!!!

    Date & Time – can’t use it, because freezing my top menu (and restart it), but rest of the options (Network, Sensors, CPU etc…) works with no problem.

    cheers!
    D.

    btw. on OSX Lion

  3. Dave October 26, 2011 at 12:24 am

    This worked perfectly!! Thank you!!

  4. Pingback: How to Create the Fastest Business Workload 15″ Macbook Pro and Save $150 « Authentic Technical Gibberish

  5. Sundar January 14, 2012 at 6:38 am

    Briliant..it works thanks!!

  6. Oliversl January 17, 2012 at 11:38 pm

    Thanks, it works but the network bandwidth of WiFi does not work. It shows only zeros for current and accumulated bytes.
    But, the pptp and wired network are displayed correctly. Anyone knows how to fix it?

    Thanks
    Oliver

    • codingogre January 23, 2012 at 3:58 pm

      I have noticed this same behavior on a new Macbook Air. I haven’t had an opportunity to look at this issue, but I imagine it is related to the different kernel drivers used for more modern Macs (although I would expect there to be interfaces provided by the OS to get this data in a device neutral manner). FWIW iStat Menus 3 did not exhibit the same behavior.

  7. j4y January 26, 2012 at 3:31 pm

    Thanks this worked perfectly!

  8. Sam January 30, 2012 at 7:35 pm

    Worked like a charm. Thanks!

    (Mid-2009 MBP, Mac OS X 10.7.2)

  9. Sartor April 7, 2012 at 3:32 pm

    That worked perfectly! Thank you very much!

  10. Sissi April 10, 2012 at 8:05 pm

    Great! Thanks

  11. geoff2k May 1, 2012 at 4:56 pm

    Very helpful, thanks! (Early 2011 MBP OSX 10.7.3).

  12. আমি কেউ নাহ August 24, 2012 at 10:32 pm

    ah .. Thank you very much 🙂 It’s working 😀

  13. fips November 8, 2012 at 7:31 pm

    Also good on Mountain Lion (10.8.2)!

  14. Kev Smith August 13, 2013 at 5:49 am

    Just post to leave Feedback. Good work! Working on 10.8.4

  15. RWBHere November 2, 2013 at 11:51 pm

    And it works 100% in Mavericks [10.9]. Thank-you.

  16. Daniel April 2, 2014 at 6:42 pm

    You are a wonderful human being.

    Thanks for the information – iStat V2 is still the best!

    Anyone trying to get istat menus version 2 working on 10.7, 10.8, 10.9, Lion, Mountain Lion or Mavericks, this post is where it’s at.

  17. Pingback: [Sammelthread] *** "der neue" Mac-Quatsch-Thread *** [Part 17] - Seite 544

  18. Peter Jenkins May 29, 2014 at 7:44 pm

    Very helpful–was able to get some old source of MenuMeters working by following the same process. (Among many other steps.)

    https://github.com/funroll/MenuMeters

  19. foodandart October 13, 2014 at 1:07 am

    Yaaaaah! Totally happy with this and it’s working perfectly with my Yosemite beta. Sweet, thanks!

  20. hryamzik November 2, 2014 at 4:46 pm

    What about the intel sensor module? The original site is down, is there a way to get it working?

  21. Deborah December 11, 2014 at 5:27 am

    This works perfectly with a vanilla install of Yosemite!

    Thanks!

  22. Mac Abra April 22, 2016 at 12:05 am

    I love you! 😉
    (under Mavericks and fully functional thanks to you!)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: