Page 1061 of 2348 FirstFirst ... 61561961101110511059106010611062106310711111116115612061 ... LastLast
Results 10,601 to 10,610 of 23480

Thread: Post your .conkyrc files w/ screenshots

  1. #10601
    Join Date
    Jul 2008
    Location
    Connecticut, U.S.
    Beans
    106
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by PatrickMoore View Post
    battery is on there... however is there another variable i need enter if i have a 12 cell battery? reason being is that my battery reading is still showing full even though it is indeed discharging... currently at 82.7 my time till dead line isn't working either
    Post the output of acpi please.

    You may need a switch like ${battery BAT1}
    Registered Ubuntu User #29430

  2. #10602
    Join Date
    Feb 2008
    Location
    I'm lost ... HELP!
    Beans
    1,014
    Distro
    Xubuntu

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by PatrickMoore View Post
    is there a script i can use or a variable that will tell me how much charge time i have on my battery?
    Just supplementing dmillerct's answers

    For info you can't get with the conky commands you can also cat /proc/acpi/battery/BAT0/state (and while you're at it, try cat /proc/acpi/battery/BAT0/info too).
    Code:
    user@machine:~$ cat /proc/acpi/battery/BAT0/state 
    present:                 yes
    capacity state:          ok
    charging state:          charged
    present rate:            0 mA
    remaining capacity:      4417 mAh
    present voltage:         12365 mV
    For example (again your battery might not be BATT0):
    Code:
     ${execi 60 cat /proc/acpi/battery/BAT0/state | grep capacity: | awk '{print $3 $4}'}
    gives 4417 mAh (for me ofc )

    my .conkyrc.batt :
    Code:
    #minimum_size 1366 768
    #maximum_width 1366
    gap_x 0
    gap_y 2
    alignment tr
    update_interval 15.0
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders no
    uppercase no
    own_window yes
    own_window_type override
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    own_window_colour black
    double_buffer yes
    use_xft yes
    xftfont Radio Space Bold:size=10
    default_color 333333
    
    TEXT
    ${if_match "$battery" != "not present"}${battery_percent}% ${if_match "${execi 60 cat /proc/acpi/battery/BAT0/state | grep charged | awk '{print $3}'}" != "charged"} ${execi 60 cat /proc/acpi/battery/BAT0/state | grep capacity: | awk '{print $3 $4}'}  ${execi 60 cat /proc/acpi/battery/BAT0/state | grep rate: | awk '{print $3 $4}'}  ${battery_time}${else}Battery Charged${endif}${else}No Battery Present${endif}

  3. #10603
    Join Date
    Jul 2008
    Location
    Connecticut, U.S.
    Beans
    106
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by miegiel View Post
    Just supplementing dmillerct's answers

    For info you can't get with the conky commands you can also cat /proc/acpi/battery/BAT0/state (and while you're at it, try cat /proc/acpi/battery/BAT0/info too).
    Code:
    user@machine:~$ cat /proc/acpi/battery/BAT0/state 
    present:                 yes
    capacity state:          ok
    charging state:          charged
    present rate:            0 mA
    remaining capacity:      4417 mAh
    present voltage:         12365 mV
    For example (again your battery might not be BATT0):
    Code:
     ${execi 60 cat /proc/acpi/battery/BAT0/state | grep capacity: | awk '{print $3 $4}'}
    gives 4417 mAh (for me ofc )

    my .conkyrc.batt :
    Code:
    #minimum_size 1366 768
    #maximum_width 1366
    gap_x 0
    gap_y 2
    alignment tr
    update_interval 15.0
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders no
    uppercase no
    own_window yes
    own_window_type override
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    own_window_colour black
    double_buffer yes
    use_xft yes
    xftfont Radio Space Bold:size=10
    default_color 333333
    
    TEXT
    ${if_match "$battery" != "not present"}${battery_percent}% ${if_match "${execi 60 cat /proc/acpi/battery/BAT0/state | grep charged | awk '{print $3}'}" != "charged"} ${execi 60 cat /proc/acpi/battery/BAT0/state | grep capacity: | awk '{print $3 $4}'}  ${execi 60 cat /proc/acpi/battery/BAT0/state | grep rate: | awk '{print $3 $4}'}  ${battery_time}${else}Battery Charged${endif}${else}No Battery Present${endif}
    Thanks man. For the life of me I couldn't remember the directory for the battery state.
    Registered Ubuntu User #29430

  4. #10604
    Join Date
    Feb 2008
    Location
    I'm lost ... HELP!
    Beans
    1,014
    Distro
    Xubuntu

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by dmillerct View Post
    Thanks man. For the life of me I couldn't remember the directory for the battery state.
    You're welcome always happy to share.

  5. #10605
    Join Date
    May 2007
    Beans
    980
    Distro
    Ubuntu 18.04 Bionic Beaver

    Crane Luna


  6. #10606
    Join Date
    Mar 2008
    Location
    Normal, IL
    Beans
    505
    Distro
    Ubuntu

    Re: Post your .conkyrc files w/ screenshots

    you guys rock

    my acpi is as follows
    Battery 0: Charging, 13%, charging at zero rate - will never fully charge.
    -ASUS U46: Intel Core I5(Sandy Bridge) 8 gb Ram, Integrated Graphics card. Currently running Ubuntu 13.04(64bit)

  7. #10607
    Join Date
    Dec 2008
    Location
    The Desert
    Beans
    281
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Crane Luna

    Quote Originally Posted by Diabolis View Post
    nicely done
    I'm a super power user

  8. #10608
    Join Date
    Nov 2007
    Location
    USA-ish
    Beans
    206
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Post your .conkyrc files w/ screenshots

    OK, someone help me out here. I'm looking at Crinos's ring script, and I'm running 1.7.2 on the laptop, but I can't work out how to tie the ring script into the conky. Do you just use it as the config file using the -c switch?
    Desktop: Quantal on Core2 Duo E8500/Asus P5Q
    Laptop: Precise on S76 Pangolin

  9. #10609
    Join Date
    Jul 2008
    Location
    Connecticut, U.S.
    Beans
    106
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Cammy View Post
    OK, someone help me out here. I'm looking at Crinos's ring script, and I'm running 1.7.2 on the laptop, but I can't work out how to tie the ring script into the conky. Do you just use it as the config file using the -c switch?
    Add the following above TEXT in your config:

    Code:
    lua_load ~/Conky/Scripts/rings.lua
    Change path / filename blah blah blah
    Registered Ubuntu User #29430

  10. #10610
    Join Date
    Nov 2007
    Location
    USA-ish
    Beans
    206
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by dmillerct View Post
    Add the following above TEXT in your config:

    Code:
    lua_load ~/Conky/Scripts/rings.lua
    Change path / filename blah blah blah
    Thanks, that worked. Well sort of. The conky runs, but no rings. I get the following error:

    Code:
    Conky: llua_do_call: function conky_ring_stats execution failed: attempt to call a nil value
    Seems like I'm missing a step.
    Desktop: Quantal on Core2 Duo E8500/Asus P5Q
    Laptop: Precise on S76 Pangolin

Page 1061 of 2348 FirstFirst ... 61561961101110511059106010611062106310711111116115612061 ... 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
  •