Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Quick Conky question -- adding gpu
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
sinisterdomestik
l33t
l33t


Joined: 28 Aug 2003
Posts: 685
Location: Texas

PostPosted: Sun Feb 03, 2013 6:23 am    Post subject: [SOLVED] Quick Conky question -- adding gpu Reply with quote

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
View user's profile Send private message
Jonashrem
n00b
n00b


Joined: 03 Feb 2013
Posts: 23

PostPosted: Sun Feb 03, 2013 6:49 am    Post subject: Reply with quote

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
View user's profile Send private message
sinisterdomestik
l33t
l33t


Joined: 28 Aug 2003
Posts: 685
Location: Texas

PostPosted: Sun Feb 03, 2013 7:02 am    Post subject: Reply with quote

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
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6095
Location: Dallas area

PostPosted: Sun Feb 03, 2013 11:03 am    Post subject: Reply with quote

Or you can use the built in one
Code:
${nvidia temp}


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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum