[tdb_header_logo align_vert="content-vert-center" tagline_pos="inline" f_text_font_size="eyJwaG9uZSI6IjI0In0=" f_tagline_font_size="eyJwaG9uZSI6IjI0In0=" text_color="#ffffff" tagline_color="#ffffff" f_text_font_transform="eyJwaG9uZSI6InVwcGVyY2FzZSJ9" f_tagline_font_transform="eyJwaG9uZSI6InVwcGVyY2FzZSJ9" f_text_font_family="eyJwaG9uZSI6IjQwNiJ9" f_tagline_font_family="eyJwaG9uZSI6IjQwNiJ9" f_text_font_weight="eyJwaG9uZSI6IjgwMCJ9" f_tagline_font_weight="eyJwaG9uZSI6IjQwMCJ9" ttl_tag_space="eyJwaG9uZSI6Ii00In0=" f_text_font_line_height="eyJwaG9uZSI6IjEifQ==" f_tagline_font_line_height="eyJwaG9uZSI6IjEifQ==" tdc_css="eyJwaG9uZSI6eyJkaXNwbGF5IjoiIn0sInBob25lX21heF93aWR0aCI6NzY3fQ==" disable_h1="yes"]
[tdb_mobile_search float_right="yes" icon_size="eyJhbGwiOjIyLCJwaG9uZSI6IjE5In0=" icon_padding="eyJhbGwiOjIuNSwicGhvbmUiOiIxLjgifQ==" icon_color="#ffffff" tdc_css="eyJwaG9uZSI6eyJtYXJnaW4tdG9wIjoiMyIsImRpc3BsYXkiOiIifSwicGhvbmVfbWF4X3dpZHRoIjo3Njd9"]
[tdb_mobile_horiz_menu inline="yes" menu_id="" single_line="yes" f_elem_font_family="eyJwaG9uZSI6IjQwNiJ9" f_elem_font_transform="eyJwaG9uZSI6InVwcGVyY2FzZSJ9" f_elem_font_weight="eyJwaG9uZSI6IjgwMCJ9" f_elem_font_size="eyJwaG9uZSI6IjEyIn0=" f_elem_font_line_height="eyJwaG9uZSI6IjUwcHgifQ==" elem_padd="eyJwaG9uZSI6IjAgMTdweCJ9" main_sub_tdicon="td-icon-pluss" main_sub_icon_size="eyJwaG9uZSI6IjE5In0=" main_sub_icon_space="eyJwaG9uZSI6IjAifQ==" main_sub_icon_align="eyJhbGwiOjAsInBob25lIjoiMSJ9" f_elem_font_spacing="eyJwaG9uZSI6IjIifQ==" tdc_css="eyJwaG9uZSI6eyJkaXNwbGF5IjoiIn0sInBob25lX21heF93aWR0aCI6NzY3fQ==" text_color_h="#0d42a2" f_sub_elem_font_size="eyJwaG9uZSI6IjExIn0=" f_sub_elem_font_weight="eyJwaG9uZSI6IjgwMCJ9" f_sub_elem_font_family="eyJwaG9uZSI6IjQwNiJ9" f_sub_elem_font_transform="eyJwaG9uZSI6InVwcGVyY2FzZSJ9" f_sub_elem_font_spacing="eyJwaG9uZSI6IjIifQ==" sub_elem_padd="eyJwaG9uZSI6IjNweCAxNnB4In0=" sub_padd="eyJwaG9uZSI6IjEwcHggMCJ9" sub_text_color_h="#0d42a2" sub_shadow_shadow_size="eyJwaG9uZSI6IjMwIn0=" sub_shadow_shadow_offset_horizontal="eyJwaG9uZSI6IjAifQ==" sub_shadow_shadow_offset_vertical="eyJwaG9uZSI6IjQ0In0=" sub_shadow_shadow_color="rgba(0,0,0,0.12)"]
[tdb_header_logo align_vert="content-vert-center" tagline_pos="inline" f_text_font_size="eyJhbGwiOiIzNCIsImxhbmRzY2FwZSI6IjMwIiwicG9ydHJhaXQiOiIzMCJ9" f_tagline_font_size="eyJhbGwiOiIzNCIsImxhbmRzY2FwZSI6IjMwIiwicG9ydHJhaXQiOiIzMCJ9" f_text_font_line_height="1" f_tagline_font_line_height="1" text_color="#ffffff" tagline_color="#ffffff" ttl_tag_space="-6" f_text_font_transform="uppercase" f_tagline_font_transform="uppercase" f_text_font_family="406" f_tagline_font_family="406" f_text_font_weight="800" f_tagline_font_weight="400" text=" " tagline="JTIw"]
[tdb_header_search toggle_txt_pos="after" form_align="content-horiz-center" results_msg_align="content-horiz-center" image_floated="float_left" image_width="32" image_size="td_324x400" show_cat="" show_btn="none" show_date="" show_review="none" show_com="none" show_excerpt="none" show_author="none" meta_padding="0 0 0 18px" art_title="0 0 10px" all_modules_space="24" tdc_css="eyJhbGwiOnsibWFyZ2luLXJpZ2h0IjoiMjQiLCJiYWNrZ3JvdW5kLWNvbG9yIjoicmdiYSgxNywxMDYsMjA2LDAuMDgpIiwiZGlzcGxheSI6IiJ9LCJsYW5kc2NhcGUiOnsibWFyZ2luLXJpZ2h0IjoiMjAiLCJkaXNwbGF5IjoiIn0sImxhbmRzY2FwZV9tYXhfd2lkdGgiOjExNDAsImxhbmRzY2FwZV9taW5fd2lkdGgiOjEwMTksInBvcnRyYWl0Ijp7Im1hcmdpbi1yaWdodCI6IjIwIiwiZGlzcGxheSI6IiJ9LCJwb3J0cmFpdF9tYXhfd2lkdGgiOjEwMTgsInBvcnRyYWl0X21pbl93aWR0aCI6NzY4fQ==" icon_color="#0d42a2" icon_padding="2.2" toggle_horiz_align="content-horiz-left" inline="yes" icon_size="eyJhbGwiOjIwLCJsYW5kc2NhcGUiOiIxOCIsInBob25lIjoiMTgifQ==" form_border_color="#f7f7f7" arrow_color="rgba(0,0,0,0)" form_shadow_shadow_size="40" form_shadow_shadow_offset_vertical="44" form_shadow_shadow_color="rgba(0,0,0,0.12)" results_border_color="rgba(0,0,0,0.03)" form_width="eyJhbGwiOiIxMjAwIiwibGFuZHNjYXBlIjoiY2FsYygxMDAlIC0gNDBweCkifQ==" modules_on_row="33.33333333%" results_limit="6" image_radius="8" modules_category="" f_title_font_family="406" f_title_font_weight="800" f_title_font_size="16" modules_category_padding="3px 0 4px" cat_bg="rgba(0,0,0,0)" cat_txt="#0d42a2" f_cat_font_family="406" f_cat_font_size="11" f_cat_font_transform="uppercase" f_meta_font_family="406" f_meta_font_transform="uppercase" f_meta_font_size="11" f_cat_font_weight="800" f_meta_font_weight="800" meta_info_align="center" f_title_font_line_height="1.4" title_txt_hover="#0d42a2" modules_category_margin="0 10px 0 0" modules_gap="24" results_border="2px 0" form_border="2px 0 0" input_border="2" input_radius="5" btn_radius="0 5px 5px 0" f_input_font_family="406" f_input_font_line_height="2.8" f_btn_font_family="406" f_btn_font_weight="800" f_btn_font_transform="uppercase" f_btn_font_size="12" f_btn_font_spacing="1" btn_bg_h="#000000" results_msg_color_h="#0d42a2" results_msg_padding="5px 0 7px" btn_bg="#e1e1e1" btn_color="#888888" btn_color_h="#ffffff" form_align_screen="yes" form_offset="6"][tdb_header_menu main_sub_tdicon="td-icon-pluss" sub_tdicon="td-icon-right-arrow" mm_align_horiz="content-horiz-center" modules_on_row_regular="25%" modules_on_row_cats="33.33333333%" image_size="td_324x400" modules_category="above" show_excerpt="none" show_com="none" show_date="none" show_author="none" mm_sub_align_horiz="content-horiz-right" mm_elem_align_horiz="content-horiz-right" menu_id="" inline="yes" f_elem_font_family="406" f_elem_font_weight="800" f_elem_font_size="eyJhbGwiOiIxMyIsImxhbmRzY2FwZSI6IjEyIiwicG9ydHJhaXQiOiIxMiJ9" elem_padd="eyJhbGwiOiIwIDI0cHgiLCJsYW5kc2NhcGUiOiIwIDIwcHgiLCJwb3J0cmFpdCI6IjAgMjBweCJ9" tds_menu_active1-line_width="0" main_sub_icon_size="19" main_sub_icon_space="0" main_sub_icon_align="0" f_elem_font_spacing="2" mm_align_screen="yes" mm_width="eyJhbGwiOiIxMjAwIiwibGFuZHNjYXBlIjoiY2FsYygxMDAlIC0gNDBweCkifQ==" f_elem_font_line_height="eyJhbGwiOiI1NnB4IiwibGFuZHNjYXBlIjoiNTJweCJ9" sub_first_left="eyJhbGwiOiI3IiwibGFuZHNjYXBlIjoiOCJ9" sub_elem_padd="eyJhbGwiOiI2cHggMTdweCIsImxhbmRzY2FwZSI6IjNweCAxNnB4IiwicG9ydHJhaXQiOiIzcHggMTZweCJ9" sub_padd="eyJhbGwiOiIxMnB4IDAiLCJsYW5kc2NhcGUiOiIxMHB4IDAiLCJwb3J0cmFpdCI6IjEwcHggMCJ9" f_sub_elem_font_family="406" f_sub_elem_font_transform="uppercase" f_sub_elem_font_weight="800" f_sub_elem_font_spacing="2" tds_menu_active1-text_color_h="#0d42a2" tds_menu_sub_active1-sub_text_color_h="#0d42a2" mm_shadow_shadow_size="30" mm_shadow_shadow_offset_vertical="44" mm_shadow_shadow_color="rgba(0,0,0,0.12)" mm_border_size="2px 0 0" mm_border_color="#f7f7f7" mm_subcats_bg="#ffffff" mm_posts_limit="4" image_height="eyJhbGwiOiI1NSIsInBvcnRyYWl0IjoiNjAifQ==" image_radius="eyJhbGwiOiIxMCIsImxhbmRzY2FwZSI6IjgiLCJwb3J0cmFpdCI6IjYifQ==" modules_category_padding="0" cat_bg="rgba(0,0,0,0)" cat_txt="#0d42a2" f_cat_font_family="406" f_cat_font_transform="uppercase" f_cat_font_size="eyJhbGwiOiIxMSIsInBvcnRyYWl0IjoiMTAifQ==" f_cat_font_weight="800" f_title_font_family="406" f_title_font_size="eyJhbGwiOiIxNiIsImxhbmRzY2FwZSI6IjE1IiwicG9ydHJhaXQiOiIxNCJ9" f_title_font_weight="800" f_title_font_line_height="1.4" meta_padding="eyJhbGwiOiIyMHB4IDVweCAwIiwibGFuZHNjYXBlIjoiMThweCA0cHggMCIsInBvcnRyYWl0IjoiMTZweCAzcHggMCJ9" art_title="0" modules_category_margin="eyJhbGwiOiIwIDAgNnB4IiwibGFuZHNjYXBlIjoiMCAwIDRweCJ9" pag_border_width="0" pag_padding="0" prev_tdicon="tdc-font-tdmp tdc-font-tdmp-arrow-left" next_tdicon="tdc-font-tdmp tdc-font-tdmp-arrow-right" pag_icons_size="20" pag_text="#828282" pag_h_bg="rgba(130,130,130,0)" pag_h_text="#0d42a2" mm_subcats_posts_limit="3" f_mm_sub_font_family="406" mm_elem_color_a="#0d42a2" mm_subcats_border_color="rgba(0,0,0,0.03)" mm_elem_border_color_a="rgba(0,0,0,0.03)" mm_elem_border_a="0 2px 2px 0" mm_sub_border="0 2px 0 0" mm_elem_border="0 2px 2px 0" mm_padd="eyJhbGwiOiIyMCIsImxhbmRzY2FwZSI6IjE4IiwicG9ydHJhaXQiOiIxOCJ9" modules_gap="eyJhbGwiOiIyNCIsImxhbmRzY2FwZSI6IjIwIiwicG9ydHJhaXQiOiIxOCJ9" mm_sub_width="eyJsYW5kc2NhcGUiOiIxNzYiLCJwb3J0cmFpdCI6IjE1MCJ9" mm_sub_padd="eyJsYW5kc2NhcGUiOiIxOHB4IDAiLCJwb3J0cmFpdCI6IjE4cHggMCJ9" mm_elem_padd="eyJsYW5kc2NhcGUiOiI1cHggMjBweCIsInBvcnRyYWl0IjoiM3B4IDIwcHgifQ==" sub_shadow_shadow_size="30" sub_shadow_shadow_offset_horizontal="0" sub_shadow_shadow_offset_vertical="44" f_sub_elem_font_size="eyJsYW5kc2NhcGUiOiIxMSJ9" f_mm_sub_font_size="eyJwb3J0cmFpdCI6IjExIn0=" more="yes" sub_border_size="2px 0 0" sub_border_color="#f7f7f7" tdc_css="eyJhbGwiOnsiZGlzcGxheSI6IiJ9fQ==" mc1_title_tag="p"]
Home Dashboard Widgets iStat Pro Widget for OS X 10.8 Mountain Lion

iStat Pro Widget for OS X 10.8 Mountain Lion

iStat Pro Widget for OS X 10.8 Mountain Lion

If you use the iStat Pro dashboard widget you may have noticed the following issues after you updated to new version of OS X such as Mountain Lion.

  • Processes stopped listing correctly after you installed Mountain Lion.
  • It also no long displays your external IP address.
  • There is also a cosmetic issue with the way hard drive usage is displayed when the widget is in Tall mode.

The developer has, apparently, announced they will not update it for full Mountain Lion (10.8.x) compatibility. There is, however, a very easy DIY fix. Here’s how.

Credit for these fixes goes to the many folk in the Macrumors forum who collectively provided a way to fix iStat Pro.
You can find that discussion here: http://forums.macrumors.com/showthread.php?t=1407448

If you don’t wish to apply all these fixes yourself, jump to the bottom of the article. You can then download the modified widget and install it.

Fixing the Processes display

First let’s get the Processes displaying

  1. Find the widget file. It will be in ~/Library/Widgets or /Library/Widgets
    In Finder use the Go menu, and select Go To Folder. Copy and paste in the above file location.
    The file you are looking for is called iStat Pro.wdgt
  2. If you can’t find your ~/Library/     (which is the   /username/Library/) folder, plug this command into Terminal to permanently unhide it:    chflags nohidden ~/Library/
  3. Control-Click (or double click / two-finger click) on the file. Select Show Package Contents.
  4. Depending on the view mode you use in iStat Pro, you need to edit one or both of these files: wide.js and/or tall.js – I recommend editing both. Use any text editor.
  5. Search for this bit of code:     PID|$1
  6. Change it to:  PID| $1       You are simply adding one space in front of the $ sign.

You should end up with this code segment looking like this (changed code in bold):

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 "<pid>"$1"</pid><cpu>"$2"</cpu><name>"$3,$4,$5"</name></item>"}\'', 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 "<pid>"$1"</pid><cpu>"$2"</cpu><name>"$3,$4,$5"</name></item>"}\'', function(data){ _self.updateProcessesOut(data);});

Fixing the external IP address issue

Next let’s get the external IP address displaying. You will notice it says Ext: Unknown.

  1. The file you need to edit this time (using the above instructions on how to find the widget) is ../scripts/core.js
  2. Find and replace the code in bold:
function getExtIP(){ ipURL = 'http://whatsmyip.islayer.com/?random='+new Date().getTime(); ipConnection = new XMLHttpRequest(); ipConnection.open("GET",ipURL,true); ipConnection.onreadystatechange = function() {

Replace it with the code in bold below:
function getExtIP(){
        ipURL = 'http://ip.bjango.com';
        ipConnection = new XMLHttpRequest();
        ipConnection.onreadystatechange = function() {

If you have your own web server or shared hosting account, an alternative option is to place a small php file on the server. Create a file with the name ip.php (or something along those lines). Put the following code into it:

/* $Id: ip.php,v 1.3 2008/09/24 13:58:49 pblankenbaker Exp $
* Small PHP script to "echo" back the IP address of the remote
* system as it appears to the server.
* Example client side usage:
* wget http://www.networksecuritytoolkit.org/nst/tools/ip.php -O -

// Echo back IP address as a "plain text" document

header('Content-type: text/plain');

// Check to see if server has been forwarded the request
if (isset($_SERVER['HTTP_X_REMOTE_ADDR'])) {
printf("%s\n", $_SERVER['HTTP_X_REMOTE_ADDR']);
} else {
printf("%s\n", $_SERVER['REMOTE_ADDR']);

Save this file to a publicly accessible folder on your web server. In the www root will do the trick. If you are going to use this method, then the correct final code change for the above mentioned ../scripts/core.js file is this:

function getExtIP(){
        ipURL = 'http://YOURDOMAIN.COM/ip.php';
        ipConnection = new XMLHttpRequest();
        ipConnection.onreadystatechange = function() {

You need to replace YOURDOMAIN.COM with the domain of your web site.

Fixing hard drive indicators in wide mode

Istat drive fix

If you use iStat Pro in wide mode you will notice the usage indicators for the hard drives have two bars instead of just one. The image to the right shows an example of what I mean.

Here is how to fix that.

Using the same instructions above to locate and open the widget file, do the following.

  1. Open core.css in a text editor.
  2. Find the following line of code:  .barbg { 
  3. Edit the file so that it looks like this:
.barbg {

.verticalbarbg { background-image:url(./images/common/bar_vertical_bg.png); width:8px; overflow:hidden; background-position: -4px 0; }

.verticalbar { background-position: -4px 0; }

canvas { background-image:url(./images/common/graph_bg.png); }

You need to add in the blue lines of code shown above. Save the file.

Restart the Dashboard

After you have applied all the changes, save your modified files, and restart the dashboard with the following command in Terminal

killall Dock

Download the fixed iStat Pro files

iStat Pro is no longer available for download on the Apple Widgets site. If you need it below is a link to the full and nano version. Or perhaps you don’t feel like getting your hands dirty with code, and want the finished update.

Download from here


  1. Regardless of the the unmodified version or the modified version of iStat Pro I use, nothing works. I add the widget to the dashboard and just just an small icon with the word iStat and a “i” and “?” icon in the left portion of it. Nothing is clickable and it displays information, which is different than I see with anything else. Have you seen this? Running 10.8.2 on a MBPR

    • Sorry to hear that.
      I have it running fine, with the suggested changes, on MBP 17″, with OS X 10.8.2
      I am not sure what else to suggest. Except perhaps to complete remove the widget (using something like AppCleaner – which has a Widget removal option). And then installing again.

  2. Hi, there! I am trying to install the widget in my MacAir with OS X 10.8.2 and I got this message rom Widget Installer: You can’t install “.iStat Pro.wdgt” becaus it is not a valid widget. Could you help me? Thank you in advance.

    • Hmmm… strange. I can only suggest you download the widget again. Is this one you have modified (such as applying the fixes shared in my blog post)?

  3. Hi Jonathan,
    Thanks a million for uploading the updated widget. I seem to have however one small issue – it seems it still counts disk size in the ‘old fashion’ way and shows different values from the system size. Do you think you could implement the change please?

  4. Awesome guide and very good work ! Thanks for solving these issues.

    How about asking Bjango to release the source code of the binary file they’re using to poll all the data that is shown within the widget ? We could improve it ourselves, add functionalities and so on ! What do you think ?

  5. Sorry, revised … it seems that the bug that leads to “-4” is fixed to either set it to “0” or remove the line.

    .barbg {

    .verticalbarbg {
    background-position: -0px 0;

    .verticalbar {
    background-position: -0px 0;

    canvas {

  6. Just moved from 10.7 to 10.9. The transition has been quite smooth for the most part, and all of the other “bumps” I’ve run into so far, I’ve been able to fix myself, but this one had me stumped. Followed both your instructions above for processes and external IP, and now all is well. Just wanted to thank you and also let you know (if someone hasn’t already) that the above works for Mavericks as well as Mountain Lion.

  7. Recently updated my 2009 MacBook to a new MacBook Pro/Retina I was disappointed with the non-functioning items of iStat Pro so I was pleased to find your site. As mentioned above this works with the latest version of Mavericks. I do have a question/request: do you know of a similar fix for the Temperatures section? The CPU and Airport Card temperatures are no longer displayed and I have always found them to be most closely associated with fan speed. Many thanks for these fixes.



Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.