Results 1 to 10 of 23245

Thread: Post your .conkyrc files w/ screenshots

Threaded View

  1. #11
    Join Date
    Nov 2008
    Location
    Ruston, LA
    Beans
    5
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Post your .conkyrc files w/ screenshots

    I've been pulling bits and pieces off of different scripts I've found on the internet, so this is a work in progress.

    A few problems I need help with:
    1. I would like the time in 12 hour format instead of 24 hour format.
    2. I can't really figure out how to configure the weather and email scripts. I'm kind of new to this so layman's terms would help me a lot.
    3. As shown in the screenshot, the network section of the display shows an up and down as 0 even though the graph reads spikes and activity.

    Code:
    # UBUNTU-CONKY
    # A comprehensive conky script, configured for use on
    # Ubuntu / Debian Gnome, without the need for any external scripts.
    #
    # Based on conky-jc and the default .conkyrc.
    # INCLUDES:
    # - tail of /var/log/messages
    # - netstat shows number of connections from your computer and application/PID making it. Kill spyware!
    #
    # -- Pengo
    # 
     
    # Create own window instead of using desktop (required in nautilus)
    own_window yes
    own_window_type override
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
     
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
     
    # fiddle with window
    use_spacer right
    
    # Use Xft?
    use_xft yes
    xftfont DejaVu Sans:size=8
    xftalpha 0.8
    text_buffer_size 2048
     
    # Update interval in seconds
    update_interval 3.0
     
    # Minimum size of text area
    # minimum_size 250 5
     
    # Draw shades?
    draw_shades no
     
    # Text stuff
    draw_outline no # amplifies text if yes
    draw_borders no
    uppercase no # set to yes if you want all text to be in uppercase
     
    # Stippled borders?
    stippled_borders 3
     
    # border margins
    border_margin 9
     
    # border width
    border_width 10
     
    # Default colors and also border colors, grey90 == #e5e5e5
    default_color grey
     
    own_window_colour brown
    own_window_transparent yes
     
    # Text alignment, other possible values are commented
    #alignment top_left
    alignment top_right
    #alignment bottom_left
    #alignment bottom_right
     
    # Gap between borders of screen and text
    gap_x 10
    gap_y 40
     
    # stuff after 'TEXT' will be formatted on screen
     
    TEXT
    DATE ${hr 2}
    ${alignc 35}${font Arial Black:size=26}${time %H:%M}${font}
    ${alignc}${time %A %d %Y}
    
    SYSTEM ${hr 2}
    ${voffset 2}${font OpenLogos:size=16}u${font}   Kernel:  ${alignr}${kernel}
    ${font StyleBats:size=16}A${font}   CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
    ${font StyleBats:size=16}g${font}   RAM: $memperc% ${alignr}${membar 8,60}
    ${font StyleBats:size=16}j${font}   SWAP: $swapperc% ${alignr}${swapbar 8,60}
    ${font StyleBats:size=16}q${font}   Uptime: ${alignr}${uptime}
    
    HD ${hr 2}
    ${voffset 4}${font Pie charts for maps:size=14}7${font}   ${voffset -5}Root:
    ${voffset 4}${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,60 /}
    ${font Pie charts for maps:size=14}7${font}   ${voffset -5}Home:
    ${voffset 4}${fs_free /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}
    
    NETWORK ${hr 2}
    ${if_existing /proc/net/route wlan0}
    ${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed wlan0} kb/s ${alignr}${upspeedgraph wlan0 8,60 3465A4 729FCF}
    ${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,60 3465A4 729FCF}
    ${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup wlan0}
    ${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown wlan0}
    ${voffset 4}${font PizzaDude Bullets:size=14}Z${font}   Signal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
    ${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Local Ip: ${alignr}${addr wlan0}
    ${voffset 4}${font PizzaDude Bullets:size=14}b${font}   Public Ip: ${alignr}${execi 1 ~/.scripts/ip.sh}
    ${else}${if_existing /proc/net/route eth0}
    ${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,60 3465A4 729FCF}
    ${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 3465A4 729FCF}
    ${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup eth0}
    ${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown eth0}
    ${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Local Ip: ${alignr}${addr eth0}
    ${voffset 4}${font PizzaDude Bullets:size=14}b${font}   Public Ip: ${alignr}${execi 1 ~/.scripts/ip.sh}
    ${endif}${else}${if_existing /proc/net/route eth1}
    ${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed eth1} kb/s ${alignr}${upspeedgraph eth1 8,60 3465A4 729FCF}
    ${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 8,60 3465A4 729FCF}
    ${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup eth1}
    ${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown eth1}
    ${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Local Ip: ${alignr}${addr eth1}
    ${voffset 4}${font PizzaDude Bullets:size=14}b${font}   Public Ip: ${alignr}${execi 1 ~/.scripts/ip.sh}
    ${endif}${else}
    ${font PizzaDude Bullets:size=14}4${font}   Network Unavailable
    ${endif}
    Attached Images Attached Images