
System Monitor
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
uldariel
14 years ago
Report
uldariel
14 years ago
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
14 years ago
Report
cloakable
14 years ago
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
14 years ago
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
cloakable
14 years ago
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