Getting iStat Pro Widget Working on Mountain Lion Again

July 27th, 2012 by Ken

Lovers of the iStat Pro widget will notice that the processes section no longer works. Unfortunately, Bjango stated on their Twitter that there it was unlikely that there would be any further updates to the widget.

However, fortunately for us, a member on the Mac Rumors forum has found a quick and easy fix and all it takes is adding a space in two locations to the widget!

1. Locate your widget, it will be under /Library/Widgets or ~/Library/Widgets
2. Right click it and select: “Show Package Contents”
3. Open Wide.js or Tall.js file in some editor (Wide is for horizontal view, Tall for vertical)

4. Locate the line
WideSkinController.prototype.updateProcesses = function(){
var _self = this;
var exclude = "";
if(p.v("processes_excludewidgets") == 'on')
exclude = " grep -v DashboardClient | ";

if(p.v("processes_sort_mode") == 'cpu')
widget.system('ps -arcwwwxo "pid %cpu command" | egrep "PID|$1" | grep -v grep | ' + exclude + ' head -7 | tail -6 | awk \'{print " "$1""$2""$3,$4,$5""}\'', function(data){ _self.updateProcessesOut(data);});
widget.system('ps -amcwwwxo "pid rss command" | egrep "PID|$1" | grep -v grep | ' + exclude + ' head -7 | tail -6 | awk \'{print " "$1""$2""$3,$4,$5""}\'', function(data){ _self.updateProcessesOut(data);});

Change “PID|$1″ to “PID| $1″ (Add space before $ sign)

5. Save the changes

Works like a charm!!

Posted in How To, Mac, Software | 13 Comments »

13 Responses

  1. ITotem Says:

    Just what I was looking for. Perfect!

  2. Ragnar Says:

    Wow, thanks!
    I had to remove and then add the widget again to make it work, but sure it works like a charm now.

    Thanks once again!

  3. Rob Says:

    Guys, I cannot find iStat Pro widget in my finder, is that ok ? Do I have to change something in settings or so to be able to see it in finder ? I went to HDD/Library/Widgets, and there is no iStat, not sure why. Any advise ? Thanks !!!

  4. Ken Says:

    Hey Rob, if it’s not in /Library/Widgets then it’s most likely in ~/Library/Widgets, that’s where mine was. In Finder, hold the Option key and go to the Go menu and hit Library.

  5. JR Says:

    Great work. Thanks

  6. DT Says:

    +1. Awesome solution.

  7. Bruce Says:

    Hey this works great and a very quick fix!
    Thanks Ken!

  8. Christina Says:

    Hot Damn! that was an easy fix… thanks so much.

  9. Miller Says:


  10. DarkEnergy Says:

    Many thanks. Works perfectly.

  11. Kristoffer Says:

    Thanks for sharing that tip. Works great!

  12. Brian Says:


  13. Cam Says:

    Thanks a lot !

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.