CPU Temperature gDesklet

Conky

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

0
Become a Fan
5.0

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:

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

0.1 - First release


Ratings & Comments

5 Comments

Gangster

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....

Iconoclast

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.

arcovoltaico77

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.

cumpstey

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.

arcovoltaico77

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

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

More Conky from cumpstey:

Thumbnail Generator gDesklet
cumpstey
last update date: 18 years ago

Score 5.0

Photo frame gDesklet
cumpstey
last update date: 18 years ago

Score 5.0

eBay Watcher
cumpstey
last update date: 18 years ago

Score 5.0

Page Scraper
cumpstey
last update date: 18 years ago

Score 5.0

Fuzzy clock
cumpstey
last update date: 18 years ago

Score 5.0

Other Conky:

System Status
Whise
last update date: 17 years ago

Score 5.0

Genetic code
Whise
last update date: 17 years ago

Score 5.0

BCCRScreenlet
gartuz
last update date: 17 years ago

Score 5.0

Diggler
Whise
last update date: 17 years ago

Score 5.0

Comic
Whise
last update date: 17 years ago

Score 5.0

Clear-enGlish Theme pack (Picframe Theme
ClearenGlish
last update date: 17 years ago

Score 4.7