Posted by: poche | June 22, 2008

GPU Temperature added to conky

Since my new conky configuration, i haven’t made any changes to .conkyrc file. Yesterday, i try to add Nvidia GPU temperature monitor to my conky.. its simple..

First, you must have nvidia-settings installed on your box. if you haven’t then, you should install it. You can install it via synaptic package manager (using keyword nvidia-settings) or, you can install it via terminal by typing “sudo apt-get install nvidia-settings” (without quotes). And remember, that this is only for Nvidia-based GPU.

After that, you can add this line to your conky config (the conkyrc file) anywhere in the line

"${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'} °C"

(without quotes)

And Tada…. you have the GPU temperature monitor on your conky.. Here is the screenshot.

Feel free to comment.. ^o^


The reason, that the command getting failed is because, WordPress converting the quote mark (') to (‘) which would red differently on text editor if you directly copy and paste the code.. And its my fault for not using <code> html code in the syntax above.. my bad..



  1. hehehe,,, cuma numpang lewat,,, coz nggak ngerti yg begitu2…

    intip blog tya yah,, merci d’avant..

  2. thanks man, this helps 🙂

  3. quote: “pat-get install”

    you sure mean “apt-get” 🙂

  4. hi i added that line but this is what i get:

    sh: -c: line 0: syntax error near unexpected token `(‘
    sh: -c: line 0: `nvidia-settings -query GPUCoreTemp | perl -ne ‘print $1 if /GPUCoreTemp.*?: (\d+)./;’’

    This is my conky line i added:

    ${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne ‘print $1 if /GPUCoreTemp.*?: (\d+)./;’}°C

    and i installed nvidia-settings

    i have the 9600GT


  5. Excelent. Tanks bro….

  6. Works just as well but doesn’t require the perl…

    ${execi 60 nvidia-settings -t -q GPUCoreTemp} °C

  7. And here is one for Ambient Temp…

    ${execi 60 nvidia-settings -t -q GPUAmbientTemp} °C

  8. it doesnt work for me.. :/

  9. same result whitout perl:
    ${execi 1200 nvidia-settings -t -q GPUCoreTemp} C

  10. ${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne ‘print $1 if /GPUCoreTemp.*?: (\d+)./;’}°C is the right command
    * The above gives an error sh: Syntax error: “(” unexpected.

  11. phew guys, i’m so sorry for late response..
    i got away from my computer for quite time (i had to go to some forest, to do a research)

    and personally i don’t think many people would comment in this post.. ^o^

    well, actually i kinda figured out the problem, and the post is already been edited, so please leave me feedback.. 😀

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s


%d bloggers like this: