Page 2135 of 2299 FirstFirst ... 1135163520352085212521332134213521362137214521852235 ... LastLast
Results 21,341 to 21,350 of 22981

Thread: Post your .conkyrc files w/ screenshots

  1. #21341
    Join Date
    Jul 2012
    Location
    Oklahoma, USA
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by DobsonM View Post
    That worked after a bit of fiddling with the cut a bit but now I cant get the max temp to show with this one:

    Code:
    ${font}HARD-DISK TEMP:${alignr}${exec hddtemp /dev/sda -n --unit=C}C / ${color #FCAF3E}${exec sensors | grep 'CPU Temperature' | cut -c52-53}C$color
    Sorry if I seem helpless but this is all very new to me.
    That is because your terminal sensors output has no line which contains the words "CPU Temperature"; instead you need to grep something like 'Core 0' or 'Core 2' or something unique in a line that does appear in your terminal sensor output.

    However, for something which appears twice with 'exec sensors' (like 'Temp 1') you might need to be more specific with your terminal command execution such as
    Code:
    exec sensors acpitz-virtual-0
    or
    Code:
    exec sensors it8721-isa-0a10
    So you can see what is going on behind the scenes, try running
    Code:
    sensors acpitz-virtual-0
    and
    Code:
    sensors it8721-isa-0a10
    in terminal to see the difference between them, hopefully this will start to make a little more sense.

    "exec" is basically telling conky to run something in terminal, so having "exec sensors" in Conky is like running "sensors" in terminal. "exec lsb_release -a" in conky is like running "lsb_release -a" in terminal. With a little practice you can have Conky display nearly anything you can display in terminal.
    Last edited by Petro Dawg; December 29th, 2012 at 04:57 AM.

  2. #21342
    Join Date
    Aug 2011
    Beans
    32

    Re: Post your .conkyrc files w/ screenshots

    OK this is the output for sensors acpitz-virtual-0

    Code:
    dobbie@Dobbie:~$ sensors acpitz-virtual-0
    acpitz-virtual-0
    Adapter: Virtual device
    temp1:        +30.0C  (crit = +110.0C)
    and for sensors it8721-isa-0a10:

    Code:
    dobbie@Dobbie:~$ sensors it8721-isa-0a10
    it8721-isa-0a10
    Adapter: ISA adapter
    in0:          +2.82 V  (min =  +0.95 V, max =  +1.63 V)  ALARM
    in1:          +2.53 V  (min =  +0.44 V, max =  +0.31 V)  ALARM
    in2:          +2.92 V  (min =  +2.15 V, max =  +2.98 V)
    +3.3V:        +3.34 V  (min =  +5.86 V, max =  +0.86 V)  ALARM
    in4:          +0.90 V  (min =  +1.40 V, max =  +0.92 V)  ALARM
    in5:          +1.07 V  (min =  +1.52 V, max =  +0.22 V)  ALARM
    in6:          +2.03 V  (min =  +0.58 V, max =  +2.71 V)
    3VSB:         +3.24 V  (min =  +4.73 V, max =  +1.92 V)  ALARM
    Vbat:         +3.29 V  
    fan1:        1061 RPM  (min =   20 RPM)
    fan2:           0 RPM  (min =   96 RPM)  ALARM
    temp1:        +42.0C  (low  = +127.0C, high = +80.0C)  sensor = thermistor
    temp2:        +59.0C  (low  =  -1.0C, high = +127.0C)  sensor = thermistor
    temp3:        +28.0C  (low  =  -1.0C, high = +127.0C)  sensor = thermal diode
    intrusion0:  ALARM
    The other two commands just seemed to kill terminal.

  3. #21343
    Join Date
    Jul 2012
    Location
    Oklahoma, USA
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by DobsonM View Post
    OK this is the output for sensors acpitz-virtual-0

    Code:
    dobbie@Dobbie:~$ sensors acpitz-virtual-0
    acpitz-virtual-0
    Adapter: Virtual device
    temp1:        +30.0C  (crit = +110.0C)
    and for sensors it8721-isa-0a10:

    Code:
    dobbie@Dobbie:~$ sensors it8721-isa-0a10
    it8721-isa-0a10
    Adapter: ISA adapter
    in0:          +2.82 V  (min =  +0.95 V, max =  +1.63 V)  ALARM
    in1:          +2.53 V  (min =  +0.44 V, max =  +0.31 V)  ALARM
    in2:          +2.92 V  (min =  +2.15 V, max =  +2.98 V)
    +3.3V:        +3.34 V  (min =  +5.86 V, max =  +0.86 V)  ALARM
    in4:          +0.90 V  (min =  +1.40 V, max =  +0.92 V)  ALARM
    in5:          +1.07 V  (min =  +1.52 V, max =  +0.22 V)  ALARM
    in6:          +2.03 V  (min =  +0.58 V, max =  +2.71 V)
    3VSB:         +3.24 V  (min =  +4.73 V, max =  +1.92 V)  ALARM
    Vbat:         +3.29 V  
    fan1:        1061 RPM  (min =   20 RPM)
    fan2:           0 RPM  (min =   96 RPM)  ALARM
    temp1:        +42.0C  (low  = +127.0C, high = +80.0C)  sensor = thermistor
    temp2:        +59.0C  (low  =  -1.0C, high = +127.0C)  sensor = thermistor
    temp3:        +28.0C  (low  =  -1.0C, high = +127.0C)  sensor = thermal diode
    intrusion0:  ALARM
    The other two commands just seemed to kill terminal.
    which other 2 commands kill your terminal?

    "exec sensors acpitz-virtual-0" is conky code, not to be run in terminal

  4. #21344
    Join Date
    Aug 2011
    Beans
    32

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Petro Dawg View Post
    which other 2 commands kill your terminal? exec sensors acpitz-virtual-0 is conky code, not to be run in terminal
    Ignore me, I didn't ready your other post properly.....please proceed

  5. #21345
    Join Date
    Jul 2012
    Location
    Oklahoma, USA
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by DobsonM View Post
    Ignore me, I didn't ready your other post properly.....please proceed
    Ok, no worries.

    So now the question is, which temperatures do you want to display from the two outputs you previously posted or your original "sensor" output you posted a while back?

    You need to decide if you want "temp 1" from sensors acpitz-virtual-0, and/or "temp 1, 2, or 3" from sensors it8721-isa-0a10, and/or "Core 0, or 2" from sensors.

    Once you know which temperature/s you want, we can start grep'ing.
    Last edited by Petro Dawg; December 29th, 2012 at 05:10 AM.

  6. #21346
    Join Date
    Aug 2011
    Beans
    32

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Petro Dawg View Post
    Ok, no worries.

    So now the question is, which temperature do you want to display from the two outputs you previously posted or your original "sensor" output you posted a while back?

    You need to decide if you want "temp 1" from sensors acpitz-virtual-0, or "temp 1, 2, or 3" from sensors it8721-isa-0a10, or "Core 0, or 2" from sensors.

    Once you know which temperature/s you want, we can start grep'ing.
    Ok, awesome.

    These are the ones I would like to display:

    Code:
    fan1:        1061 RPM  (min =   20 RPM)
    fan2:           0 RPM  (min =   96 RPM)  ALARM
    temp1:        +42.0C  (low  = +127.0C, high = +80.0C)  sensor = thermistor
    temp2:        +59.0C  (low  =  -1.0C, high = +127.0C)  sensor = thermistor
    temp3:        +28.0C  (low  =  -1.0C, high = +127.0C)  sensor = thermal diode
    If thats ok with you to set up?

  7. #21347
    Join Date
    Jul 2012
    Location
    Oklahoma, USA
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by DobsonM View Post
    Ok, awesome.

    These are the ones I would like to display:

    Code:
    fan1:        1061 RPM  (min =   20 RPM)
    fan2:           0 RPM  (min =   96 RPM)  ALARM
    temp1:        +42.0C  (low  = +127.0C, high = +80.0C)  sensor = thermistor
    temp2:        +59.0C  (low  =  -1.0C, high = +127.0C)  sensor = thermistor
    temp3:        +28.0C  (low  =  -1.0C, high = +127.0C)  sensor = thermal diode
    If thats ok with you to set up?
    well I will set up ONE, you can set up the rest.

    it looks like everything you want is in "sensors it8721-isa-0a10"

    for example to get the output for "fan1" the Conky code will follow the following form for grep.

    Code:
    ${font}FAN1: ${alignr}${exec sensors it8721-isa-0a10 | grep 'fan1' | cut -c13-16}RPM${font}
    So lets look at what this line is doing. First, "${font}" is setting the following text as your default font. You can change this by changing it to "${font name_of_font : size= any_number_here}. Next "FAN1: " is simply printing text to the Conky; you can call this what ever you want and change it to "Spinning Whirl-A-Mo-Bob:" if you wish . "${alignr}" is aligning the remaning text to the right side of the conky window.

    "exec sensors it8721-isa-0a10" is telling conky to run "sensors it8721-isa-0a10" in terminal. "grep 'fan1'" is telling conky to search for the resulting line containing "fan1". And "cut -c13-16" is telling conky to display the 13th to 16th characters in the line containing fan1. Again you may have to adjust this, I'm just guessing at the cut points.

    "RPM" is again simply printing text to conky (anything not wrapped between ${ } will be printed directly to conky). And "${font}" is setting the following text as your default font (in case you changed the font in the first ${font} command).


    I do hope the Conky Gurus will forgive my simplification and misclassification of how Conky actually interacts with Linux.
    Last edited by Petro Dawg; December 29th, 2012 at 05:42 AM.

  8. #21348
    Join Date
    Aug 2011
    Beans
    32

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Petro Dawg View Post
    well I will set up ONE, you can set up the rest.

    it looks like everything you want is in "sensors it8721-isa-0a10"

    for example to get the output for "fan1" the Conky code will follow the following form for grep.

    Code:
    ${font}FAN1: ${alignr}${exec sensors it8721-isa-0a10 | grep 'fan1' | cut -c13-16}RPM${font}
    So lets look at what this line is doing. First, "${font}" is setting the following text as your default font. You can change this by changing it to "${font name_of_font : size= any_number_here}. Next "FAN1: " is simply printing text to the Conky; you can call this what ever you want and change it to "Spinning Whirl-A-Mo-Bob:" if you wish . "${alignr}" is aligning the remaning text to the right side of the conky window.

    "exec sensors it8721-isa-0a10" is telling conky to run "sensors it8721-isa-0a10" in terminal. "grep 'fan1'" is telling conky to search for the resulting line containing "fan1". And "cut -c13-16" is telling conky to display the 13th to 16th characters in the line containing fan1. Again you may have to adjust this, I'm just guessing at the cut points.

    "RPM" is again simply printing text to conky (anything not wrapped between ${ } will be printed directly to conky). And "${font}" is setting the following text as your default font (in case you changed the font in the first font command).


    I do hope the Conky Gurus will forgive my simplification and misclassification of how Conky actually interacts with Linux.
    Magic!

    Thanks so much for the help, all temps etc are perfect!

    Thanks again, much appreciated.

  9. #21349
    Join Date
    Jul 2012
    Location
    Oklahoma, USA
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by DobsonM View Post
    Ok, awesome.

    These are the ones I would like to display:

    Code:
    fan1:        1061 RPM  (min =   20 RPM)
    fan2:           0 RPM  (min =   96 RPM)  ALARM
    temp1:        +42.0C  (low  = +127.0C, high = +80.0C)  sensor = thermistor
    temp2:        +59.0C  (low  =  -1.0C, high = +127.0C)  sensor = thermistor
    temp3:        +28.0C  (low  =  -1.0C, high = +127.0C)  sensor = thermal diode
    If thats ok with you to set up?

    Just as a side note, do you actually have a fan2 or is it dead? It appears to be at 0 RPM.

  10. #21350
    Join Date
    Jul 2012
    Location
    Oklahoma, USA
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by DobsonM View Post
    Magic!

    Thanks so much for the help, all temps etc are perfect!

    Thanks again, much appreciated.
    Cool; post a screen shot when you are done.

Page 2135 of 2299 FirstFirst ... 1135163520352085212521332134213521362137214521852235 ... LastLast

Tags for this Thread

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
  •