Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to display GPU speed, Memory, and Temperature on my conky configuration. On the conky site it says you can use ${nvidia temp}°C to show it. However, when this happens, it takes it as litteral text. I've read a bit, and it looks like I'm missing a plugin or something. Some sources say to install Nvidia-Settings which I've already had installed. (PS i have a gefore 360m)

I was able to get a temp reading as you can see in the top of this picture. I used a long line of code ${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'} °C But the conky objects are much cleaner, and I'd like to just be able to use them instead.

Does anyone know how I can get this working? (See VIDEO section)

Here's the code for the Video section...

${font Arial:bold:size=10}${color White}VIDEO ${color DarkSlateGray}${hr 2}
$font${color DimGray}NVidia GeForce 360m GPU $alignr${nvidia gpufreq}Mhz
Memory $alignr${nvidia memfreq}Mhz Temperature $alignr${nvidia temp}Mhz

enter image description here

share|improve this question

2 Answers 2

up vote 2 down vote accepted
${color CC9900}GPU:$color $alignr ${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'} C
${color CC9900}VIDEO ${hr 2}$color
NVidia GeForce GPU $alignr ${nvidia gpufreq} Mhz
Memory $alignr ${nvidia memfreq} Mhz
Temperature $alignr ${nvidia temp} C
share|improve this answer
    
It works for me without the $alignr code. –  user74769 Jul 3 '12 at 13:59
    
I think you should write ${alignr} instead $alignr –  user107279 Nov 11 '12 at 20:39

if you don't want to use the nvidia-settings application, conky can read the values itself. You just have to recompile conky with the --enable-nvidia option. Then ${nvidia temp}°C will work. It's not compiled by default because of known reasons.

share|improve this answer
    
Thanks Nik, I will try this some time. –  Frantumn Jan 30 '13 at 14:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.