Page 10 of 2348 FirstFirst ... 8910111220601105101010 ... LastLast
Results 91 to 100 of 23480

Thread: Post your .conkyrc files w/ screenshots

  1. #91
    Join Date
    Mar 2006
    Beans
    16
    Distro
    Xubuntu 6.10 Edgy

    Re: Post your .conkyrc files w/ screenshots

    you should also be able to have conky run automagically at start-up by creating a start-up script in services.

    a simpler solution would be to login, run conky, and then logout while saving the "current session" (this works on xfce for xubuntu, and should work as well in gnome).

  2. #92

    Re: Post your .conkyrc files w/ screenshots

    You can also add

    Code:
    conky &
    to the .xinitrc file in your home directory.
    Ubuntu user #7247 :: Linux user #409907
    inconsolation.wordpress.com

  3. #93
    Join Date
    May 2006
    Location
    Salt Lake City
    Beans
    210
    Distro
    Ubuntu 6.10 Edgy

    Re: Post your .conkyrc files w/ screenshots

    i wrote a script to display the current ssid of you network:

    Code:
    iwconfig eth1 | grep -i essid | cut -d"\"" -f2
    Replace eth1 with whatever your wifi interface is then save and make it executable.

    Then in your conky add a line somewhere like this:
    Code:
    SSID:$alignr${execi 300 /home/chris/.local/essid.sh}
    Modify that path to point to the file you saved previously. Then restart conky enjoy!
    Attached Images Attached Images
    How to Svideo and More on your i945 Chipset
    Dell E1405, Intel Core Duo 1.6 GHZ, 512 DDR2, Primary OS - Hardy RC / Secondary OS- XP Home

  4. #94
    Join Date
    Jan 2006
    Location
    Midway Park, NC
    Beans
    426
    Distro
    Ubuntu 12.04 Precise Pangolin

    Red face Re: Post your .conkyrc files w/ screenshots

    My conky at the moment... seems that I can't quite figure out how to keep the fortune within the left lateral limits of my design. If anyone can point out the error of my ways, I would greatly appreciate it.
    It's not original, nor is it pretty, but this mutt's mine

    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 connections to your computer
    #
    # -- Pengo (conky@pengo.us)
    #
    
    # Create own window instead of using desktop (required in nautilus)
    own_window yes
    own_window_hints undecorated,below,skip_taskbar
    background no
    
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    
    # fiddle with window
    use_spacer yes
    use_xft yes
    
    # Update interval in seconds
    update_interval 2.0
    
    # Minimum size of text area
    minimum_size 200 5
    
    # Draw shades?
    draw_shades yes
    
    # 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 8
    
    # border margins
    border_margin 4
    
    # border width
    border_width 1
    
    # Default colors and also border colors, grey90 == #e5e5e5
    default_color white
    default_shade_color black
    default_outline_color white
    
    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 2
    gap_y 3
    
    # stuff after 'TEXT' will be formatted on screen
    
    override_utf8_locale no
    xftfont TSCu_Times:size=11
    xftalpha 0.8
    
    TEXT
    ${offset 240}${color white}        $nodename  
    
    ${offset 240}${color #ddaa00}UpTime: ${color }$uptime
    ${offset 240}${color #ddaa00}Kern:${color }   $kernel
    
    
    ${offset 240}${color #ddaa00}CPU:${color }    $cpu% 
    ${offset 240}${cpubar 5,100 1a1aaf ff0000 }
    ${offset 240}${color #ddaa00}Processes: ${color }$processes  ${color slate grey}Running:   ${color }$running_processes
    
    ${offset 240}${color #ddaa00}Highest CPU:
    ${offset 242}${color #ddaa00} ${top name 1}${top_mem cpu 1}
    ${offset 242}${color lightgrey} ${top name 2}${top cpu 2}
    ${offset 242}${color lightgrey} ${top name 3}${top cpu 3}
    
    ${offset 240}${color #ddaa00}Highest MEM:
    ${offset 242}${color #ddaa00} ${top_mem name 1}${top_mem mem 1}
    ${offset 242}${color lightgrey} ${top_mem name 2}${top_mem mem 2}
    ${offset 242}${color lightgrey} ${top_mem name 3}${top_mem mem 3}
    
    ${offset 240}${color #ddaa00}MEM:  ${color } $memperc% $mem/$memmax
    ${offset 240}${membar 3,100}
    ${offset 240}${color #ddaa00}SWAP: ${color }$swapperc% $swap/$swapmax
    ${offset 240}${swapbar 3,100}
    
    ${offset 240}${color #ddaa00}Root:    ${color }${fs_used /}/${fs_size /}
    ${offset 240}${fs_bar 3,100 /}
    ${offset 240}${color #ddaa00}Thumb:  ${color }${fs_used /media/usbdisk}/${fs_size /media/usbdisk}
    ${offset 240}${fs_bar 3,100 /media/usbdisk}
    
    ${offset 240}${color #ddaa00}NET: 
    ${offset 240}ath0:    ${color}${addr ath0}
    ${offset 240}${color #ddaa00}Signal:  ${color}${linkstatus  ath0}%
    
    ${offset 240}${color}Up: ${color}${upspeed ath0}    ${color}Down: ${color}${downspeed ath0}
    ${offset 240}${upspeedgraph ath0 20,60 1a1aaf ff0000}  ${color}${downspeedgraph ath0 20,60 1a1aaf ff0000}
    ${offset 240}${color}Total: ${totalup ath0}     ${color}Total: ${totalup ath0}
    
    ${offset 240}eth0:    ${color}${addr eth0}
    ${offset 240}${color #ddaa00}Signal:  ${color}${linkstatus  ath0}%
    
    ${offset 240}${color}Up: ${color}${upspeed eth0}    ${color}Down: ${color}${downspeed eth0}
    ${offset 240}${upspeedgraph eth0 20,60 1a1aaf ff0000}  ${color}${downspeedgraph eth0 20,60 1a1aaf ff0000}
    ${offset 240}${color}Total: ${totalup eth0}     ${color}Total: ${totalup eth0}
    
    ${offset 240}${color #ddaa00}Port(s)    #Connections   
    ${offset 240}$color Inbound: ${tcp_portmon 1 32767 count}  Outbound: ${tcp_portmon 32768 61000 count}    
    ${offset 240}    ALL: ${tcp_portmon 1 65535 count}
    ${offset 240}${color #ddaa00}Outbound ${color #ffffff}
    ${offset 240} ${tcp_portmon 32768 61000 rhost 0}
    ${offset 240} ${tcp_portmon 32768 61000 rhost 1}
    ${offset 240} ${tcp_portmon 32768 61000 rhost 2}
    ${offset 240} ${tcp_portmon 32768 61000 rhost 3}
    ${offset 240} ${tcp_portmon 32768 61000 rhost 4}
    ${offset 240} ${tcp_portmon 32768 61000 rhost 5}
    ${offset 240}$stippled_hr
    ${offset 240}${execi 60 fortune -s | fold -w40}
    Attached Images Attached Images
    Dulce Bellum Inexpertis

  5. #95
    Join Date
    Dec 2005
    Location
    Kingston, Ontario
    Beans
    1,919
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Post your .conkyrc files w/ screenshots

    February 2, 2007
    # set to yes if you want Conky to be forked in the background
    background no

    cpu_avg_samples 2
    net_avg_samples 2

    out_to_console no

    # X font when Xft is disabled, you can pick one with program xfontsel
    #font 7x12
    #font 6x10
    #font 7x13
    #font 8x13
    #font 7x12
    #font *mintsmild.se*
    #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
    #font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1

    # Use Xft?
    use_xft yes

    # Xft font when Xft is enabled
    #xftfont Dungeonixelsize=10
    xftfont Monospaceixelsize=10
    own_window_transparent no
    #own_window_colour hotpink
    # Text alpha when using Xft
    xftalpha 0.8

    on_bottom yes

    # mail spool
    #mail_spool $MAIL

    # Update interval in seconds
    update_interval 1
    # Create own window instead of using desktop (required in nautilus)
    own_window no

    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes

    # Minimum size of text area
    #minimum_size 280 5
    #maximum_width 150

    # Draw shades?
    draw_shades no

    # Draw outlines?
    draw_outline no

    # Draw borders around text
    draw_borders no

    # Stippled borders?
    stippled_borders 10

    # border margins
    border_margin 4

    # border width
    border_width 1

    # Default colors and also border colors
    default_color white
    default_shade_color grey
    default_outline_color black

    # Text alignment, other possible values are commented
    #alignment top_left
    #minimum_size 10 10
    gap_x 3
    gap_y 3
    #alignment top_right
    alignment top_left
    #alignment bottom_right13
    #alignment bottom_left

    # Gap between borders of screen and text

    # Add spaces to keep things from moving about? This only affects certain objects.
    use_spacer no

    # Subtract file system buffers from used memory?
    no_buffers yes

    # set to yes if you want all text to be in uppercase
    uppercase no


    TEXT
    [$nodename - $sysname $kernel on $machine]
    |
    +--system
    | |
    | +--date - ${time %a,} ${time %B%e, %G}
    | +--uptime - $uptime
    |
    +--status
    | |
    | +--cpu1 - ${cpu cpu1}%, ${color }${cpugraph cpu1 8,60 000000 000000}
    | +--cpu2 - ${cpu cpu2}%, ${color }${cpugraph cpu2 8,60 000000 000000}
    | +--ram - $mem/$memmax - $memperc%
    | +--cpu ${i2c 9191-0290 temp 2}C - mb ${i2c 9191-0290 temp 1}C
    | +--processes
    | |
    | +--amount - $processes
    | +--running - $running_processes
    |
    +--net
    | |
    | +--down - ${downspeed eth0} k/s ${downspeedgraph eth0 8,60 000000 000000}
    | +--up - ${upspeed eth0} k/s ${upspeedgraph eth0 8,60 000000 000000}
    |
    +--resources
    | |
    | +--/ ${fs_free /}/${fs_size /}
    | +--/home - ${fs_free /home}/${fs_size /home}
    | +--swap - $swap/$swapmax
    |
    +--mpd
    |
    +--Artist: $mpd_artist -
    +--Title: $mpd_title
    +--$mpd_status
    +--${mpd_bar 8,150}
    Attached Images Attached Images

  6. #96
    Join Date
    Aug 2005
    Beans
    90

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by ~LoKe View Post
    February 2, 2007
    Lovely desktop (conky included)

  7. #97
    Join Date
    Dec 2005
    Location
    Kingston, Ontario
    Beans
    1,919
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by shining View Post
    Lovely desktop (conky included)
    Thank you, sir.

  8. #98
    Join Date
    Oct 2006
    Location
    Minneapolis. MN. USA
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Post your .conkyrc files w/ screenshots

    Here's mine
    Code:
    # set to yes if you want Conky to be forked in the background
    background no
    
    cpu_avg_samples 2
    net_avg_samples 2
    
    out_to_console no
    
    # X font when Xft is disabled, you can pick one with program xfontsel
    #font 7x12
    #font 6x10
    #font 7x13
    #font 8x13
    #font 7x12
    #font *mintsmild.se*
    #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
    #font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1
    
    # Use Xft?
    use_xft yes
    
    # Xft font when Xft is enabled
    xftfont Bitstream Vera Sans Mono:size=8
    
    own_window_transparent no
    #own_window_colour hotpink
    # Text alpha when using Xft
    xftalpha 0.8
    
    # mail spool
    mail_spool $MAIL
    
    # Update interval in seconds
    update_interval 1
    # Create own window instead of using desktop (required in nautilus)
    own_window yes
    own_window_transparent yes
    own_window_hints undecorated,below,skip_taskbar
    own_window_type override
    
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    
    # Minimum size of text area
    minimum_size 260 5
    maximum_width 640
    
    # Draw shades?
    draw_shades no
    
    # Draw outlines?
    draw_outline no
    
    # Draw borders around text
    draw_borders no
    
    # Stippled borders?
    stippled_borders no
    
    # border margins
    border_margin 4
    
    # border width
    border_width 1
    
    # Default colors and also border colors
    default_color white
    default_shade_color white
    default_outline_color white
    
    # Text alignment, other possible values are commented
    alignment top_left
    #minimum_size 10 10
    #gap_x 5
    #gap_y 5
    #alignment top_right
    #alignment bottom_left
    #alignment bottom_right
    
    # Gap between borders of screen and text
    
    # Add spaces to keep things from moving about?  This only affects certain objects.
    use_spacer no
    
    # Subtract file system buffers from used memory?
    no_buffers yes
    
    # set to yes if you want all text to be in uppercase
    uppercase no
    
    # boinc (seti) dir
    # seti_dir /opt/seti
    
    # Possible variables to be used:
    #
    #      Variable         Arguments                  Description                
    #  acpiacadapter                     ACPI ac adapter state.                   
    #  acpifan                           ACPI fan state                           
    #  acpitemp                          ACPI temperature.                        
    #  adt746xcpu                        CPU temperature from therm_adt746x       
    #  adt746xfan                        Fan speed from therm_adt746x             
    #  battery           (num)           Remaining capasity in ACPI or APM        
    #                                    battery. ACPI battery number can be      
    #                                    given as argument (default is BAT0).     
    #  buffers                           Amount of memory buffered                
    #  cached                            Amount of memory cached                  
    #  color             (color)         Change drawing color to color            
    #  cpu                               CPU usage in percents                    
    #  cpubar            (height)        Bar that shows CPU usage, height is      
    #                                    bar's height in pixels                   
    #  downspeed         net             Download speed in kilobytes              
    #  downspeedf        net             Download speed in kilobytes with one     
    #                                    decimal                                  
    #  exec              shell command   Executes a shell command and displays    
    #                                    the output in torsmo. warning: this      
    #                                    takes a lot more resources than other    
    #                                    variables. I'd recommend coding wanted   
    #                                    behaviour in C and posting a patch :-).  
    #  execi             interval, shell Same as exec but with specific interval. 
    #                    command         Interval can't be less than              
    #                                    update_interval in configuration.        
    #  fs_bar            (height), (fs)  Bar that shows how much space is used on 
    #                                    a file system. height is the height in   
    #                                    pixels. fs is any file on that file      
    #                                    system.                                  
    #  fs_free           (fs)            Free space on a file system available    
    #                                    for users.                               
    #  fs_free_perc      (fs)            Free percentage of space on a file       
    #                                    system available for users.              
    #  fs_size           (fs)            File system size                         
    #  fs_used           (fs)            File system used space                   
    #  hr                (height)        Horizontal line, height is the height in 
    #                                    pixels                                   
    #  i2c               (dev), type, n  I2C sensor from sysfs (Linux 2.6). dev   
    #                                    may be omitted if you have only one I2C  
    #                                    device. type is either in (or vol)       
    #                                    meaning voltage, fan meaning fan or temp 
    #                                    meaning temperature. n is number of the  
    #                                    sensor. See /sys/bus/i2c/devices/ on     
    #                                    your local computer.                     
    #  kernel                            Kernel version                           
    #  loadavg           (1), (2), (3)   System load average, 1 is for past 1     
    #                                    minute, 2 for past 5 minutes and 3 for   
    #                                    past 15 minutes.                         
    #  machine                           Machine, i686 for example                
    #  mails                             Mail count in mail spool. You can use    
    #                                    program like fetchmail to get mails from 
    #                                    some server using your favourite         
    #                                    protocol. See also new_mails.            
    #  mem                               Amount of memory in use                  
    #  membar            (height)        Bar that shows amount of memory in use   
    #  memmax                            Total amount of memory                   
    #  memperc                           Percentage of memory in use              
    #  new_mails                         Unread mail count in mail spool.         
    #  nodename                          Hostname                                 
    #  outlinecolor      (color)         Change outline color                     
    #  pre_exec          shell command   Executes a shell command one time before 
    #                                    torsmo displays anything and puts output 
    #                                    as text.                                 
    #  processes                         Total processes (sleeping and running)   
    #  running_processes                 Running processes (not sleeping),        
    #                                    requires Linux 2.6                       
    #  shadecolor        (color)         Change shading color                     
    #  stippled_hr       (space),        Stippled (dashed) horizontal line        
    #                    (height)        
    #  swapbar           (height)        Bar that shows amount of swap in use     
    #  swap                              Amount of swap in use                    
    #  swapmax                           Total amount of swap                     
    #  swapperc                          Percentage of swap in use                
    #  sysname                           System name, Linux for example           
    #  time              (format)        Local time, see man strftime to get more 
    #                                    information about format                 
    #  totaldown         net             Total download, overflows at 4 GB on     
    #                                    Linux with 32-bit arch and there doesn't 
    #                                    seem to be a way to know how many times  
    #                                    it has already done that before torsmo   
    #                                    has started.                             
    #  totalup           net             Total upload, this one too, may overflow 
    #  updates                           Number of updates (for debugging)        
    #  upspeed           net             Upload speed in kilobytes                
    #  upspeedf          net             Upload speed in kilobytes with one       
    #                                    decimal                                  
    #  uptime                            Uptime                                   
    #  uptime_short                      Uptime in a shorter format               
    #
    #  seti_prog                         Seti@home current progress
    #  seti_progbar      (height)        Seti@home current progress bar
    #  seti_credit                       Seti@hoome total user credit
    
    
    # variable is given either in format $variable or in ${variable}. Latter
    # allows characters right after the variable and must be used in network
    # stuff because of an argument
    #${font Dungeon:style=Bold:pixelsize=10}I can change the font as well
    #${font Verdana:size=10}as many times as I choose
    #${font Perry:size=10}Including UTF-8,
    # stuff after 'TEXT' will be formatted on screen
    #${font Grunge:size=12}${time %a  %b  %d}${alignr -25}${time %k:%M}
    
    TEXT
    ${color #0077ff}$sysname $kernel $machine - $nodename 
    ${color #0077ff}Today is ${color lightgrey}${time %A, %d %B %Y}
    ${color #0077ff}The Time is ${color lightgrey}${time %H:%M.%S}${alignr}${color #0077ff}Uptime:${color lightgrey} $uptime
    
    ${color #0077ff}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'} ${color lightgrey}${freq_dyn}Mhz
    ${color #0077ff}Usage: ${color lightgrey}${cpu}% ${color #FCFF00}${cpubar}
    ${color #0077ff}${cpugraph 000000 FCFF00}
    ${color #0077ff}Processes:${color lightgrey} $processes  ${color #0077ff}Run:${color lightgrey} $running_processes
    ${color #0077ff}CPU Usage         PID     CPU%   MEM%
    ${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
    ${color #0077ff} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
    ${color #0077ff} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
    
    ${color #0077ff}RAM:${color lightgrey} $mem/$memmax - $memperc% ${alignr}${color #FF8E00}${membar 5,110}
    ${color #0077ff}SWP:${color lightgrey} $swap/$swapmax - $swapperc% ${alignr}${color #FF8E00}${swapbar 5,110}
    ${color #0077ff}Mem Usage
    ${color lightgrey} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
    ${color #0077ff} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
    ${color #0077ff} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
    
    ${color #0077ff}HD IO: ${color lightgrey}${diskio}
    ${color #0077ff}${diskiograph 000000 00EA01}
    ${color #0077ff}Hard Disks:
    ${color #0077ff} Root ${color lightgrey}${fs_used /}/${fs_size /}${alignr}${color #00EA01}${fs_bar 5,120 /}
    ${color #0077ff} Home ${color lightgrey}${fs_used /home}/${fs_size /home}${alignr}${color #00EA01}${fs_bar 5,120 /home}
    ${color #0077ff} Stuff ${color lightgrey}${fs_used /media/stuff}/${fs_size /media/stuff}${alignr}${color #00EA01}${fs_bar 5,120 /media/stuff}
    
    ${color #0077ff}Now Playing on XMMS
    ${color lightgrey}${execi 5 ~/.xmms.sh|fold -w67}
    
    ${color #0077ff}Network: ${color lightgrey}${addr eth0}
    ${color #0077ff}Down:${color lightgrey} ${downspeed eth0} k/s $alignr${color #0077ff} Up:${color lightgrey} ${upspeed eth0} k/s
    ${color #0077ff}${downspeedgraph eth0 27,120 000000 FF0000 180} $alignr${color #0077ff}${upspeedgraph eth0 27,120 000000 FF0000 25}
    ${color lightgrey}${totaldown eth0}           $alignr${color lightgrey}${totalup eth0}
    ${color #0077ff}Port(s)${offset 48}Connections:
    ${color #0077ff} ALL: ${color lightgrey}${alignc}${tcp_portmon 1 65535 count}
    ${color #0077ff} 1 - 1024:${color lightgrey}${alignc}${tcp_portmon 1 1024 count}
    ${color #0077ff} 1025 - 65535:${color lightgrey}${alignc}${tcp_portmon 1024 65535 count}
    
    ${color #0077ff}Remote Address:${alignr} Local Service/Port:
    ${color lightgrey}${tcp_portmon 1 1024 rport 0} 
    ${color lightgrey}${tcp_portmon 1 65535 rhost 0}${alignr}${tcp_portmon  1 65535 lservice 0}
    ${color lightgrey}${tcp_portmon 1 65535 rhost 1}${alignr}${tcp_portmon  1 65535 lservice 1}
    ${color lightgrey}${tcp_portmon 1 65535 rhost 2}${alignr}${tcp_portmon  1 65535 lservice 2}
    ${color lightgrey}${tcp_portmon 1 65535 rhost 3}${alignr}${tcp_portmon  1 65535 lservice 3}
    ${color lightgrey}${tcp_portmon 1 65535 rhost 4}${alignr}${tcp_portmon  1 65535 lservice 4}
    ${color lightgrey}${tcp_portmon 1 65535 rhost 5}${alignr}${tcp_portmon  1 65535 lservice 5}
    ${color #0077ff}Fortune ${color #000000}${hr 2}
    ${color lightgrey}${execi 120 fortune -s | fold -w50}
    All you can do is run to the end of your leash and BARK


    }:-0 Mooo

  9. #99
    Join Date
    Feb 2007
    Location
    Los Angeles
    Beans
    34
    Distro
    Ubuntu 6.06 Dapper

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by featherking View Post
    i wrote a script to display the current ssid of you network:
    Great - works well
    Would you mind posting your weahter script AND your .cokyrc file, so a total n00b can learn something? Much oblidged!
    G

  10. #100
    Join Date
    May 2006
    Location
    Salt Lake City
    Beans
    210
    Distro
    Ubuntu 6.10 Edgy

    Re: Post your .conkyrc files w/ screenshots

    Here is my conkyrc

    Code:
    # set to yes if you want Conky to be forked in the background
    background yes
    
    # Use Xft?
    use_xft yes
    
    # Xft font when Xft is enabled
    xftfont Trebuchet MS:size=10
    
    # Text alpha when using Xft
    xftalpha 0.9
    
    # Update interval in seconds
    update_interval 1.0
    
    # This is the number of times Conky will update before quitting.
    # Set to zero to run forever.
    total_run_times 0
    
    # Create own window instead of using desktop (required in nautilus)
    own_window yes
    
    # If own_window is yes, you may use type normal, desktop or override
    own_window_type normal
    
    # Use pseudo transparency with own_window?
    own_window_transparent yes
    
    # If own_window is yes, these window manager hints may be used
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    
    # Minimum size of text area
    minimum_size 200 200
    
    # Maximum width
    maximum_width 200
    
    # Draw shades?
    draw_shades no
    
    # Draw outlines?
    draw_outline no
    
    # Draw borders around text
    draw_borders no
    
    # Draw borders around graphs
    draw_graph_borders yes
    
    # Stippled borders?
    # stippled_borders 8
    
    # border margins
    # border_margin 2
    
    # border width
    # border_width 1
    
    # Default colors and also border colors
    default_color white
    default_shade_color red
    default_outline_color green
    
    # Text alignment, other possible values are commented
    #alignment top_left
    #alignment top_right
    #alignment bottom_left
    alignment bottom_right
    #alignment none
    
    # Gap between borders of screen and text
    # same thing as passing -x at command line
    gap_x 12
    gap_y 12
    
    # Subtract file system buffers from used memory?
    no_buffers yes
    
    # set to yes if you want all text to be in uppercase
    uppercase no
    
    # number of cpu samples to average
    # set to 1 to disable averaging
    cpu_avg_samples 2
    
    # Force UTF8? note that UTF8 support required XFT
    override_utf8_locale no
    
    # variable is given either in format $variable or in ${variable}
    
    # stuff after 'TEXT' will be formatted on screen
    
    #  unused text
    
    #TCP CONNECTIONS
    # ${color #ffffff}Service${alignr}${offset -50}Host 
    # ${color #c4c4c4}${offset 10}${tcp_portmon 1 65535 rservice 0}$alignr${tcp_portmon 1 65535 rhost 0}
    # ${color #a3a3a3}${offset 10}${tcp_portmon 1 65535 rservice 1}$alignr${tcp_portmon 1 65535 rhost 1}
    # ${color #828282}${offset 10}${tcp_portmon 1 65535 rservice 2}$alignr${tcp_portmon 1 65535 rhost 2}
    
    #TOP 4 CPU USE
    #${color #ffffff}Name ${alignr}CPU Usage   
    #   ${top name 1} $alignr${top cpu 1}%
    #   ${color #c4c4c4}${top name 2} $alignr${top cpu 2}%
    #   ${color #a3a3a3}${top name 3} $alignr${top cpu 3}%
    #   ${color #828282}${top name 4} $alignr${top cpu 4}%
    
    #  Current:${alignr}${execi 20 /home/featherking/.local/conky_wifi} Mbits/sec
    #  sda5: ${fs_used_perc /mnt/FILES}% ${color lightgray}${fs_bar /mnt/FILES/}$color
    #  eth0:$alignr${addr eth0}
    #  Signal:$alignr${linkstatus  eth0}
    #  Current:${alignr}${execi 20 /home/featherking/.local/conky_wifi} Mbits/sec
    #
    #Hostname:$alignr$nodename
    sda2: ${fs_used_perc /}% ${color lightgray}${fs_bar /}$color
    Swap: $swapperc% ${color lightgray}$swapbar$color
    
    ##############################################
    ##############################################
    
    TEXT
    ${color #ffffff}$alignc$nodename
    $alignc$sysname $kernel
    ${color #ffffff}Uptime:$alignr$uptime
    ${time %A}$alignr${time %F}
    
    Eth1:$alignr${addr eth1}
    SSID:$alignr${exec /home/featherking/.local/essid.sh}
    Download:$alignr${downspeedf eth1} KBs/sec
    ${downspeedgraph eth1 30,200}
    
    Battery:$alignr${battery}
    
    RAM: $mem/$memmax ${color lightgray}$membar$color
    CPU0 ${cpu cpu1}% ${color lightgray}${cpubar cpu1}$color
    CPU1 ${cpu cpu2}% ${color lightgray}${cpubar cpu2}$color
    
    ${color #ffffff}Syslog
    ${color #c4c4c4}${texeci 60 /usr/bin/tail -n 1 /var/log/syslog | fold -w33}
    
    ${color #ffffff}Name ${alignr}Mem Usage   
       ${top_mem name 1} $alignr${top_mem mem 1} MB
       ${color #c4c4c4}${top_mem name 2} $alignr${top_mem mem 2} MB
       ${color #a3a3a3}${top_mem name 3} $alignr${top_mem mem 3} MB
       ${color #828282}${top_mem name 4} $alignr${top_mem mem 4} MB
    
    ${color #ffffff}${execi 300 /home/featherking/.local/weather2.sh 84095}
    For my weather stuff you actually need two files paste the first into a file called weather.sh and put it somewhere, then edit your conky to include a line like the bold line in my conky, change the number at the end of the line to your zip code (that line checks weather every 5 minutes), in the weather.sh you need to edit the RUNDIR (also bold)

    weather.sh -->
    Code:
    #!/bin/sh
    
    #
    # Grab weather data from weather.com and format it according to the given XSLT
    # Script written by boojit
    # Modified by Hellf[i]re
    # The orignal script and xslt can be downloaded from http://pondol.com/weather.tar.gz
    
    # Usage:
    # ${execi 1800 /path/to/weather/weather.sh location}
    # Usage Example:
    # ${execi 1800 /home/user/weather/weather.sh 03833}
    
    # your Location ID: use http://xoap.weather.com/search/search?where=[yourcity] to find it 
    # U.S. users can just use their zip code; doubt that works for anyone else though (YMMV)
    LOCID=$1
    
    # s=standard units, m=metric units
    UNITS=s
    
    # where this script and the XSLT lives
    RUNDIR=/home/featherking/.local 
    
    # there's probably other stuff besides CURL that will work for this, but i haven't 
    # tried any others. 
    # you can get curl at http://curl.haxx.se/
    CURLCMD=/usr/bin/curl
    
    # get it at http://xmlsoft.org/XSLT/
    XSLTCMD=/usr/bin/xsltproc
    
    # you probably don't need to modify anything below this point....
    
    # CURL url. Use cc=* for current forecast or dayf=10 to get a multi-day forecast
    CURLURL="http://xoap.weather.com/weather/local/$LOCID?cc=*&unit=$UNITS&dayf=2"
    
    # The XSLT to use when translating the response from weather.com
    # You can modify this xslt to your liking 
    XSLT=$RUNDIR/weather.xslt 
    
    #filter (if you want to convert stuff to lower-case or upper case or something)
    #FILTER="|gawk '{print(tolower(\$0));}'"
    
    
    #####
    eval "$CURLCMD \"$CURLURL\" 2>/dev/null| $XSLTCMD $XSLT - $FILTER"
    the second file is called weather.xslt. copy the below and save as that and put in the same dir as your weather.sh. You shouldnt need to edit anything in the .xslt i added some spaces throughout to format it a little better because i couldnt figure it out any other way.

    weather.xslt -->
    Code:
    <!-- 
    
     This XSLT is used to translate an XML response from the weather.com
     XML API. 
    
     You can format this file to your liking. Two things you may feel 
     like doing:
    
    	1) Modify the layout of the fields or static text already defined
    	2) Add other fields from the XML response file that aren't referenced in this
    	   XSLT. You can grab a full list by just doing a: 
               wget "http://xoap.weather.com/weather/local/$LOCID?cc=*&unit=$UNITS" 
               (change $LOCID and $UNITS to suit your needs)
    -->
    
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" > 
    	<xsl:output method="text" disable-output-escaping="yes"/>
    	<xsl:template match="weather">
    		<xsl:apply-templates select="loc"/>
    		<xsl:apply-templates select="cc"/>
    		<xsl:apply-templates select="dayf/day[@d='1']"/>
    	</xsl:template>
     
    
    	<xsl:template match="loc">
    		<xsl:text>City: </xsl:text><xsl:value-of select="dnam"/>
    	</xsl:template>
    	
    	<xsl:template match="cc">
    		<!-- <xsl:text>City: </xsl:text><xsl:value-of select="obst"/> --> 
    <xsl:text>
    </xsl:text>
    <xsl:text>    Temp:         </xsl:text><xsl:value-of select="tmp"/><xsl:value-of select="/weather/head/ut"/>
    <xsl:if test="tmp != flik">
    <xsl:text> (FL: </xsl:text><xsl:value-of select="flik"/><xsl:value-of select="/weather/head/ut"/><xsl:text>)</xsl:text>
    </xsl:if>
    <xsl:text>
        Cond:          </xsl:text><xsl:value-of select="t"/>
    <xsl:text>
        Wind:          </xsl:text>
    <xsl:choose>
    	<xsl:when test="wind/s = 'calm'"><xsl:text>0</xsl:text></xsl:when>
    	<xsl:otherwise><xsl:value-of select="wind/s"/></xsl:otherwise>
    </xsl:choose>
    <xsl:value-of select="/weather/head/us"/><!-- 
    <xsl:choose>
    	<xsl:when test="wind/s = 'calm'"><xsl:text>(0mph)</xsl:text></xsl:when>
    	<xsl:otherwise><xsl:text> (</xsl:text><xsl:value-of select="round(wind/s * 0.6214)"/><xsl:text>mph)</xsl:text></xsl:otherwise>
    </xsl:choose> -->
    <xsl:text> (</xsl:text><xsl:value-of select="wind/t"/>
    <xsl:text>)</xsl:text>
    	</xsl:template>
    
    	<xsl:template match="dayf/day[@d='1']">
    <xsl:text>
        Tomorrow:  </xsl:text><xsl:value-of select="low"/><xsl:value-of select="/weather/head/ut"/>
    <xsl:text> to </xsl:text><xsl:value-of select="hi"/><xsl:value-of select="/weather/head/ut"/>
    <xsl:text>
    </xsl:text><xsl:text>    Forecast:     </xsl:text><xsl:value-of select="part[@p='d']/t"/>
    <xsl:text></xsl:text><xsl:value-of select="/weather/swa/a/t"/>
      <!-- <xsl:text>
      </xsl:text> -->
    	</xsl:template>
    </xsl:stylesheet>
    You *may* also need to 'apt-get install curl', curl seems to function like wget - basically just downloads the xml from the weather.com site.

    I know that is a lot of text but its really simple, copy and paste and save those two files, edit a few lines and add a line in your conky. Let me know how it works for you

    EDIT: you need to make 'weather.sh' executable too, forgot to put that (you can right click on it go to properties > permissions > check 'execute' box)

    -the King
    Last edited by featherking; February 9th, 2007 at 03:45 AM.
    How to Svideo and More on your i945 Chipset
    Dell E1405, Intel Core Duo 1.6 GHZ, 512 DDR2, Primary OS - Hardy RC / Secondary OS- XP Home

Page 10 of 2348 FirstFirst ... 8910111220601105101010 ... 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
  •