Posts: 279
afab4
Joined: 17 Oct 2009
#1
Can someone please show me how to modify my Conky configuration to make the nVidia core output display in fahrenheit instead of celsius?
Here is the line in Conky that displays output.

${color}GPU Temperature: $color${execi 10 nvidia-settings -q gpucoretemp | grep '):' | awk '{print $4}' | cut -c -2} °C

i have the"temperature_unit fahrenheit" inserted in the configuration file and other units display correctly but not this one.
Thanks and THANKS for a great distro!
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#2
Uh, maybe the reason it is not displaying is because it's sensor is not enabled in lm-sensors maybe?
Posts: 279
afab4
Joined: 17 Oct 2009
#3
Sorry if i was unclear.
Conky displays the celsius gpu_temperature ok.
I would like it to display in fahrenheit if possible.
Thanks
Posts: 903
plvera
Joined: 11 Oct 2008
#4
try this at the top part of the config

temperature_unit fahrenheit
Posts: 279
afab4
Joined: 17 Oct 2009
#5
I have temperature_unit fahrenheit in the top part of the config.
My acpi temperature displays in fahrenheit. about 104 F
The gpu_temperature displays in celsius. about 70 C

I figured it out.
Changed the config line to this:

${color}GPU Temperature: $color${execi 10 nvidia-settings -q GPUCoreTemp | awk '{if (NR==2) {print ($4*9)/5+32}}'} F

Now I get fahrenheit to display.