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

 
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: 683
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: 17

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: 683
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
Advocate
Advocate


Joined: 23 May 2008
Posts: 2245
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

_________________
Asus m5a99fx, FX 8320 - amd64-multilib, 3.9.1-zen, glibc-2.17, gcc-4.7.3-r1, eudev
xorg-server-1.16, openbox w/lxpanel, nouveau, oss4
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