Thread: Conky hddtemp works only intermittantly
this minor, annoying, problem. have following line in .conkyrcthen have code in .conky/bargraph_small.lua file (this part of vindsl's conky setup):code:${voffset 4}${font droidsansmono:size=8}${offset 5}${color3}hdd : ${alignr}${hddtemp /dev/sdb}ok, produces line says "hdd :" @ beginning, has bar graph of temperature, has temperature in text after bargraph.code:{ --[ graph sdb temp ]-- name="hddtemp", arg="/dev/sdb", max=195, alarm=82, alarm_colour={0xff0000,0.72}, bg_colour={0xffffff,0.25}, fg_colour={0x00ff00,0.55}, mid_colour={{0.45,0xffff00,0.70}}, x=55,y=804, blocks=55, space=1, height=2,width=5, angle=90, smooth=true },
problem works of time. if have conky update interval set 2 seconds, seems work 1 cycle, fail 2 cycles, work one, fail two, etc. when fails says "n/a" text , bargraph drawn if temperature zero. i've attached 2 screenshots showing working , not-working version, near bottom temperature section.
i've tried testing hddtemp daemon, works, no matter how or try it. , output in same format, i'm not seeing cause conky have trouble parsing it.code:nc localhost 7634
i'm baffled... insight appreciated.
edit: ubuntu, not lubuntu... way change thread prefix?
do have firewall blocking port?
if not probally permissiion issue
can run hddtemp terminal or this:
command 'hddtemp' available in '/usr/sbin/hddtemp'
command not located because '/usr/sbin' not included in path environment variable.
caused lack of administrative privileges associated user account.
hddtemp: command not found
should temp yuo may able pull off messing "name" , "args" in .lua file
edit:code:nc localhost 7634 | sed 's/|/\n/g' | tail -2 | head -1
this 1 put line break after text output includes output of hddtemp compare tocode:nc localhost 7634 | sed 's/|//;s/|/\: /;s/|/\: /;s/|/\°/;s/|//'code:nc localhost 7634 | sed 's/|//;s/|/\: /;s/|/\: /;s/|/\°/;s/|/\n/';sudo hddtemp /dev/sda /dev/sda: wdc wd3200bekt-00ka9t0: 43°c /dev/sda: wdc wd3200bekt-00ka9t0: 43°c
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [lubuntu] Conky hddtemp works only intermittantly
Ubuntu
Comments
Post a Comment