Change "PID|$1" to "PID| $1" (Add space before $ sign)
Thank you so much Buduls! You've made my life much better.
Change "PID|$1" to "PID| $1" (Add space before $ sign)
Does istat menu use more cpu / ram than the widget?
That's not what fingerman was talking about. I had iStat Pro widget installed in my dashboard since who knows when, but when I looked at my /Library/Widgets folder where all the default widgets are, that's all it contained - default widgets. I had no idea where the package for iStat Pro widget was on my HDD. Spotlight couldn't find it. This was fingerman's dilemma, too.
Originally Posted by Buduls
Change "PID|$1" to "PID| $1" (Add space before $ sign)
You don't have processes in your widget, thats the only thing which was not working after upgrading to ML
Thank you for this, the double bar thing was a bit of an irritation to me as well.Ok, so after taking a look....it seems that for some reason, the background images used in the Tall bars for showing disk usage where positioned starting in the center, and wrapping around. This is what was causing the bars to look like they were doubled.
No idea why it started happening, but here's a solution to the CSS file to fix it. Not sure if some ML update will change this in the future, so use at your own risk. I'll repeat Budlus's instructions for finding the file:
1. Locate your widget, it will be under /Library/Widgets or ~/Library/Widgets
2. Right click it and select: "Show Package Contents"
3. Open core.css in some editor
4. Locate the block (for me it's starting on line 7) and add the following line in RED.
Code:.verticalbarbg { background-image:url(./images/common/bar_vertical_bg.png); width:8px; overflow:hidden; [B][COLOR="Red"]background-position: -4px 0;[/COLOR][/B] }
5. Directly under this block, ADD the following CSS statement:
Code:[B].verticalbar { background-position: -4px 0; }[/B]
By adding this statement to the core.css file, it will affect all colors for the widget.
6. You can either remove and re-add the widget, or just kill the Dock and restart Dashboard by going to terminal and entering: killall Dock
----------------------
-Kevin
.barbg {
background-image:url(./images/common/bar_horizontal_bg.png);
height:8px;
overflow:hidden;
}
.verticalbarbg {
background-image:url(./images/common/bar_vertical_bg.png);
width:8px;
overflow:hidden;
[COLOR="Blue"][b]background-position: -4px 0;[/b][/COLOR]
}
[COLOR="Blue"][b].verticalbar {
background-position: -4px 0;
}[/color][/b]
canvas {
background-image:url(./images/common/graph_bg.png);
}
Yes, that *is* what fingerman was talking about.
OS X has three "library" folders.
-One is on the root level of your hard drive.
-One is inside the System folder.
-And the last one, the one where your user-specific files are, are inside Users/yourusername. However, starting with Lion, this folder is hidden by default. There are many ways to unhide it (temporarily or permanently.) You can Google for those. This is where your personally installed Widgets would be.
It's easy to fix iStat Pro processes for Mountain Lion
Steps:
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
Change "PID|$1" to "PID| $1" (Add space before $ sign)
5. Save the changes
6. remove widget and re-add it Dashboard, and it should be fixed
Other than the double disk usage bars in the Tall format....I think it's back to working fine now with the Processes fix.
It's still a bit larger than the other widget icons if anyone knows the correct dimensions please share them and ill fix this one. thanks.
It's easy to fix iStat Pro processes for Mountain Lion
Steps:
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
Change "PID|$1" to "PID| $1" (Add space before $ sign)
5. Save the changes
6. remove widget and re-add it Dashboard, and it should be fixed