Originally Posted by
jmfal
[SIZE=3]T[SIZE=2]hanks for the reply Sector11
You're welcome ...
Some things I missed:
Code:
Conky: /home/jeff/.conkyrc: 47: no such configuration: 'border_margin'
border_margin is depreciated:
Change:
Code:
# border margins
border_margin 5
to:
Code:
# border margins
border_inner_margin 5
border_outer_margin 0
That will clear up that error.
Next font 'arial' can't load... change these:
and
Code:
xftfont Arial:size=8
and this:
to:
Code:
use_spacer right #left, right or none - defaults to right if 'yes'
Originally Posted by
jmfal
The code for hdd2$3 displays 0/0 0%. I'm assuming that they will register when mounted. I'm trying to get them to display without mounting.
Found a thread about using :
Code:
if_used
if_existing
if_mounted
endif
They where not very clear on use.
Good example found here for $if_existing --->>> remember for EVERY ${if_something] you need an ${endif}
Originally Posted by
jmfal
Output of $sensors
Code:
jeff@jeff-ET1331G:~$ sensors
it8716-isa-0a10
Adapter: ISA adapter
in0: +0.94 V (min = +0.00 V, max = +1.02 V) ALARM
in1: +2.48 V (min = +0.00 V, max = +0.03 V) ALARM
in2: +1.78 V (min = +0.00 V, max = +0.00 V) ALARM
in3: +3.39 V (min = +0.03 V, max = +2.05 V) ALARM
in4: +3.06 V (min = +0.00 V, max = +1.02 V) ALARM
in5: +1.15 V (min = +0.00 V, max = +0.00 V) ALARM
in6: +3.02 V (min = +0.00 V, max = +0.00 V) ALARM
5VSB: +2.91 V (min = +2.30 V, max = +2.56 V) ALARM
Vbat: +3.28 V
fan1: 1880 RPM (min = -1 RPM) ALARM
fan2: 0 RPM (min = -1 RPM) ALARM
fan3: 0 RPM (min = 10546 RPM) ALARM
temp1: +26.0°C (low = -110.0°C, high = +0.0°C) sensor = thermal diode
temp2: +34.0°C (low = +40.0°C, high = +32.0°C) ALARM sensor = thermistor
temp3: -128.0°C (low = +0.0°C, high = +0.0°C) sensor = disabled
cpu0_vid: +1.525 V
intrusion0: OK
k10temp-pci-00c3
Adapter: PCI adapter
temp1: +20.5°C (high = +70.0°C)
jeff@jeff-ET1331G:~$
I can't find where I called "temp1" "3 times" unless you are talking about using "grep|awk". I couldn't get it to display without using "awk".
Exactly, when you used:
Code:
Core 1: ${freq 1} MHz Temprature:$color${exec sensors |grep 'temp1'| awk '{print $2}'| cut -c2-3}C
that grep 'temp1' grabbed both:
Code:
temp1: +26.0°C (low = -110.0°C, high = +0.0°C) sensor = thermal diode
temp1: +20.5°C (high = +70.0°C)
What you can use, and it's easier to use, is hwmon:
Code:
${hwmon 1 temp 1}
${hwmon 2 temp 1}
To read those two temps.
I think ${hwmon 2 temp 1} will be your CPU temp. Others that understand that better might be able to confirm/deny that.
OR you could grep '(high = +70.0°C)' that will give you the second "temp1"
but since hwmon doesn't require an ${exec} call it's easier on resources.
Bookmarks