LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-03-2009, 02:40 PM   #1
Deonild
LQ Newbie
 
Registered: Feb 2009
Location: Chicago, IL
Distribution: Debian
Posts: 2

Rep: Reputation: 0
Conky temp configuration


I'm setting up Conky on Archlinux and can't get temp to show.
I installed lm_sensors and got 1 temp reading which is good enough, but can't find out to use it. "Conky variables" guide shows how to use acpi, so i installed acpi and acpid and even put acpid in /etc/rc.conf modules to load (not sure that I need acpi, probably will uninstall).
$sensors output is:

k8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp: +38.0'C

/proc/acpi$ acpi -V gives me:

Cooling 0: Processor 0 of 0

so maybe my system is not acpi compatible.

My current line in ~/.conkyrc for temp, which doesn't work, it shows 0 degrees is:

${color grey}CPU Temp:$color ${acpitemp}${color grey} Celcius

How can I use core0 Temp from sensors for conky??. Don't have "i2c" or other things like that which I've seen on other posts, rather nothing in i2c.

Thx for any ideas
 
Old 04-14-2009, 04:59 PM   #2
Sgt Canuck
LQ Newbie
 
Registered: Mar 2009
Location: Argentina
Distribution: Xubuntu 8.10, Dreamlinux 3.5 and Debian Lenny
Posts: 26

Rep: Reputation: 15
Quote:
Originally Posted by Deonild View Post
I'm setting up Conky on Archlinux and can't get temp to show.
I installed lm_sensors and got 1 temp reading which is good enough, but can't find out to use it. "Conky variables" guide shows how to use acpi, so i installed acpi and acpid and even put acpid in /etc/rc.conf modules to load (not sure that I need acpi, probably will uninstall).
$sensors output is:

k8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp: +38.0'C

/proc/acpi$ acpi -V gives me:

Cooling 0: Processor 0 of 0

so maybe my system is not acpi compatible.

My current line in ~/.conkyrc for temp, which doesn't work, it shows 0 degrees is:

${color grey}CPU Temp:$color ${acpitemp}${color grey} Celcius

How can I use core0 Temp from sensors for conky??. Don't have "i2c" or other things like that which I've seen on other posts, rather nothing in i2c.

Thx for any ideas
Oh I'm sure it is compatible. Not knowing Arch Linux and/or you machine and not being a geek either I'm at a loss except for one thing.

It seems on every "distro" that has conky threads send people to: Post your .conkyrc files w/ screenshots on the Ubuntu Forums. With 645 pages it's HUGE! I know there at least 5 people there that use Arch. Go to the last page and pop in a question, 10 to 1 you get a response within an hour.

If I knew more I would help but I had to ask for help myself and this line, displaying CPU Temp, Core Temp M/B Temp and GPU Temp, was the result:
Code:
${font DejaVu Sans Mono:bold:size=9}${color3}CPU: ${color5}${execpi 8 sensors | grep 'CPU Temp' | cut --characters 15-16 | xargs ~/Conky/scripts/ColorTempCPU.sh}${color}${goto 65}${color3}Core: ${execpi 8 sensors | grep 'Core0' | cut --characters 15-16 | xargs ~/Conky/scripts/ColorTempCore.sh}${color}${goto 135}${color3}M/B: ${execpi 8 sensors | grep 'M/B Temp' | cut --characters 15-16 | xargs ~/Conky/scripts/ColorTempMB.sh}${color}${goto 200}${color3}GPU: ${execpi 8 sh -c "DISPLAY=:0.0 nvidia-settings -q gpucoretemp | grep Attribute | cut --characters 41-42" | xargs ~/Conky/scripts/ColorTempGPU.sh}${font}
the trick is to know what to grep and where to cut.

Ask, trust me, you will get an answer, I did.
Have a nice day.
Bruce

Have a nice day.
Bruce
Attached Images
File Type: png temps.png (25.1 KB, 14 views)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Conky Smitty67 Slackware 24 07-12-2009 04:30 PM
Need Help with Conky slickhare Linux - Newbie 7 05-06-2009 02:15 AM
Conky on Suse 10.0 - *** buffer overflow detected *** conky terminated Slidex Linux - Software 1 03-17-2006 11:50 AM
conky help ahh_dee Linux - Software 2 10-28-2005 01:40 PM
conky/torsmo help anticapitalista MEPIS 2 08-29-2005 12:18 PM


All times are GMT -5. The time now is 01:28 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration