How-To: Start Building Your Perfect Desktop with Samurize
Now, we’ll add the CPU graph. Click Add Meter again, but this time select Add Perfmon… from the drop-down menu.
The Perfmon object is a much more flexible meter, which allows you to monitor nearly every aspect of every piece of hardware in your PC. By default, Perfmon is set up to act as a CPU monitor, but you can adjust it to monitor other hardware by changing the Performance Object and Counters fields.
Don’t feel bad if you can’t figure out the purpose for each individual counter (DPCs Queued/sec, for instance); you can always click the Explain button to see a brief and (generally) helpful description of what the counter does.
Once you’ve specified what you want Perfmon to monitor, it behaves pretty much the same as the memory monitor. Change its draw type to graph, give it a unique name, make it look the same as your memory meter, and you’ll be ready to move on.
NOTEBOOK BATTERY-LIFE METER
Next, we’ll show you how to create an analog needle-style meter, like the type you’d find in a car dashboard. Since we happen to be on a laptop, we made ours a battery-life meter, by selecting Add Laptop Battery from the Add Meter drop-down, but if you’re on a desktop, you can make it a hard-disk-space meter by selecting Add Drive Space from the drop-down menu, then selecting the drive you want to monitor.
To make the monitor into an analog meter, simply select Analog from the Draw Type drop-down list. In the Display tab, you can make sure the meter looks the way you want it to by adjusting the type of pointer, how wide the sweep is, and more. To make it look more like a car speedometer, set the Offset % to around -20, which moves the pivot point a little toward the center. In the Display tab you can also choose a start and end color; the pointer will shift between these values as it moves. This allows you to, for instance, set it so the pin will shift from yellow to red as your battery gets closer to being empty.
Finally, to make your widget something more than just a bunch of floating meters, you’ll need to add some graphics. This is material for an entire how-to of its own, though, so for now we’re only going to cover the simplest graphical elements.
Let’s add a black background for our two line graphs. To do that, click the Edit Graphics tab and click Add Background Object. From the drop-down list, select Add Rectangle. Unlike meters, graphics have only one panel, which determines their appearance. Set your rectangle’s color to black, and make it as tall as your line graphs, and as wide as both graphs combined. Click and drag the meter so that it sits behind the two graphs. Now click Add Background Object again and make another rectangle. Make this one large enough to sit behind all three meters. To choose which graphical elements are in front, click them and press the up or down arrows at the top of the window. This will move the selected graphic to the front or the back, respectively. You can use a simple text meter to label your graphs.

And that’s how you make a very simple system monitor panel for your desktop. To load up your widget, save your Config to the default directory, then run the Samurize program. Right-click the Samurize icon in the taskbar and mouse over Select Config, and find your Config file. You can also refresh your Config quickly if you make changes to it by saving and selecting Reload Config.
This how-to guide has only scratched the surface of Samurize, though, so look out for future articles on MaximumPC.com explaining how to make more sophisticated kinds of widgets, and how to use graphics and a custom wallpaper to make your widgets look awesome.