Page 1082 of 2348 FirstFirst ... 82582982103210721080108110821083108410921132118215822082 ... LastLast
Results 10,811 to 10,820 of 23480

Thread: Post your .conkyrc files w/ screenshots

  1. #10811
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    OK, what am I missing here?

    EDIT: making it executable really helps.

    However, I'm still concerned with the missing 29th, 30th and 31st days on short months, it is really going to mess up my spacing.

    Anyway to get those back?

    Have a nice day.
    Bruce
    Last edited by Bruce M.; December 10th, 2009 at 06:52 PM.

  2. #10812
    Join Date
    Nov 2009
    Beans
    6
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Post your .conkyrc files w/ screenshots

    my conky

    Code:
    use_xft yes
    xftfont verdana:size=8
    alignment top_right
    gap_x 10
    gap_y 2
    xftalpha 0.8
    own_window yes
    own_window_type override
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    double_buffer yes
    draw_shades no
    draw_outline no
    draw_borders no
    stippled_borders 0
    border_margin 0
    border_width 1
    default_shade_color grey
    default_outline_color black
    default_color 000000
    use_spacer none
    no_buffers yes
    uppercase no
    minimum_size 220 5
    maximum_width 220
    
    
    
    TEXT
    
    ${color B80000}${font Radio Space:size=20}
    ${color 0077ff}Calendar ${hr 1}${color}
    ${font DejaVu Sans Mono :size=10}
    ${execpi 60 DJS=`date +%_d`; cal | sed '1d' | sed '/./!d' | sed 's/$/ /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/ /' | sed /" $DJS "/s/" $DJS "/" "'${color #ffffff}'"$DJS"'${color}'" "/}
    ${color B80000}${font Radio Space:size=20}
    ${color 0077ff}MuziK ${hr 1}${color}
    ${font}
    ${voffset 5}${color4} Title:  ${color1}${exec conkyRhythmbox --datatype=TI} 
    ${color4} Position:  ${color1}${exec conkyRhythmbox --datatype=PT}/${exec conkyRhythmbox --datatype=LE}
    ${color B80000}${font Radio Space:size=20}
    ${color 0077ff}Network ${hr 1}${color}
    ${color4}${font PizzaDude Bullets:size=16}v${font}   Up: ${upspeed eth0} Kb/s 
    ${font PizzaDude Bullets:size=16}r${font}   Down: ${downspeed eth0} Kb/s 
    ${font PizzaDude Bullets:size=16}M${font}   Upload: ${totalup eth0}
    ${font PizzaDude Bullets:size=16}S${font}   Download: ${totaldown eth0}
    ${color B80000}${font Radio Space:size=20}
    ${color 0077ff}CPU c2d ${hr 1}${color}
    ${color ffffff}${font StyleBats:size=16}A${font}  CPU0: ${cpu cpu0}% ${cpubar cpu0}
    ${font StyleBats:size=16}A${font}  CPU1: ${cpu cpu1}% ${cpubar cpu1}
    ${color B80000}${font Radio Space:size=20}
    ${color 0077ff}Battery ${hr 1}${color}
    ${color F8DF58}${font StyleBats:size=16}8${font} ${battery_percent}% ${battery_bar}
    ${color B80000}${font Radio Space:size=20}
    ${color 0077ff}UpTime${hr 1}${color}
    ${color4}${font StyleBats:size=18}P${font}  Work:  ${uptime_short}
    Attached Images Attached Images

  3. #10813
    Join Date
    Aug 2008
    Beans
    85

    Re: Post your .conkyrc files w/ screenshots

    grumble, every time i try to change my .conkyrc, i end up with odd errors that i cant figure out how they got there. can anyone help? here's the.conkyrc
    Code:
    use_xft yes
    xftfont Liberation Sans:size=8
    override_utf8_locale yes
    
    text_buffer_size 2048
    update_interval 1
    total_run_times 0
    double_buffer yes
    no_buffers yes
    net_avg_samples 1
    cpu_avg_samples 1
    
    own_window_class Conky
    own_window yes
    own_window_type override
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    
    default_color cccccc
    draw_shades no
    
    color0 white
    color1 E07A1F
    color2 white
    
    alignment top_right
    gap_x 25
    gap_y 40
    minimum_size 250 0
    maximum_width 250
    
    imlib_cache_size 0
    
    TEXT
    ${font Liberation Sans:style=Bold:size=8}SYSTEM $stippled_hr${font}
    ${color0}${voffset 6}${font OpenLogos:size=19}u${font}${color}${goto 32}${voffset -14}Kernel:  ${alignr}${color2}${kernel}${color}
    ${goto 32}Uptime: ${alignr}${color2}${uptime}${color}
    ${goto 32}Updates: ${alignr}${font Liberation Sans:style=Bold:size=8}${color1}${execi 360 aptitude search "~U" | wc -l | tail}${color}${font} ${color2}Packages${color}
    ${offset 1}${color0}${font Poky:size=16}P${font}${offset -19}${voffset 9}${cpubar cpu0 4,18}${color}${voffset -16}${goto 32}CPU1: ${font Liberation Sans:style=Bold:size=8}${color1}${cpu cpu1}%${color}${font} ${alignr}${color2}${cpugraph cpu1 8,60 CE5C00 E07A1F}${color}
    ${goto 32}CPU2: ${font Liberation Sans:style=Bold:size=8}${color1}${cpu cpu2}%${color}${font} ${alignr}${color2}${cpugraph cpu2 8,60 CE5C00 E07A1F}${color}
    ${color0}${font Poky:size=16}M${font}${color}${goto 32}${voffset -7}RAM: ${font Liberation Sans:style=Bold:size=8}${color1}$memperc%${color}${font}
    ${offset 1}${voffset 2}${color2}${membar 4,18}${color}${goto 32}${voffset -2}F: ${color2}${memeasyfree}${color} U: ${color2}${mem}${color}
    ${voffset 2}${color0}${font Poky:size=14}s${font}${color}${voffset -8}${goto 32}SWAP: ${font Liberation Sans:style=Bold:size=8}${color1}${swapperc}%${color}${font}
    ${voffset 4}${offset 1}${color2}${swapbar 4,18}${color}${voffset -4}${goto 32}F: ${color2}$swapmax${color} U: ${color2}$swap${color}
    ${voffset 2}${color0}${font Poky:size=15}a${font}${color}${goto 32}${voffset -10}Processes: ${color2}${alignr 13}CPU${alignr}RAM${color}
    ${voffset -1}${goto 42}${color2}${top name 1}${color}${font Liberation Sans:style=Bold:size=8}${color1} ${goto 124}${top cpu 1}${alignr }${top mem 1}${color}${font}
    ${voffset -1}${goto 42}${color2}${top name 2}${color}${font Liberation Sans:style=Bold:size=8}${color1} ${goto 124}${top cpu 2}${alignr }${top mem 2}${color}${font}
    ${voffset -1}${goto 42}${color2}${top name 3}${color}${font Liberation Sans:style=Bold:size=8}${color1} ${goto 124}${top cpu 3}${alignr }${top mem 3}${color}${font}
    ${voffset -1}${goto 42}${color2}${top name 4}${color}${font Liberation Sans:style=Bold:size=8}${color1} ${goto 124}${top cpu 4}${alignr }${top mem 4}${color}${font}
    ${voffset -1}${goto 42}${color2}${top name 5}${color}${font Liberation Sans:style=Bold:size=8}${color1} ${goto 124}${top cpu 5}${alignr }${top mem 5}${color}${font}
    ${voffset 4}${font Liberation Sans:style=Bold:size=8}DATE $stippled_hr${font}
    ${voffset -12}${goto 28}${font Arial Black:size=38}${color2}${time %H}${color}${font}${voffset -28}${font Liberation Sans:style=Bold:size=11}${color2}${time :%M}${time :%S}${color}${font}
    ${voffset -3}${goto 100}${font Liberation Sans:style=Bold:size=8}${color2}${time %A}${color}${font}
    ${voffset -1}${goto 100}${time %d %B %Y}
    ${voffset 2}${color0}${font Poky:size=15}d${font}${color}${voffset -6}${font Liberation Mono:size=8}${execpi 10800 DJS=`date +%_d`; cal | sed 's/^/${alignc} /' | sed s/" $DJS "/" "'${font Liberation Mono:style=bold:size=8}${color1}'"$DJS"'${color}${font}${font Liberation Mono:size=8}'" "/}${font}${font}${voffset -14}
    ${voffset 4}${font Liberation Sans:style=Bold:size=8}NETWORK $stippled_hr${font}
    ${if_existing /proc/net/route wlan0}
    ${voffset -13}${color0}${font VariShapes Solid:size=14}q${font}${color}${goto 32}${voffset -6}Up: ${font Liberation Sans:style=Bold:size=8}${color1}${upspeed wlan0}${color}${font} ${alignr}${color2}${upspeedgraph wlan0 8,60 CE5C00 E07A1F}${color}
    ${goto 32}Total: ${color2}${totalup wlan0}${color}
    ${voffset -2}${color0}${font VariShapes Solid:size=14}Q${font}${color}${goto 32}${voffset -6}Down: ${font Liberation Sans:style=Bold:size=8}${color1}${downspeed wlan0}${color}${font} ${alignr}${color2}${downspeedgraph wlan0 8,60 CE5C00 E07A1F}${color}
    ${goto 32}Total: ${color2}${totaldown wlan0}${color}
    ${voffset -2}${color0}${font Poky:size=14}Y${font}${color}${goto 32} ${voffset -2}Signal: ${font Liberation Sans:style=Bold:size=8}${color1}${wireless_link_qual wlan0}%${color}${font} ${alignr}${color2}${wireless_link_bar 8,60 wlan0}${color}
    ${voffset 4}${color0}${font Poky:size=13}w${font}${color}${goto 32}${voffset -8}Local IP: ${alignr}${color2}${addr wlan0}${color}
    ${goto 32}Public IP: ${alignr}${color2}${execi 10800 ~/.conkycolors/bin/conkyIp}${color}
    ${else}${if_existing /proc/net/route eth0}
    ${voffset -13}${color0}${font VariShapes Solid:size=14}q${font}${color}${goto 32}${voffset -6}Up: ${font Liberation Sans:style=Bold:size=8}${color1}${upspeed eth0}${color}${font} ${alignr}${color2}${upspeedgraph eth0 8,60 CE5C00 E07A1F}${color}
    ${goto 32}Total: ${color2}${totalup eth0}${color}
    ${voffset -2}${color0}${font VariShapes Solid:size=14}Q${font}${color}${goto 32}${voffset -6}Down: ${font Liberation Sans:style=Bold:size=8}${color1}${downspeed eth0}${color}${font} ${alignr}${color2}${downspeedgraph eth0 8,60 CE5C00 E07A1F}${color}
    ${goto 32}Total: ${color2}${totaldown eth0}${color}
    ${voffset -2}${color0}${font Poky:size=13}w${font}${color}${goto 32}${voffset -4}Local IP: ${alignr}${color2}${addr eth0}${color}
    ${goto 32}Public IP: ${alignr}${color2}${execi 10800 ~/.conkycolors/bin/conkyIp}${color}
    ${endif}${else}${if_existing /proc/net/route ppp0}
    ${voffset -13}${color0}${font VariShapes Solid:size=14}q${font}${color}${goto 32}${voffset -6}Up: ${font Liberation Sans:style=Bold:size=8}${color1}${upspeed ppp0}${color}${font} ${alignr}${color2}${upspeedgraph ppp0 8,60 CE5C00 E07A1F}${color}
    ${goto 32}Total: ${color2}${totalup ppp0}${color}
    ${voffset -2}${color0}${font VariShapes Solid:size=14}Q${font}${color}${goto 32}${voffset -6}Down: ${font Liberation Sans:style=Bold:size=8}${color1}${downspeed ppp0}${color}${font} ${alignr}${color2}${downspeedgraph ppp0 8,60 CE5C00 E07A1F}${color}
    ${goto 32}Total: ${color2}${totaldown ppp0}${color}
    ${voffset -2}${color0}${font Poky:size=13}w${font}${color}${goto 32}${voffset -4}Local IP: ${alignr}${color2}${addr ppp0}${color}
    ${endif}${else}${voffset 4}${color0}${font PizzaDude Bullets:size=12}4${font}${color}${goto 32}Network Unavailable${endif}${endif}
    ${voffset -8}${font Liberation Sans:style=Bold:size=8}WEATHER $stippled_hr${font}
    ${if_existing /proc/net/route wlan0}
    ${execpi 10800 ~/.conkyForecast.config --location=USKS0319 -i -t ~/conky_colors/conkyForecast.template}
    ${else}${if_existing /proc/net/route eth0}
    ${execpi 10800 ~/.conkyForecast.config --location=USKS0319 -i -t ~/.conky_colors/conkyForecast.template}
    ${endif}${else}${if_existing /proc/net/route ppp0}
    ${execpi 10800 ~/.conkyForecast.config --location=USKS0319 -i -t ~/.conky_colors/conkyForecast.template}
    ${endif}${else}${voffset 4}${color0}${font PizzaDude Bullets:size=12}4${font}${color}${goto 32}Weather Unavailable${endif}${endif}

    hers how it shows up (NOTE: i know the weather isnt working, also working on that, more worried about the strange letters/graphs)

    http://img706.imageshack.us/img706/9744/conky.png

  4. #10814
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by proxess View Post
    Just a guess seeing that I'm not a bash guru at all but:
    Code:
    while [ $i -lt 31 ] ; do
       NEXTMONTH="$NEXTMONTH 0$j"
       i=$[$i+1]
       j=$[$j+1]
    done
    If it's while i is less than 31, that means 31 doesn't count. So I guess it'll have to be less than 32.
    That didn't work, it added a 32nd day, my guess is that lt means "less than or equal to" but what the heck do I know. I'm the one asking for help.

  5. #10815
    Join Date
    May 2008
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Bruce M. View Post
    That didn't work, it added a 32nd day, my guess is that lt means "less than or equal to" but what the heck do I know. I'm the one asking for help.
    Power almost went out yesterday. about halfway out. all the lights were dim and the fridge and freezer sounded funny until I unplugged them. Now that i have full power back, try this:
    Code:
    #!/bin/bash
    #horizontal calendar for conky by ans
    # English week day names
    Sun="Su"; Mon="Mo"; Thu="Tu"; Wed="We"; Thr="Th"; Fri="Fr"; Sat="Sa"
    # locale depend week day names
    case $LANG in
    	es* ) Sun="Do"; Mon="Lu"; Thu="Ma"; Wed="Mi"; Thr="Ju"; Fri="Vi"; Sat="Sa" ;; # spanish
    	pl* ) Sun="Nd"; Mon="Po"; Thu="Wt"; Wed="Śr"; Thr="Cz"; Fri="Pt"; Sat="So" ;; # polish
    	pt* ) Sun="Do"; Mon="Sq"; Thu="Te"; Wed="Qa"; Thr="Qi"; Fri="Se"; Sat="Sa" ;; # portuguese
    	fr* ) Sun="Di"; Mon="Lu"; Thu="Ma"; Wed="Me"; Thr="Je"; Fri="Ve"; Sat="Sa" ;; # french
    	de* ) Sun="So"; Mon="Mo"; Thu="Di"; Wed="Mi"; Thr="Do"; Fri="Fr"; Sat="Sa" ;; # deutche
    	it* ) Sun="Do"; Mon="Lu"; Thu="Ma"; Wed="Me"; Thr="Gi"; Fri="Ve"; Sat="Sa" ;; # italian
    esac
    
    COLOROLD="445566" #MidSlateGrey
    COLORTODAY="FF8C00" #Darkorange
    COLORREST="778899" #LightSlateGrey
    COLORNEXT="FF0000" #Red
    
    TODAY=`date +%d`
    LASTDAY=`date -d "-$TODAY days +1 month" +%d`
    FIRSTDAY=`date -d "-$[${TODAY/#0/}-1] days" +%u`
    TOPLINE=""
    TODAYC="\${color $COLORTODAY}"
    OVER="\${color $COLOROLD}"
    REST="\${color $COLORREST}"
    
    TODAYC="$TODAYC $TODAY"
    
    i=1
    if [ $TODAY -ne 1 ]
    then
        while [ $i -lt $TODAY ]; do
            if [ $i -lt 10 ]
            then
                OVER="$OVER 0$i"
            else
                OVER="$OVER $i"
            fi
            i=$[$i+1]
        done
    fi
    i=$[$i+1]
    if [ $TODAY -ne $LASTDAY ]
    then
        while [ $i -ne $LASTDAY ]; do
            if [ $i -lt 10 ]
            then
                REST="$REST 0$i"
            else
                REST="$REST $i"
            fi
            i=$[$i+1]
        done
        REST="$REST $LASTDAY"
    fi
    
    j=31
    k=$FIRSTDAY
    while [ $j -gt 0 ]; do
        case "$k" in
        7) TOPLINE="$TOPLINE \${color FFFF00}$Sun\${color}";;
        1) TOPLINE="$TOPLINE $Mon";;
        2) TOPLINE="$TOPLINE $Thu";;
        3) TOPLINE="$TOPLINE $Wed";;
        4) TOPLINE="$TOPLINE $Thr";;
        5) TOPLINE="$TOPLINE $Fri";;
        6) TOPLINE="$TOPLINE \${color FF8C00}$Sat\${color}";;
        esac
    
        j=$[$j-1]
        k=$[$k+1]
        if [ $k -eq 8 ]
        then
            k=1
        fi
    done
    echo "\${goto 20}$TOPLINE\${tab 20}"
    echo "\${goto 20}$OVER$TODAYC$REST\${tab 20}"

  6. #10816
    Join Date
    May 2008
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by jmcgovern View Post
    grumble, every time i try to change my .conkyrc, i end up with odd errors that i cant figure out how they got there. can anyone help? here's the.conkyrc
    hers how it shows up (NOTE: i know the weather isnt working, also working on that, more worried about the strange letters/graphs)

    http://img706.imageshack.us/img706/9744/conky.png
    You'll have to install the conkyweather font. Someone will have to point it out cuz I can't remember where to find it.

  7. #10817
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    @ mobilediesel and dk75 - Look at the image!

    It is now 10 Feb 2010 and my calendar is looking good. But it's brother is a few days short of a load. Poor guy!!!

    SERIOUSLY:

    The script I'm using has been modified by searchOne (I think) to be a 31 day calendar regardless of the number of days in a month. As it sits February is 3 days short of a load 75% of the time and 2 days the rest, and April, June, September and November are all short of the load by a day.

    That really messes up spacing even if someone uses ${slignc} vs the ${goto 20} in the script. As it is I'm using ${goto 240} to place it and an extra line to move the month and year into place at the beginning and end.

    Anyway we can get that function back?

    @ dk75 nice touch with the "locale" edition BUT what if someone wants a different locale to what is installed? Everyone knows my system is in English but my conkyForecast is in Spanish. (My wife is "argentina" but I'm not "argentino"). Also you have limited "that script" to those languages you coded in. What about, quick Bruce pick one ... Danish?

    I'm for adding #comments# in the code explaining how one can change the calendar to display the day names in their language.

    Code:
        case "$k" in
        7)
            TOPLINE="$TOPLINE Do" # Change to your language.
        ;;
        1)
            TOPLINE="$TOPLINE Lu" # Change to your language.
        ;;
        2)
            TOPLINE="$TOPLINE Ma" # Change to your language.
        ;;
        3)
            TOPLINE="$TOPLINE Mi" # Change to your language.
        ;;
        4)
            TOPLINE="$TOPLINE Ju" # Change to your language.
        ;;
        5)
            TOPLINE="$TOPLINE Vi" # Change to your language.
        ;;
        6)
            TOPLINE="$TOPLINE Sa" # Change to your language.
        ;;
        esac
    and
    Code:
    # Change to /Su/ and /Sa/ in this line your language.
    echo '${goto 240}'$TOPLINE | sed 's/Do/${color FFFF00}Do${color}/g' | sed 's/Sa/${color FF8C00}Sa${color}/g'
    But then I couldn't code my way out of a wet paper bag if my life depended on it.

    Have a GREAT Day!
    Bruce
    Attached Images Attached Images
    Last edited by Bruce M.; December 10th, 2009 at 07:33 PM.

  8. #10818
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by jmcgovern View Post
    grumble, every time i try to change my .conkyrc, i end up with odd errors that i cant figure out how they got there. can anyone help? here's the.conkyrc
    The strange letters are because you put them there the images shows:
    u
    P
    M
    s
    a
    d
    q
    Q
    w
    Your conky code shows:
    Code:
    ${font OpenLogos:size=19}u
    ${font Poky:size=16}P
    ${font Poky:size=16}M
    ${font Poky:size=16}s
    ${font Poky:size=16}a
    ${font Poky:size=15}d
    ${font VariShapes Solid:size=14}q
    ${font VariShapes Solid:size=14}Q
    ${font Poky:size=13}w
    So you either need to reinstall the fonts you are using or refresh your font cache:
    Code:
    sudo fc-cache -fv
    Does that help?

    Have a nice day.
    Bruce

  9. #10819
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by mobilediesel View Post
    You'll have to install the conkyweather font. Someone will have to point it out cuz I can't remember where to find it.
    conkyForecast installs it.

  10. #10820
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by mobilediesel View Post
    Power almost went out yesterday. about halfway out. all the lights were dim and the fridge and freezer sounded funny until I unplugged them. Now that i have full power back, try this:
    OH YUK! Brownout! Not good, but better than "instant-black"

    {OUCH!} where's that &$¿% flashlight!

    OK, I'll look at this, because it is "forcing me to use English" that I don't want.

    I'll have to Scotch Tape some old code to the new code.
    If the lights go out in all of the Americas, you'll know I goofed.

    CHIMO md
    Bruce

Page 1082 of 2348 FirstFirst ... 82582982103210721080108110821083108410921132118215822082 ... 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
  •