System 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

0
5 .0
Description:

My first karamba applet - a system monitor.

Tips and critique welcomed.

uldariel

13 years ago

sorry for double posting, but this maybe helps other people. "detected wireless networks" wasn't working becase my wireless device is eth1, not eth2.I just editted the them, replaced eth2 with eth1 and it worked. Hope it helps

Report

uldariel

13 years ago

sensors says this.

Can't access procfs/sysfs file
Unable to find i2c bus information;
For 2.6 kernels, make sure you have mounted sysfs and libsensors
was compiled with sysfs support!
For older kernels, make sure you have done 'modprobe i2c-proc'!

:/

Report

uldariel

13 years ago

It is a great theme, i really like it, as simple as complete. The matter is that i have done what u say, installed lm-sensors,then ran your script, then sensors-detect but the theme still doesn't show temperatures, and it also doesn't show detected wireless networks :(. I hope u can solve this because i really like your theme. By the way, i think u have done a good job :)

Report

C

cloakable

13 years ago

Can you give me the output of the sensors command?

And to get the wireless networks listed, execute this:

sudo chmod +s /sbin/iwlist

That will let you perform wireless scans as a normal user (it normally requires root privs)

Hope this helps, and thank you for the compliment :)

Report

2beers

13 years ago

hi - nice work so far - i like the look.
I do miss options though...
i.e:
-> decide what to have on the bar (i.e. no wireless card in my PC - dont need the info therefore)
-> specify correct data - settings options in general i.e.:
a. doesnt seem to know where my /home is
b. i'd prefer 24h instead of am/pm
-> Doesnt show temp of mainboard nor cpu (Bios can read cpu temp - so i suppose the OS should b able too?)


Godd work so far - keep on rolling!

OS: Kubuntu 6.10 @ kdm

Report

C

cloakable

13 years ago

hi - nice work so far - i like the look.
Thanks :)
I do miss options though...
i.e:
-> decide what to have on the bar (i.e. no wireless card in my PC - dont need the info therefore)<
-> specify correct data - settings options in general i.e.:
a. doesnt seem to know where my /home is
b. i'd prefer 24h instead of am/pm
I'm not sure how to go about making configurable themes yet - I know it involves python, but I'm hugely inexperienced with that language. I'll be studying it though. Though look at the theme file in Kate - I've left comments through the file to tell people what they're looking at :) Just don't save the theme while it's running - superkaramba will crash.
-> Doesnt show temp of mainboard nor cpu (Bios can read cpu temp - so i suppose the OS should b able too?)
Yeah. For the temp readings you need to have lm-sensors installed and setup correctly. Use sudo apt-get install lm-sensors, then sudo sensors-detect. Answer yes to everything, but when it asks you about ISA or SMBus, answer smbus.

If sensors-detect complains about no i2c found, run this script:

#!/bin/bash

# Here you can set several defaults.

# The number of devices to create (max: 256)
NUMBER=32

# The owner and group of the devices
OUSER=root
OGROUP=root
# The mode of the devices
MODE=600

# This script doesn't need to be run if devfs is used
if [ -r /proc/mounts ] ; then
if grep -q "/dev devfs" /proc/mounts ; then
echo "You do not need to run this script as your system uses devfs."
exit;
fi
fi

i=0;

while [ $i -lt $NUMBER ] ; do
echo /dev/i2c-$i
mknod -m $MODE /dev/i2c-$i c 89 $i || exit
chown "$OUSER:$OGROUP" /dev/i2c-$i || exit
i=$[$i + 1]
done
#end of file

Save it as mkdev.sh, then chmod +x mkdev.sh then sudo ./mkdev.sh

Then try sensors-detect again.

Good luck :)

Report

12345678910
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
Pling
0 Affiliates
Details
license
version
updated Nov 19 2006
added Nov 18 2006
downloads 24h
0
mediaviews 24h 0
pageviews 24h 1