Operations Monitor

Karamba & Superkaramba

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

5 .0

My first Karamba theme.

I've found plenty of themes that have some of what I want in a monitor, but not one that has all. I took Cynapses, XMMS Control, JuK Control, Diskmon - chopped out all the bits I wanted and stuck them together to make this theme.

The icons are from the Noia set apart from JuK controls which came from the JuK Control theme. The XMMS controls were hand-drawn for me by a close friend.

I designed the theme for 1600x1200. It should be ok at 1280x1024 but other resolutions may need the code changing. Also the "Disc Space" section may/will need paths altering.

BUGS - for some reason my Karamba won't show temps or fan rpms even though the sensors package is installed and working from a command line.

TO DO - tidy up the layout a little and maybe add some colour. Possibly add an Amarok section just for the hell of it.

Constructive criticism and suggestions appreciated! As I said this is my first them - hell, my first anything to the KDE community so be gentle!


16 years ago


I've seen a similar screenshot here already:

Can you please give me a hint where I can find it?



16 years ago

I had a problem with the command used to return the IP address. It was returning too much information. After looking at it closer, I found that it was finding 2 instances of the "/inet/" so I changed the command to have "/inet\ addr/" instead so that it found only the instance I wanted.

If you have another line underneath the IP address line that doesn't make sense, it's probably because of this. My extra line said "fe80."

The entire command is:

program="/sbin/ifconfig eth0 | awk -F: /inet\ addr/'{print $2}' | awk '{print $1}'"

It is found on (approximately) line 107. (I have made some of my own changes, don't know if that is the original line number.)

Thanks also go to my hubby who helped me debug it. ;)

By the way, I like it. :)



16 years ago

I have the same problems with lm_sensors. Did you check if the 'raw' sensor values are to be found in /sys (for 2.6 kernels with sysfs, otherwise in /proc)? My MoBo-temperature, for example, is to be found in /sys/bus/i2c/devices/0-002d/temp1_input. Possibly, you have to do some arithmatic to get the proper values (compare with the values your BIOS gives you and look around in the lm_sensors files). In my case, this turned out to be rather simple. I use the program sensor to extract the values and awk to do the calculations.

This results in the following lines in my Karamba theme:

text x=0 y=25 value="M/B:"
text x=140 y=25 sensor=program program="echo `awk ' { print int($0 / 1000 ) } ' /sys/bus/i2c/devices/0-002d/temp1_input` °C" align="right" interval=10000
text x=0 y=45 value="CPU:"
text x=140 y=45 sensor=program program="echo `awk ' { print int($0 / 500 ) } ' /sys/bus/i2c/devices/0-002d/temp2_input` °C" align="right" interval=10000
text x=0 y=65 value="Fan:"
text x=140 y=65 sensor=program program="echo `cat /sys/bus/i2c/devices/0-002d/fan2_input` rpm" align="right" interval=10000

Good luck!



16 years ago

...but is it just me or is the archive b0rked?





16 years ago

I think it's just you - my archive opens here and no-one else has said there's a problem. Let me know and I'll mail it if you want.




16 years ago

It's me too.
Ark says the archive is empty.


product-maker Base: 4 x 5.0 Ratings
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
0 Affiliates
updated Jul 10 2004
added Jul 10 2004
downloads 24h
mediaviews 24h 0
pageviews 24h 0