Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

1
Become a Fan
7.9

Description:

Ratings & Comments

10 Comments

lionhater

Finally a sensible usable temp widget. Just one blemish. It reads: 52.000. How can I get rid of the ".000" part? It unnecessarily waste space, more so in my vertical panel forcing me to enlarge. If you can add CPU and memory usage as well in the same way and give an option to align them verticall for vertical panels, I'll go find and kiss you (on the cheek, that is)!

lionhater

Solved it by some googling; for other noobs like me: Open the cputemp.py file inside this folder: /home/YOUR_USERNAME/.kde/share/apps/plasma/plasmoids/cputemp/contents/code/ Then change the line sensor = commands.getoutput("sensors -u | grep temp1") to sensor = commands.getoutput('sensors -u | grep temp1 | cut --delim="." -f 1') Now instead of 51.000 ℃, you get 51 ℃. You can manipulate the ℃ part as well on this line: self.label.setText(sensor[start:end] + ' ' + chr(176) +'C') For example, if you change it to self.label.setText(sensor[start:end] + ' ' +chr(176)) you get 51° instead of 51 ℃.

icewind1991

For mutlicore system, it might be nice to show the average temperature of both cores in the panel, and show a popup with the temperature of the individual cores when you click on it

sezaru

Hello, can you give me the output of $ sensors and $ sensors -u so i can try implement something like that thanks

icewind1991

sensors: Quote:

k8temp-pci-00c3 Adapter: PCI adapter Core0 Temp: +42.0 C Core1 Temp: +35.0 C
sensors -u: Quote:
k8temp-pci-00c3 Adapter: PCI adapter Core0 Temp: temp1_input: 41.00 Core1 Temp: temp3_input: 32.00

itsjustarumour2

Installed it, but it didn't work. Then I released that it requires lm_sensors to be installed, so I installed that. Now when I install the plasmoid its kinda half-working - I get the "Degrees C" bit showing, but not the number for the actual temperature. Any ideas? (Fedora 13 32-bit, KDE 4.5.2)

sezaru

Hello, can you run in the terminal this: $ sensors and paste here the output? Thanks

itsjustarumour2

Hi, OK, here goes :-) [ian@COOLERMASTER ~]$ sensors atk0110-acpi-0 Adapter: ACPI interface Vcore Voltage: +1.05 V (min = +0.85 V, max = +1.60 V) +3.3 Voltage: +3.30 V (min = +2.97 V, max = +3.63 V) +5 Voltage: +5.02 V (min = +4.50 V, max = +5.50 V) +12 Voltage: +11.93 V (min = +10.20 V, max = +13.80 V) CPU FAN Speed: 888 RPM (min = 600 RPM) CHASSIS1 FAN Speed:1278 RPM (min = 600 RPM) CHASSIS2 FAN Speed:1231 RPM (min = 600 RPM) CHASSIS3 FAN Speed:1205 RPM (min = 800 RPM) CPU Temperature: +28.0°C (high = +60.0°C, crit = +95.0°C) MB Temperature: +23.0°C (high = +45.0°C, crit = +95.0°C) [ian@COOLERMASTER ~]$

sezaru

Hello itsjustarumour2, I have just updated the plasmoid, can you test it and reply if it works or not? Thanks!

itsjustarumour2

Hi Sezaru, Yes, new version 0.2 is working perfectly! Thanks for all your hard work. Best, itsjustarumour2

Pling
0 Affiliates
Details
license
version 0.2
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 4

Other Plasma 4 Extensions:

Icon Tasks deb build
N00bun2
last update date: 14 years ago

Score 4.3

Prayer Times Plasmoid
riyad
last update date: 13 years ago

Score 5.2

KPrayertime4 Islamic Prayer Times
ahaq
last update date: 15 years ago

Score 4.4

Hostinfo
mgraesslin
last update date: 13 years ago

Score 4.7

Monitor QuadCore Russian
kuchumovn
last update date: 16 years ago

Score 5.0

blaKjaK
werevire
last update date: 15 years ago

Score 5.0