CPU Temperature gDesklet

Conky

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

0
Score 49%
Description:

Desklet for gDesklets which displays current CPU and hard disk temperature, and plots over time. Everything's pretty customizable.

Requires the following commands to produce appropriate output:
for CPU temperature:
"cat /proc/acpi/thermal_zone/THRM/temperature", (output similar to: "temperature: 66 C");
for HDD temperature:
"netcat localhost 7634" (output similar to: "|/dev/sda|FUJITSU MHV2080AH ?|48|C|").


Last changelog:

11 years ago

0.2 - Added hard disk temperature monitor. Removed dependency on ICPUTemp control, in favour of built-in IExec control.

0.1 - First release

Gangster

11 years ago

I have got this error

invalid literal for int() with base 10: '/proc/acpi/thermal_zone/THRM/temperature:'
/home/gangster/.gdesklets/Displays/CPUTemp/cputemp.display
78
79
80
81 def cpu_update(current_temp):
82 Dsp.cpu_label.value = cpu_label + current_temp + " °C"
> 83 Dsp.cpu_plotter.value = int(current_temp)
84
85 #ctrl.bind("cputemp", update)
86
87 Dsp.cnv.graphics = bg_svg
88
89 def timed_update():

and it don`t work....

Report

Iconoclast

10 years ago

I had a similar problem, and had to replace the proc temperature command in the cputemp.display with:

cat /proc/acpi/thermal_zone/*/temperature


Of course the desklet only displays the temp of one core, so if it will require some script tampering to fix I imagine.

Report

arcovoltaico77

11 years ago

it gives me this error :

"No Control could be found for interface ICPUTemp:drt4oy2sbq3w0yqyhp4n9qbdc-2
/home/dav/.gdesklets/Displays/CPUTemp/cputemp.display"

the suggested "cat" command works, and from the shell I'm able to read cpu temp.

Report

C

cumpstey

11 years ago

gDesklets sometimes does this to me, even if the control is good. I don't know why - it seems a bit buggy sometimes in detecting controls.

In version 0.2 I've taken away dependency on the specific ICPUTemp control, in favour of the built-in generic IExec control. Hopefully you should have no problems with this.

Report

arcovoltaico77

11 years ago

Ok, I'll try the new version, thank you

Report

11 years ago

0.2 - Added hard disk temperature monitor. Removed dependency on ICPUTemp control, in favour of built-in IExec control.

0.1 - First release

product-maker 18 17

File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
Details
license
version
0.2
updated Sep 02 2007
added Aug 29 2007
downloads today
0
page views today 2