i wondered if there was an option built into sensors:
Code:man sensorsif you are using the exec methodCode:-f Print the temperatures in degrees Fahrenheit instead of Celsius.
Ok got it, so basically telling it in order to grab the imperial temperature before it actually gets there, instead of being out of order as I am
I had the same problem a year or so ago, needing F instead of C, but I am using a different method and I never documented what I did to fix it lol
that's exactly what I did but it's now showing only 9 degrees, that can't be F can it? Here is my sensors -f output
and here's the conky lineCode:sensors -f coretemp-isa-0000 Adapter: ISA adapter Core 0: +111.2°F (high = +165.2°F, crit = +212.0°F) Core 1: +113.0°F (high = +165.2°F, crit = +212.0°F) w83697hf-isa-0290 Adapter: ISA adapter in0: +1.30 V (min = +0.10 V, max = +2.56 V) in2: +3.30 V (min = +0.06 V, max = +1.34 V) ALARM in3: +2.98 V (min = +1.15 V, max = +1.06 V) ALARM in4: +2.96 V (min = +0.26 V, max = +0.38 V) ALARM in5: +2.98 V (min = +2.05 V, max = +2.06 V) ALARM in6: +2.99 V (min = +0.00 V, max = +1.31 V) ALARM in7: +3.30 V (min = +0.10 V, max = +0.64 V) ALARM in8: +3.41 V (min = +1.02 V, max = +0.21 V) ALARM fan1: 2083 RPM (min = 753 RPM, div = 8) fan2: 2136 RPM (min = 84375 RPM, div = 8) ALARM temp1: +82.4°F (high = +111.2°F, hyst = +32.0°F) sensor = thermistor temp2: +90.5°F (high = +176.0°F, hyst = +167.0°F) sensor = thermistor beep_enable: enabled
any thoughts? here's the pic if you don't believe me.Code:${exec sensors -f | grep -n 'Core 0' | cut -c 18-19}° F
Check out my Tech Blog http://ubuntuaddicted.blogspot.com
YouTube: http://youtube.com/user/ubuntuaddicted.com
Become a Patreon of mine: http://www.patreon.com/ubuntuaddicted
Sector11 setting own_Windows type normal seems to have fixed the problem.
Again thanks for the tip.
Information on my Main laptop. Information on my small laptop Dell 11 3000
Using a Asus 3632QM laptop with 8gig RAM, 250 SSD.
Machine Registered 366271, 366273, 366275.
Registered Ubuntu user number 18630. Registered Linux user number 458093.
@dannyboy79
Your temp is probably 109 F so you need to increase the amount of characters cut.
Try:
Given the potential to add/lose a digit from 99 to 100 degrees F (for example) it might be better to use awk instead of grep to get the result.Code:${exec sensors -f | grep -n 'Core 0' | cut -c 16-19}
Try this in a terminal:
Should give the entire temperature - should be a way to drop the plus sign and degrees F using the -d and -f options in cut; but that is beyond my meager coding talents. Something along the lines of:Code:sensors -f | awk '/Core 0/ {print $2}'
which gives 80.6° for my system - I can't figure out how to cut the degree symbol.Code:sensors -f | awk '/Core0 Temp/ {print $3}' | cut -d"+" -f2 | cut -d"F" -f1
Last edited by landwell; December 19th, 2012 at 04:10 PM.
Bookmarks