Page 2094 of 2298 FirstFirst ... 1094159419942044208420922093209420952096210421442194 ... LastLast
Results 20,931 to 20,940 of 22971

Thread: Post your .conkyrc files w/ screenshots

  1. #20931
    Join Date
    Jan 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Sector11 View Post
    OH YEA!!!!!!!!!! You just answered a question I was going to have to worry about in 6 months .... what to do when the database has more than a years worth of info. That's for you and 'Kudos' too!

    Code:
     26 Oct 12 | 17:50:08 ~
             $ vnstat -m |mawk -v last=12 '/[A-Z][a-z][a-z].+12/ {test[++i]=$0} END{i=0; while (test[++i]); --i; for (j=i-last; j<=i; j++) {$0=test[j]; print $1, $2 ":  "$3 $4"  "$6 $7"  "$9 $10}}'
     :      
     :      
     :      
     :      
     :      
     :      
     :      
    May 12:  107.65MB  5.99MB  113.64MB
    Jun 12:  13.95GB  863.18MB  14.79GB
    Jul 12:  16.41GB  876.48MB  17.26GB
    Aug 12:  24.46GB  1.21GB  25.67GB
    Sep 12:  27.95GB  1.69GB  29.64GB
    Oct 12:  39.82GB  1.58GB  41.39GB
    
     26 Oct 12 | 17:50:33 ~
             $
    I'll get it into conky with 5 months and at the first every month add a month until I get to 11. It starts at 0
    It'll do?
    Code:
    ${execpi 300 vnstat -m |mawk -v last=12 '/[A-Z][a-z][a-z].+12/ {test[++i]=$0} END{i=0; while (test[++i]); if (last>i) last=i-1; else if (last<1) last=1; for (j=i-last; j<i; j++) {$0=test[j]; c1="${color green}"; if ($9>100) c1="${color red}"; print "${color6}"$1, $2 ":${color}${goto 75}" $3, $4 "${goto 175}" $6, $7 "${goto 275}" c1 $9 "${color}", $10}}'}
    this shows last 12 months, but only those with actual data. You can change number of months with "-v last=12" and still, it will show as much as vnstat gives:
    Code:
    :~$ vnstat -m -i wlan0 |mawk -v last=12 '/[A-Z][a-z][a-z].+12/ {test[++i]=$0} END{i=0; while (test[++i]); if (last>i) last=i-1; else if (last<1) last=1; for (j=i-last; j<i; j++) {$0=test[j]; print $1, $2":\t" $3$4, "\t" $6$7, "\t" $9$10}}'
    May '12:	62.58GiB 	8.92GiB 	71.49GiB
    Jun '12:	120.64GiB 	8.83GiB 	129.47GiB
    Jul '12:	78.36GiB 	10.38GiB 	88.74GiB
    Aug '12:	80.44GiB 	6.36GiB 	86.80GiB
    Sep '12:	258.00GiB 	17.10GiB 	275.10GiB
    Oct '12:	147.50GiB 	10.70GiB 	158.20GiB
    :~$
    Linux Debian Sid (Minted) x86_64/3.12.10, Conky 2.0_pre, Xorg 7.7/1.15.0, KDE 4.11.5, Lenovo T61, Intel X3100, HITACHI HTS722010K9SA00 100GB, WDC_WD5000BEVT 500GB
    Linux user No.: 483055 | My Conky Pitstop corner | One4All project

  2. #20932
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by dk75 View Post
    It'll do?
    Code:
    ${execpi 300 vnstat -m |mawk -v last=12 '/[A-Z][a-z][a-z].+12/ {test[++i]=$0} END{i=0; while (test[++i]); if (last>i) last=i-1; else if (last<1) last=1; for (j=i-last; j<i; j++) {$0=test[j]; c1="${color green}"; if ($9>100) c1="${color red}"; print "${color6}"$1, $2 ":${color}${goto 75}" $3, $4 "${goto 175}" $6, $7 "${goto 275}" c1 $9 "${color}", $10}}'}
    this shows last 12 months, but only those with actual data. You can change number of months with "-v last=12" and still, it will show as much as vnstat gives:
    Code:
    :~$ vnstat -m -i wlan0 |mawk -v last=12 '/[A-Z][a-z][a-z].+12/ {test[++i]=$0} END{i=0; while (test[++i]); if (last>i) last=i-1; else if (last<1) last=1; for (j=i-last; j<i; j++) {$0=test[j]; print $1, $2":\t" $3$4, "\t" $6$7, "\t" $9$10}}'
    May '12:	62.58GiB 	8.92GiB 	71.49GiB
    Jun '12:	120.64GiB 	8.83GiB 	129.47GiB
    Jul '12:	78.36GiB 	10.38GiB 	88.74GiB
    Aug '12:	80.44GiB 	6.36GiB 	86.80GiB
    Sep '12:	258.00GiB 	17.10GiB 	275.10GiB
    Oct '12:	147.50GiB 	10.70GiB 	158.20GiB
    :~$
    OH YEA! That's really nice.
    Thank you again!

    EDIT: Forgot the image: with a little adjustment in the line to fit the new look - kept the colours this time



    The ending of the the vnstat.conky with edits to match the layout.

    Only the ${goto}'s have been changed to protect the innocent!

    Code:
    ${color0}Monthly Transfer Totals${color} ${hr}
    ${color6}${goto 85}rx${goto 170}tx${goto 265}Total${color}
    ${execpi 300 vnstat -m |mawk -v last=12 '/[A-Z][a-z][a-z].+12/ {test[++i]=$0} END{i=0; while (test[++i]); if (last>i) last=i-1; else if (last<1) last=1; for (j=i-last; j<i; j++) {$0=test[j]; c1="${color3}"; if ($9>100) c1="${color9}"; print "${color6}"$1, $2 ":${color}${goto 85}" $3, $4 "${goto 170}" $6, $7 "${goto 265}" c1 $9 "${color}", $10}}'}
    ${color0}${hr}${color}
    Last edited by Sector11; October 27th, 2012 at 02:52 PM.

  3. #20933
    Join Date
    Jul 2012
    Beans
    228

    Re: Post your .conkyrc files w/ screenshots

    Too many replies.

    Isn't it time to break this thread monthly basis?

  4. #20934
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Chdslv View Post
    Too many replies.

    Isn't it time to break this thread monthly basis?
    No, that's a horrible idea. Some of us have been here for years. This just works.

    Can you imagine starting a series of posts to get help and in the middle of someone helping .... oops ... new thread!

  5. #20935
    Join Date
    Aug 2010
    Location
    Detachment 7
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Hello all, quick question over-all I think. I believe I got this conky from Sector11. It is called gnu_win_weather! Works great, love it! However, being a simple-minded American who doesn't comprehend the metric system, I would like for it to display in Fahrenheit. I haven't been able to find anywhere, a place to change it to 'IM' for US measurements. ie km/h to mph, C to F and so on. Advice appreciated.

    Thanks,
    Jed
    | [I]Running 'VSIDO' | My blog |

  6. #20936
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Jedcurtis View Post
    Hello all, quick question over-all I think. I believe I got this conky from Sector11. It is called gnu_win_weather! Works great, love it! However, being a simple-minded American who doesn't comprehend the metric system, I would like for it to display in Fahrenheit. I haven't been able to find anywhere, a place to change it to 'IM' for US measurements. ie km/h to mph, C to F and so on. Advice appreciated.

    Thanks,
    Jed
    Yes, that's mine and it's conkyForecast in action!

    Add --imperial to the line that calls it:
    Code:
    ${execpi 1800 conkyForecast --location=AYXX0005 --imperial --template=$HOME/Conky/GNU/gnu-all-txt.template}
    Metric:
    Code:
    ${execpi 1800 conkyForecast --location=AYXX0005 --template=$HOME/Conky/GNU/gnu-all-txt.template}


    EDIT! Had the code backwards! Hey, I just got up!
    Last edited by Sector11; October 27th, 2012 at 02:54 PM.

  7. #20937
    Join Date
    Oct 2012
    Beans
    18

    Question Re: Post your .conkyrc files w/ screenshots

    Hey folks. I just made a new conky. This time I just started from scratch and tweaked it out as much as i could with the very little I know so far. But anyway I'm having trouble with the fact that whenever conky is running and i click on my desktop conky disappears. If somebody could please look at this script and tell me what might be messed up about it.

    Code:
    # Conky, a system monitor, based on torsmo
    #
    
    
    alignment top_right
    background transparent
    background no
    border_width 0
    cpu_avg_samples 2
    default_color red
    default_outline_color white
    default_shade_color white
    draw_borders no
    draw_graph_borders no
    draw_outline no
    draw_shades no
    use_xft yes
    xftfont Neuropol:size=12
    gap_x 0
    gap_y 0
    minimum_size 250 150
    maximum_width 250
    net_avg_samples 2
    double_buffer yes
    out_to_console no
    out_to_stderr no
    extra_newline no
    own_window yes
    own_window_class Conky
    own_window_type desktop
    own_window_transparent no
    stippled_borders 0
    update_interval 1.0
    uppercase no
    use_spacer none
    show_graph_scale no
    show_graph_range no
    
    TEXT
    #
    ####Title####
    ${font OpenLogos:size=48}${color grey}SH${color red}$hr${font 16}
    ${font Neuropol:size=18} $nodename
    ${font Neuropol:size=8} $kernel 
    $hr
    #
    ####Memory####
    ${color grey}${font OpenLogos:size=38}t${font Neuropol:size=8}Memory ${color red}$hr
    ${color grey}Frequency :$color $freq MHz
    ${color grey}RAM Usage:$color $mem/$memmax
    $memperc% ${alignr}${membar 4, 200}
    ${color grey}Swap Usage:$color $swap/$swapmax
    $swapperc% ${alignr}${swapbar 4, 200}
    #
    #
    ####CPU####
    ${color grey}${font Illustrate IT:size=12}r${font 16}${font Neuropol:size=8}Robit Use${color red}$hr
    ${color grey}CPU1 ${color red}${cpu cpu0}% ${alignr}${cpugraph cpu0 14, 175}
    ${color grey}CPU2 ${color red}${cpu cpu1}% ${alignr}${cpugraph cpu1 14, 175}
    ${color grey}CPU3 ${color red}${cpu cpu2}% ${alignr}${cpugraph cpu2 14, 175}
    ${color grey}CPU4 ${color red}${cpu cpu3}% ${alignr}${cpugraph cpu3 14, 175}
    ${color grey}Process ${alignc}PID ${alignr}CPU%
    ${font Neuropol:size=6}${color white} ${top name 1} ${alignc}${top pid 1} ${alignr}${top cpu 1}
    ${color white} ${top name 2} ${alignc}${top pid 2} ${alignr}${top cpu 2}
    ${color white} ${top name 3} ${alignc}${top pid 3} ${alignr}${top cpu 3}
    #
    #
    ####File Systems####
    ${color grey}${font Illustrate IT:size=16}a${font 16}${font Neuropol:size=8}Access Granted ${color red}$hr
    ${color grey} / $color${fs_used /}/${fs_size /} 
    ${fs_bar 6 /}
    ${color grey} HD0 $color${fs_used /media/AHD0}/${fs_size /media/AHD0} 
    ${fs_bar 6 /media/AHD0}
    ${color grey} HD1 $color${fs_used /media/AHD1}/${fs_size /media/AHD1} 
    ${fs_bar 6 /media/AHD1}
    ${color grey} Thumb $color${fs_used /media/2E48-9992}/${fs_size /media/2E48-9992} 
    ${fs_bar 6 /media/2E48-9992} 
    #
    #
    ####Internet#####
    ${color gray}${font LMS Poke'mon Master Dingbat:size=48}M${font 16}${font Neuropol:size=8}Welcome2theInternet ${color red}$hr
    ${color red}${font Neuropol:size=8} Up: ${upspeed wlan0}${alignr}${color white}${font Neuropol:size=8} Down: ${downspeed wlan0}
    ${color red}${upspeedgraph wlan0 30, 115}${alignr}${color white}${downspeedgraph wlan0 30,115}
    ${color red}Sauce! ${color white}${alignr}${addr wlan0}

  8. #20938
    Join Date
    Jan 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Sector11 View Post
    The ending of the the vnstat.conky with edits to match the layout.

    Only the ${goto}'s have been changed to protect the innocent!

    Code:
    ${color0}Monthly Transfer Totals${color} ${hr}
    ${color6}${goto 85}rx${goto 170}tx${goto 265}Total${color}
    ${execpi 300 vnstat -m |mawk -v last=12 '/[A-Z][a-z][a-z].+12/ {test[++i]=$0} END{i=0; while (test[++i]); if (last>i) last=i-1; else if (last<1) last=1; for (j=i-last; j<i; j++) {$0=test[j]; c1="${color3}"; if ($9>100) c1="${color9}"; print "${color6}"$1, $2 ":${color}${goto 85}" $3, $4 "${goto 170}" $6, $7 "${goto 265}" c1 $9 "${color}", $10}}'}
    ${color0}${hr}${color}
    One more thing - whatever it is 100MB or 100GB it is colored same, like when border is set to 100 then 101MB will be above border, but 1GB will be below border.
    So, this edit make for this:
    Code:
    ${color0}Monthly Transfer Totals${color} ${hr}
    ${color6}${goto 85}rx${goto 170}tx${goto 265}Total${color}
    ${execpi 300 vnstat -m |mawk -v last=12 -v month_max="50 GB" 'BEGIN{split(month_max, max); if (max[2]=="GB" || max[2]=="GiB") max[1]=max[1]*1024;} /[A-Z][a-z][a-z].+12/ {test[++i]=$0} END{i=0; while (test[++i]); if (last>i) last=i-1; else if (last<1) last=1; for (j=i-last; j<i; j++) {$0=test[j]; c1="${color3}"; total=$9; if ($10=="GB" || $10=="GiB"); total=$9*1024; if (total>=max[1]) c1="${color9}"; print "${color6}"$1, $2 ":${color}${goto 85}" $3, $4 "${goto 170}" $6, $7 "${goto 265}" c1 $9 "${color}", $10}}'}
    ${color0}${hr}${color}
    it is crucial, that -v month_max="50 GiB" have space in between value and unit (unit might be "MB"/"MiB" or "GB"/"GiB").
    Last edited by dk75; October 27th, 2012 at 03:32 PM.
    Linux Debian Sid (Minted) x86_64/3.12.10, Conky 2.0_pre, Xorg 7.7/1.15.0, KDE 4.11.5, Lenovo T61, Intel X3100, HITACHI HTS722010K9SA00 100GB, WDC_WD5000BEVT 500GB
    Linux user No.: 483055 | My Conky Pitstop corner | One4All project

  9. #20939
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by MoralAnarchy View Post
    Hey folks. I just made a new conky. This time I just started from scratch and tweaked it out as much as i could with the very little I know so far. But anyway I'm having trouble with the fact that whenever conky is running and i click on my desktop conky disappears. If somebody could please look at this script and tell me what might be messed up about it.
    Try changing this:
    Code:
    own_window_type desktop
    to
    Code:
    own_window_type normal

  10. #20940
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by dk75 View Post
    One more thing - whatever it is 100MB or 100GB it is colored same, like when border is set to 100 then 101MB will be above border, but 1GB will be below border.
    So, this edit make for this:
    Code:
    ${color0}Monthly Transfer Totals${color} ${hr}
    ${color6}${goto 85}rx${goto 170}tx${goto 265}Total${color}
    ${execpi 300 vnstat -m |mawk -v last=12 -v month_max="50 GB" 'BEGIN{split(month_max, max); if (max[2]=="GB" || max[2]=="GiB") max[1]=max[1]*1024;} /[A-Z][a-z][a-z].+12/ {test[++i]=$0} END{i=0; while (test[++i]); if (last>i) last=i-1; else if (last<1) last=1; for (j=i-last; j<i; j++) {$0=test[j]; c1="${color3}"; total=$9; if ($10=="GB" || $10=="GiB"); total=$9*1024; if (total>=max[1]) c1="${color9}"; print "${color6}"$1, $2 ":${color}${goto 85}" $3, $4 "${goto 170}" $6, $7 "${goto 265}" c1 $9 "${color}", $10}}'}
    ${color0}${hr}${color}
    it is crucial, that -v month_max="50 GiB" have space in between value and unit (unit might be "MB"/"MiB" or "GB"/"GiB").
    I copied you code in below the other one and changed
    Code:
    month_max="50 GB"
    to
    Code:
    month_max="30 GB"
    to see a difference, also changed ${color9} (red) to ${color3} (orange), the red was too hard on my eyes:

    Code:
    ${color0}Monthly Transfer Totals${color} ${hr}
    ${color6}${goto 85}rx${goto 170}tx${goto 265}Total${color}
    ${execpi 300 vnstat -m |mawk -v last=12 '/[A-Z][a-z][a-z].+12/ {test[++i]=$0} END{i=0; while (test[++i]); if (last>i) last=i-1; else if (last<1) last=1; for (j=i-last; j<i; j++) {$0=test[j]; c1="${color3}"; if ($9>100) c1="${color2}"; print "${color6}"$1, $2 ":${color}${goto 85}" $3, $4 "${goto 170}" $6, $7 "${goto 265}" c1 $9 "${color}", $10}}'}
    ${color0}${hr}${color}
    ${color0}Monthly Transfer Totals${color} ${hr}
    ${color6}${goto 85}rx${goto 170}tx${goto 265}Total${color}
    ${execpi 300 vnstat -m |mawk -v last=12 -v month_max="30 GB" 'BEGIN{split(month_max, max); if (max[2]=="GB" || max[2]=="GiB") max[1]=max[1]*1024;} /[A-Z][a-z][a-z].+12/ {test[++i]=$0} END{i=0; while (test[++i]); if (last>i) last=i-1; else if (last<1) last=1; for (j=i-last; j<i; j++) {$0=test[j]; c1="${color3}"; total=$9; if ($10=="GB" || $10=="GiB"); total=$9*1024; if (total>=max[1]) c1="${color2}"; print "${color6}"$1, $2 ":${color}${goto 85}" $3, $4 "${goto 170}" $6, $7 "${goto 265}" c1 $9 "${color}", $10}}'}
    ${color0}${hr}${color}
    What did I miss?
    Attached Images Attached Images
    Last edited by Sector11; October 27th, 2012 at 04:01 PM.

Page 2094 of 2298 FirstFirst ... 1094159419942044208420922093209420952096210421442194 ... 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
  •