Page 12 of 12 FirstFirst ... 2101112
Results 111 to 113 of 113

Thread: HowTo: Conky hddtemp

  1. #111
    Join Date
    Jun 2010
    Location
    Phoenix, AZ
    Beans
    147
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HowTo: Conky hddtemp

    Quote Originally Posted by cement_head View Post
    Yes, you need to do the

    Code:
    sudo dpkg-reconfigure hddtemp
    part of my post and then reboot

    - CH
    That worked! Many thanks!

  2. #112
    Join Date
    Nov 2007
    Location
    República de Tejas,Centro
    Beans
    232
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HowTo: Conky hddtemp

    Quote Originally Posted by cyberkost View Post
    If the above is an excerpt from an actual xterm session, then the following should work in conky
    Code:
    ${execpi 300 hddtemp /dev/sda | cut -c35-39}
    Would think this would also work:

    Code:
    ${hddtemp /dev/sda -n}
    - da shu @ HeliOS,
    "A child's exposure to technology should never be predicated on an ability to afford it."

  3. #113
    Join Date
    Nov 2010
    Beans
    103

    Lightbulb Re: HowTo: Conky hddtemp

    I did it with this way, it looks much more informative, also you can see exactly which drive it is.

    Doing it just with temp, and then manually entering text in conky might get you the wrong info, if you ever changed, move, or replaced a drive, /dev/drive letter will change and the information becomes innacurate.

    This method will automatically keep the correct drive letter + disk model + temp in 1 line

    Code:
    ${execi 1 nc localhost 7634 | cut -f01-04 -d\|}C
    ${execi 1 nc localhost 7634 | cut -f06-09 -d\|}C
    ${execi 1 nc localhost 7634 | cut -f11-14 -d\|}C
    ${execi 1 nc localhost 7634 | cut -f16-19 -d\|}C
    ${execi 1 nc localhost 7634 | cut -f21-24 -d\|}C
    ${execi 1 nc localhost 7634 | cut -f26-29 -d\|}C
    ${execi 1 nc localhost 7634 | cut -f31-34 -d\|}C
    ${execi 1 nc localhost 7634 | cut -f36-39 -d\|}C
    ${execi 1 nc localhost 7634 | cut -f41-44 -d\|}C
    ${execi 1 nc localhost 7634 | cut -f46-49 -d\|}C
    ${execi 1 nc localhost 7634 | cut -f51-54 -d\|}C
    ${execi 1 nc localhost 7634 | cut -f56-59 -d\|}C
    ${execi 1 nc localhost 7634 | cut -f61-64 -d\|}C
    ${execi 1 nc localhost 7634 | cut -f66-69 -d\|}C
    output looks like this

    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	conkyhddtemp.png 
Views:	291 
Size:	26.9 KB 
ID:	201125  

Page 12 of 12 FirstFirst ... 2101112

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •