View previous topic :: View next topic |
Author |
Message |
sinisterdomestik l33t
Joined: 28 Aug 2003 Posts: 685 Location: Texas
|
Posted: Sun Feb 03, 2013 6:23 am Post subject: [SOLVED] Quick Conky question -- adding gpu |
|
|
I've been searching for two day on how too add my Nvidia GPU temp to conky, with no avail!
I have nvidia-settings emerged, but I have no idea how to add that into the conky.conf. I have the CPU part, which I would like the GPU to look the same: Code: | ${color}${font StyleBats:size=12}${font}${color slate grey}CPU: ${color } $cpu% ${acpitemp}C
${cpugraph 20,140 000000 ffffff} |
Any quick help would be greatly appreciated! Thanks!! _________________ Thou shalt NEVER speak of removing thine Linux
Last edited by sinisterdomestik on Sun Feb 03, 2013 7:03 am; edited 1 time in total |
|
Back to top |
|
|
Jonashrem n00b
Joined: 03 Feb 2013 Posts: 23
|
Posted: Sun Feb 03, 2013 6:49 am Post subject: |
|
|
hi,
I use Code: | ${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'} °C
| wich works fine to display the temperature. |
|
Back to top |
|
|
sinisterdomestik l33t
Joined: 28 Aug 2003 Posts: 685 Location: Texas
|
Posted: Sun Feb 03, 2013 7:02 am Post subject: |
|
|
That worked like a charm!!! Thank you so much!
I had found a few things online similar to that, but none of them worked. Now I just need to decide if I want a graph or not.
Thanks again. _________________ Thou shalt NEVER speak of removing thine Linux |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6097 Location: Dallas area
|
Posted: Sun Feb 03, 2013 11:03 am Post subject: |
|
|
Or you can use the built in one
You also need to make sure that conky is compiled with the nvidia flag
Code: | + + nvidia : enable reading of nvidia card temperature sensors via media-video/nvidia-settings |
_________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
|