Page 91 of 2284 FirstFirst ... 418189909192931011411915911091 ... LastLast
Results 901 to 910 of 22835

Thread: Post your .conkyrc files w/ screenshots

  1. #901
    Join Date
    Nov 2007
    Location
    milan
    Beans
    0
    Distro
    Kubuntu 7.10 Gutsy Gibbon

    Re: Post your .conkyrc files w/ screenshots

    this is mine:



    .conkyrc

  2. #902
    Join Date
    Apr 2007
    Location
    Loomis, CA
    Beans
    33
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Post your .conkyrc files w/ screenshots

    I was just thinking... what if someone created a pastebin where everyone would contribute to make a single .conkyrc?
    Would be neat to watch.
    I'd help.

    here's my RSS one:
    Code:
    background yes
    use_xft yes
    xftfont Trebuchet MS:size=8
    xftalpha 0.5
    update_interval 2.0
    total_run_times 0
    own_window yes
    own_window_type normal
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    double_buffer yes
    minimum_size 150 150
    maximum_width 320
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders yes
    default_color white
    default_shade_color red
    default_outline_color green
    alignment bottom_right
    gap_x 4
    gap_y 4
    no_buffers yes
    uppercase no
    cpu_avg_samples 2
    net_avg_samples 1
    override_utf8_locale no
    use_spacer yes
    
    
    TEXT
    ${time %I:%M %p} 
    ${time %A, %B %d}
    
    ${font HandelGotD}${rss http://rss.slashdot.org/Slashdot/slashdot 30 feed_title 1}$font
    ${rss http://rss.slashdot.org/Slashdot/slashdot 30 item_titles 10}
    
    ${tail /home/john/Desktop/TODO 5 3600}

    And my normal one:
    Code:
    #DerangedDingo
    
    background yes
    use_xft no
    xftfont Inconsolata:size=8
    xftalpha 0.1
    update_interval 2.0
    total_run_times 0
    own_window yes
    own_window_type normal
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    double_buffer yes
    minimum_size 200 200
    maximum_width 290
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders yes
    default_color white
    default_shade_color red
    default_outline_color green
    alignment bottom_left
    gap_x 4
    gap_y 4
    no_buffers yes
    uppercase no
    cpu_avg_samples 2
    net_avg_samples 1
    override_utf8_locale no
    use_spacer yes
    
    #${exec figlet C O N K Y}
    TEXT
    
    +----> $sysname $kernel $machine
    |
    +----+ Uptime: $uptime
    |    | ${time %A,} ${time %e %B %G} ${time %I:%M %p}
    |    .${stippled_hr 1}.
    |    
    +----> ${fs_used /} of ${fs_size /} used on Filesystem
    |
    |    .${stippled_hr 1}.
    |    | has received ${totaldown eth0} at ${downspeedf eth0}kb/s
    |    ^
    +----+ ${addr eth0} [eth0]
    |    v
    |    | and sent ${totalup eth0} at ${downspeedf eth0}kb/s
    |    .${stippled_hr 1}.
    |
    |    .${stippled_hr 1}.
    |    | Top CPU Hog: ${top name 1}${top cpu 1}${top mem 1}
    |    ^ $alignr <CPU% MEM%>
    +----+ Top Mem Hog: ${top_mem name 1}${top_mem cpu 1}${top_mem mem 1}
    |    v 
    |    | Connections: ${tcp_portmon 32768 61000 count}
    |    .${stippled_hr 1}.
    |
    +----+ CPU Usage: ${cpu cpu1}%
    |    | Processes: $processes total, $running_processes running
    |    .${stippled_hr 1}.
    \
    ${tail /home/john/.bash_history 3 20}
    /
    |
    Attached Images Attached Images
    And When He Got To Heaven
    To St. Peter He Did Tell
    "One more soldier reporting, sir,
    I've served my time in hell."

  3. #903
    Join Date
    Nov 2006
    Location
    NC
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Post your .conkyrc files w/ screenshots

    Have anyone tried to integrate conky into the gnome-panel? The thing is, i'd like conky to be visible all the time.
    Desktop: Compaq Presario SR1920NX, Athlon 64 3500+ 2.2GHz, 250GB SATA, 2GB DDR, Ubuntu 9.04 32-bit.
    Laptop: Dell Mini 9, Atom 1.6GHz, 8GB SSD, 1GB, Ubuntu Netbook Remix 9.04

  4. #904
    Join Date
    Sep 2007
    Beans
    1

    Re: Post your .conkyrc files w/ screenshots

    background no
    font Sans:size=8
    #xftfont Sans:size=10
    use_xft yes
    xftalpha 0.9
    update_interval 3.0
    total_run_times 0
    own_window yes
    own_window_type override
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    double_buffer yes
    minimum_size 220 5
    maximum_width 220
    draw_shades yes
    draw_outline no
    draw_borders no
    draw_graph_borders yes
    default_color white
    default_shade_color black
    default_outline_color green
    alignment top_right
    gap_x 12
    gap_y 35
    no_buffers yes
    uppercase no
    cpu_avg_samples 2
    override_utf8_locale no
    uppercase yes # set to yes if you want all text to be in uppercase

    TEXT
    ${color white}SYSTEM ${hr 1}${color}

    Hostname: $alignr$nodename
    Kernel: $alignr$kernel
    Uptime: $alignr$uptime
    nVidia 6800: $alignr${execi 30 /home/hung/Scripts/GPUtemp.py}C
    HDD1: $alignr${execi 30 /home/hung/Scripts/HDD1temp.py}C
    HDD2: $alignr${execi 30 /home/hung/Scripts/HDD2temp.py}C

    CPU: ${alignr}${freq} MHz
    Processes: ${alignr}$processes ($running_processes running)
    Load: ${alignr}$loadavg

    CPU1 ${alignr}${cpu cpu1}%
    ${cpubar 4 cpu1}
    CPU2 ${alignr}${cpu cpu2}%
    ${cpubar 4 cpu2}

    Ram ${alignr}$mem / $memmax ($memperc%)
    ${membar 4}
    swap ${alignr}$swap / $swapmax ($swapperc%)
    ${swapbar 4}

    Highest CPU $alignr CPU% MEM%
    ${top name 1}$alignr${top cpu 1}${top mem 1}
    ${top name 2}$alignr${top cpu 2}${top mem 2}
    ${top name 3}$alignr${top cpu 3}${top mem 3}

    Highest MEM $alignr CPU% MEM%
    ${top_mem name 1}$alignr${top_mem cpu 1}${top_mem mem 1}
    ${top_mem name 2}$alignr${top_mem cpu 2}${top_mem mem 2}
    ${top_mem name 3}$alignr${top_mem cpu 3}${top_mem mem 3}

    ${color white}Filesystem ${hr 1}${color}

    Root: ${alignr}${fs_free /} / ${fs_size /}
    ${fs_bar 4 /}
    WinXP: ${alignr}${fs_free /media/sda1} / ${fs_size /media/sda1}
    ${fs_bar 4 /media/sda1}
    Music: ${alignr}${fs_free /media/sdb1} / ${fs_size /media/sdb1}
    ${fs_bar 4 /media/sdb1}
    OSshare: ${alignr}${fs_free /media/sdb5} / ${fs_size /media/sdb5}
    ${fs_bar 4 /media/sdb5}
    Download: ${alignr}${fs_free /media/sdb6} / ${fs_size /media/sdb6}
    ${fs_bar 4 /media/sdb6}

    ${color white}NETWORK ${hr 1}${color}

    Down ${downspeed eth0} k/s ${alignr}Up ${upspeed eth0} k/s
    ${downspeedgraph eth0 25,107} ${alignr}${upspeedgraph eth0 25,107}
    Total ${totaldown eth0} ${alignr}Total ${totalup eth0}

    ${color white}GMail${hr 2}
    ${color white}Email: ${color white}${execi 300 python ~/Scripts/gmail.py}

    http://img217.imageshack.us/img217/8...eenshotgs8.png
    Last edited by hung; November 3rd, 2007 at 08:18 PM.

  5. #905
    Join Date
    Oct 2007
    Location
    Buenos Aires, Argentina
    Beans
    8
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Post your .conkyrc files w/ screenshots

    My conkyrc file:

    Code:
    background yes
    
    cpu_avg_samples 2
    net_avg_samples 2
    
    out_to_console no
    font tahoma
    
    use_xft yes
    xftfont Bitstream Tahoma:size=8
    
    own_window_transparent no
    xftalpha 0.8
    on_bottom yes
    update_interval 1
    
    own_window yes
    own_window_transparent yes
    own_window_hints undecorated,below,skip_taskbar
    own_window_type override
    
    double_buffer yes
    
    minimum_size 320 5
    maximum_width 320
    
    draw_shades no
    draw_outline no
    draw_borders no
    stippled_borders no
    border_margin 0
    border_width 0
    
    default_color white
    default_shade_color white
    default_outline_color white
    
    gap_x 30
    gap_y 60
    alignment top_right
    use_spacer no
    no_buffers yes
    uppercase no
    
    TEXT
    ${color #f7942b}$sysname $kernel $machine
    ${color #a77d3a}------------------------------------------------------------
    ${color #f7bb2b}Uptime:${color white} $uptime ${color #f7bb2b} Load (1m/2m/5m):${color white} $loadavg
    
    ${color #f7bb2b}T2500 CPU-0 %: ${color white}${cpu cpu1}%         ${color #f7bb2b}T2500 CPU-1 %: ${color white}${cpu cpu2}%
    ${color #a77d3a}${cpubar cpu1 8,156} ${color #a77d3a}${cpubar cpu2 8,156}
    ${color #a77d3a}${cpugraph cpu0  23,156 000000 5eab4a} ${color #a77d3a}${cpugraph cpu1  23,156 000000 5eab4a}
    ${color #f7bb2b}Procesos totales:${color white} $processes - ${color #f7bb2b}Procesos activos:${color white} $running_processes
    
    ${color #f7bb2b}VGA Card: ${color white}${execi 30 nvclock -i | grep 'Card:' | cut -c16-29}${color #f7bb2b} - GPU: ${color white}${execi 30 nvclock -i | grep 'Architecture:' | cut -c16-19} @ ${execi 30 nvclock -i | grep 'GPU clock:' | cut -c13-23}
    ${color #f7bb2b}VGA RAM: ${color white}${execi 30 nvclock -i | grep 'Amount:' | cut -c10-15} ${execi 30 nvclock -i | grep 'Type:' | cut -c17-20}${color #f7bb2b} @ ${color white}${execi 30 nvclock -i | grep 'Clock:' | cut -c10-21}
    
    ${color #f7942b}Temperaturas: 
    CPU-0:${color white} ${exec sensors | grep -A 2 '^coretemp-isa-0000' | cut -c15-18 | grep '°'}${color #f7bb2b}C - CPU-1:${color white} ${exec sensors | grep -A 2 '^coretemp-isa-0001' | cut -c15-18 | grep '°'}${color #f7bb2b}C - ${color #f7bb2b}HDD:${color white} ${hddtemp /dev/sda localhost 7634)}
    
    ${color #f7bb2b}RAM:${color white} $mem${color #f7bb2b} /$memmax - Uso: ${color white}$memperc${color #f7bb2b} % ${alignr}${color #a77d3a}${membar 7,105}
    ${color #f7bb2b}SWAP:${color white} $swap${color #f7bb2b} /$swapmax - Uso: ${color white}$swapperc${color #f7bb2b} % ${alignr}${color #a77d3a}${swapbar 7,90}
    
    ${color #f7bb2b}HD IO: ${color white}${diskio} ${alignr}${color #f7bb2b}Temp HD:${color white} ${hddtemp /dev/sda localhost 7634)} ${color #a77d3a}${diskiograph 10,120 000000 5eab4a}
    
    ${color #f7942b}Uso de Discos Rigidos
    ${color #f7bb2b} Sda5 ${color white}${fs_used /} ${color #f7bb2b}/${fs_size /}${alignr}${color #a77d3a}${fs_bar 7,120 /}
    ${color #f7bb2b} Sda1 ${color white}${fs_used /media/sda1} ${color #f7bb2b}/${fs_size /media/sda1}${alignr}${color #a77d3a}${fs_bar 7,120 /media/sda1}
    ${color #f7bb2b} Sda7 ${color white}${fs_used /media/sda7} ${color #f7bb2b}/${fs_size /media/sda7}${alignr}${color #a77d3a}${fs_bar 7,120 /media/sda7}
    
    ${color #f7942b}CPU Uso ${alignr}PID     CPU%   MEM%
    ${color white} ${top name 1}     ${alignr}${top pid 1} ${top cpu 1} ${top mem 1}
    ${color #f7bb2b} ${top name 2}     ${alignr}${alignr}${top pid 2} ${top cpu 2} ${top mem 2}
    ${color #f7bb2b} ${top name 3}     ${alignr}${top pid 3} ${top cpu 3} ${top mem 3}
    ${color #f7bb2b} ${top name 4}     ${alignr}${top pid 4} ${top cpu 4} ${top mem 4}
    ${color #f7bb2b} ${top name 5}     ${alignr}${top pid 5} ${top cpu 5} ${top mem 5}
    ${color #f7bb2b} ${top name 6}     ${alignr}${top pid 6} ${top cpu 6} ${top mem 6}
    ${color #f7bb2b} ${top name 7}     ${alignr}${top pid 7} ${top cpu 7} ${top mem 7}
    
    ${color #f7942b}Uso de Memoria ${alignr}PID     CPU%   MEM%
    ${color white} ${top_mem name 1}  ${alignr}${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
    ${color #f7bb2b} ${top_mem name 2}  ${alignr}${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
    ${color #f7bb2b} ${top_mem name 3}  ${alignr}${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
    ${color #f7bb2b} ${top_mem name 4}  ${alignr}${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
    ${color #f7bb2b} ${top_mem name 5}  ${alignr}${top_mem pid 5} ${top_mem cpu 5} ${top_mem mem 5}
    ${color #f7bb2b} ${top_mem name 6}  ${alignr}${top_mem pid 6} ${top_mem cpu 6} ${top_mem mem 6}
    ${color #f7bb2b} ${top_mem name 7}  ${alignr}${top_mem pid 7} ${top_mem cpu 7} ${top_mem mem 7}
    
    ${color #f7bb2b}IP Red Local: ${color lightgrey}${addr eth1} - ${color #f7bb2b}IP Externa: ${color lightgrey}${addr eth1}
    ${color #f7bb2b}Puertos - ${color #f7bb2b}In: ${color white}${tcp_portmon 1 32767 count}  ${color #f7bb2b}Out: ${color white}${tcp_portmon 32768 61000 count}${alignr}${color #f7bb2b}Total: ${color white}${tcp_portmon 1 65535 count}
    
    ${color #f7bb2b}Downtream:${color white} ${downspeed eth1} k/s $alignr${color #f7bb2b} Upstream:${color white} ${upspeed eth1} k/s
    ${color #a77d3a}${downspeedgraph eth1 27,156 000000 5eab4a} $alignr${color #a77d3a}${upspeedgraph eth1 27,156 000000 5eab4a}
    ${color #f7bb2b}Total Down: ${color white}${totaldown eth1}           $alignr${color #f7bb2b}Total Up: ${color white}${totalup eth1}
    Screenshot:

  6. #906
    Join Date
    Feb 2007
    Location
    Adelaide, Australia
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by hung View Post
    nVidia 6800: $alignr${execi 30 /home/hung/Scripts/GPUtemp.py}C
    HDD1: $alignr${execi 30 /home/hung/Scripts/HDD1temp.py}C
    HDD2: $alignr${execi 30 /home/hung/Scripts/HDD2temp.py}C
    Hung,

    Care to share the script that shows the GPU temps? That's a nice function.
    AMD Athlon 3000 @2.0Ghz / MSI K8T Neo K8T800 / 2 GB Corsair DDR RAM / Nvidia GeForce 6600GT (256MB) / Samsung 226BW @ 1600x1050 / 120GB/320GB PATA.

  7. #907
    Join Date
    Jun 2006
    Location
    California
    Beans
    18
    Distro
    Kubuntu 8.10 Intrepid Ibex

    Re: Post your .conkyrc files w/ screenshots

    Note: I got the scripts and adapted them from http://conky.sourceforge.net/screenshots.html

    my conkyrc:

    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 Comic Sans MS:size=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 green
    default_shade_color green
    default_outline_color green
    
    # Text alignment, other possible values are commented
    #alignment top_left
    #minimum_size 10 10
    gap_x 13
    gap_y 13
    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,
    #${font Luxi Mono:size=10}justo como este texto que o google traduz fêz o português
    # stuff after 'TEXT' will be formatted on screen
    #${font Grunge:size=12}${time %a  %b  %d}${alignr -25}${time %k:%M}
    
    TEXT
    $nodename - $sysname $kernel on $machine
    ${color 000000 5000a0}${color green}Today is: ${time %a, }${time %e %B %G} 
    ${color 000000 5000a0}${time %Z,    }${time %H:%M:%S}    Don't Lag....too much!
    ${color #5b6dad}$stippled_hr
    ${color lightgrey}Uptime:$color $uptime ${color lightgrey}- Load:$color $loadavg
    ${color lightgrey}CPU Usage:${color #5000a0} ${cpu}% ${cpubar}
    ${color black}${cpugraph 000000 5000a0}
    ${color lightgrey}RAM Usage:$color $mem/$memmax - $memperc% $membar
    ${color lightgrey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar}
    ${color lightgrey}Processes:$color $processes  ${color grey}Running:$color $running_processes
    ${color}Name              PID     CPU%   MEM%
    ${color #ddaa00} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
    ${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
    ${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
    ${color}Mem usage
    ${color #ddaa00} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
    ${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
    ${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
    ${color #5b6dad} $stippled_hr
    ${color lightgrey}Networking:
     Down:${color #8844ee} ${downspeed ath0} k/s${color lightgrey} ${offset 70}Up:${color #22ccff} ${upspeed ath0} k/s
    ${color black}${downspeedgraph ath0 32,150 ff0000 0000ff} $alignr${color black}${upspeedgraph ath0 32,150 0000ff ff0000}
    ${color green}File Systems:
     ${color #5b6dad}/ ${color #7f8ed3}${fs_used /}/${fs_size /} ${color #7f8ed3}${fs_bar /}
     ${color #5b6dad}~ ${color #7f8ed3}${fs_used /media/LACIE/}/${fs_size /media/LACIE/} ${color #7f8ed3}${fs_bar /media/LACIE/}
    
    ${color #5b6dad} $stippled_hr${if_running amarokapp}
    ${color}${alignc}Listening to:${color #22ccff}
    ${alignc}${execi 10 /home/mitch/amarok.sh artist}
    ${alignc}${execi 10 /home/mitch/amarok.sh title}
    ${execibar 1 /home/mitch/amarok.sh progress}
    ${alignc}"${execi 10 /home/mitch/amarok.sh album}"
    ${alignc}${execi 10 /home/mitch/amarok.sh year} - ${color #22ccff}${alignc}${execi 10 /home/mitch/amarok.sh genre}
    ${color #5b6dad} $stippled_hr
    ${alignc}Collection Information
    Artists: ${color #22ccff}${execi 5 /home/mitch/amarok.sh totalArtists} $color${alignr}Compilations: ${color #22ccff}${execi 10 /home/mitch/amarok.sh totalCompilations}$color
    Albums:  ${color #22ccff}${execi 5 /home/mitch/amarok.sh totalAlbums} $color${alignr}Genres: ${color #22ccff}${execi 10 /home/mitch/amarok.sh totalGenres}$color
    Tracks:  ${color #22ccff}${execi 5 /home/mitch/amarok.sh totalTracks}
    ${color #5b6dad} $stippled_hr
    ${alignc}Collection Statisctics
    Most songs by ${color #22ccff}${execi 10 /home/mitch/amarok.sh most_songs_by_artist} $alignr${color}(${color #22ccff}${execi 10 /home/mitch/amarok.sh most_songs_by_artist_n}${color})
    Most songs are ${color #22ccff}${execi 10 /home/mitch/amarok.sh most_songs_are_genre} $alignr${color}(${color #22ccff}${execi 10 /home/mitch/amarok.sh most_songs_are_genre_n}${color})
    Most songs during ${color #22ccff}${execi 10 /home/mitch/amarok.sh most_songs_during_year} $alignr${color}(${color #22ccff}${execi 10 /home/mitch/amarok.sh most_songs_during_year_n}${color})
    Most albums by ${color #22ccff}${execi 10 /home/mitch/amarok.sh most_albums_by_artist} $alignr${color}(${color #22ccff}${execi 10 /home/mitch/amarok.sh most_albums_by_artist_n}${color})
    Most albums are ${color #22ccff}${execi 10 /home/mitch/amarok.sh most_albums_are_genre} $alignr${color}(${color #22ccff}${execi 10 /home/mitch/amarok.sh most_albums_are_genre_n}${color})
    Most albums during ${color #22ccff}${execi 10 /home/mitch/amarok.sh most_albums_during_year} $alignr${color}(${color #22ccff}${execi 10 /home/mitch/amarok.sh most_albums_during_year_n}${color})$endif
    ${color #5b6dad}$stippled_hr
    ${color #5b6dad}Local Weather:
    ${color #7f8ed3}${execi 1800 /home/mitch/Documents/weather/weather.sh}
    weather scripts:

    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="your loc id"
    
    # s=standard units, m=metric units
    UNITS=s
    
    # where this script and the XSLT lives
    RUNDIR=/home/mitch/Documents/weather 
    
    # 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"
    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="cc"/>
    		<xsl:apply-templates select="dayf/day[@d='1']"/>
    	</xsl:template>
     
    	
    	<xsl:template match="cc">
    		<xsl:text>Location: </xsl:text><xsl:value-of select="obst"/>  
    <xsl:text>:
    </xsl:text>
    <xsl:text>  Temperature: </xsl:text><xsl:value-of select="tmp"/><xsl:value-of select="/weather/head/ut"/>
    <xsl:if test="tmp != flik">
    <xsl:text>
      Feels Like: </xsl:text><xsl:value-of select="flik"/><xsl:value-of select="/weather/head/ut"/>
    </xsl:if>
    <xsl:text>
      Conditions: </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:value-of select="part[@p='d']/t"/>
    <xsl:text>
      </xsl:text><xsl:value-of select="/weather/a/t"/>
    <xsl:text>
    </xsl:text>
    	</xsl:template>
    </xsl:stylesheet>
    amarokscript:
    Code:
    #!/bin/bash
    # I copied the script from http://conky.sourceforge.net/screenshots.html
    #amaroK info display script by eirc <eirc.eirc@gmail.com>
    # requirements: amaroK (!)
    # for Collection stats to work amarok must be using
    # mySQL to store it's collection
    
    case "$1" in
    
    # Now Playing Info
    artist) dcop amarok player artist ;;
    title)  dcop amarok player title ;;
    album)  dcop amarok player album ;;
    year)   dcop amarok player year ;;
    genre)  dcop amarok player genre ;;
    progress)
        curr=`dcop amarok player trackCurrentTime`
        tot=`dcop amarok player trackTotalTime`
        if (( $tot )); then
            expr $curr \* 100  / $tot
        fi
        ;;
    
    # Collection Info
    totalArtists)      dcop amarok collection totalArtists ;;
    totalAlbums)       dcop amarok collection totalAlbums ;;
    totalTracks)       dcop amarok collection totalTracks ;;
    totalGenres)       dcop amarok collection totalGenres ;;
    totalCompilations) dcop amarok collection totalCompilations ;;
    
    # Collection Stats
    most_songs_by_artist) dcop amarok collection query 'SELECT t1.name FROM artist t1 INNER JOIN tags t2 ON t1.id = t2.artist GROUP BY t2.artist ORDER BY COUNT(t2.artist) DESC LIMIT 1;' ;;
    most_songs_by_artist_n) dcop amarok collection query 'SELECT count(t2.artist) FROM artist t1 INNER JOIN tags t2 ON t1.id = t2.artist GROUP BY t2.artist ORDER BY COUNT(t2.artist) DESC LIMIT 1;' ;;
    most_songs_are_genre) dcop amarok collection query 'SELECT t1.name FROM genre t1 INNER JOIN tags t2 ON t1.id = t2.genre GROUP BY t2.genre ORDER BY COUNT(t2.genre) DESC LIMIT 1;' ;;
    most_songs_are_genre_n) dcop amarok collection query 'SELECT count(t2.genre) FROM genre t1 INNER JOIN tags t2 ON t1.id = t2.genre GROUP BY t2.genre ORDER BY COUNT(t2.genre) DESC LIMIT 1;' ;;
    most_songs_during_year) dcop amarok collection query 'SELECT t1.name FROM year t1 INNER JOIN tags t2 ON t1.id = t2.year GROUP BY t2.year ORDER BY COUNT(t2.year) DESC LIMIT 1;' ;;
    most_songs_during_year_n) dcop amarok collection query 'SELECT count(t2.year) FROM year t1 INNER JOIN tags t2 ON t1.id = t2.year GROUP BY t2.year ORDER BY COUNT(t2.year) DESC LIMIT 1;' ;;
    most_albums_by_artist) dcop amarok collection query 'SELECT name FROM artist WHERE id=(SELECT t1.artist from (SELECT artist FROM tags GROUP BY album) AS t1 GROUP BY t1.artist ORDER BY count(artist) DESC LIMIT 1);' ;;
    most_albums_by_artist_n) dcop amarok collection query 'SELECT count(artist) from (SELECT artist FROM tags GROUP BY album) AS t1 GROUP BY t1.artist ORDER BY count(artist) DESC LIMIT 1;' ;;
    most_albums_are_genre) dcop amarok collection query 'SELECT name FROM genre WHERE id=(SELECT t1.genre from (SELECT genre FROM tags GROUP BY album) AS t1 GROUP BY t1.genre ORDER BY count(genre) DESC LIMIT 1);' ;;
    most_albums_are_genre_n) dcop amarok collection query 'SELECT count(genre) from (SELECT genre FROM tags GROUP BY album) AS t1 GROUP BY t1.genre ORDER BY count(genre) DESC LIMIT 1;' ;;
    most_albums_during_year) dcop amarok collection query 'SELECT name FROM year WHERE id=(SELECT t1.year from (SELECT year FROM tags GROUP BY album) AS t1 GROUP BY t1.year ORDER BY count(year) DESC LIMIT 1);' ;;
    most_albums_during_year_n) dcop amarok collection query 'SELECT count(year) from (SELECT year FROM tags GROUP BY album) AS t1 GROUP BY t1.year ORDER BY count(year) DESC LIMIT 1;' ;;
    
    esac
    Attached Images Attached Images
    Last edited by ohmyiv; November 5th, 2007 at 01:56 AM.

  8. #908
    Join Date
    Apr 2007
    Location
    Portland, Oregon
    Beans
    348
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Scruffynerf View Post
    Hung,

    Care to share the script that shows the GPU temps? That's a nice function.
    If you have an Nvidia card you can install and grep them out of NVClock....
    Code:
    ${color slate grey}Video: ${color }${execi 30 nvclock -i | grep 'Card:' | cut -c9-27}
    ${color lightgrey}${tab 20}Temperature: ${color #ddaa00}${execi 30 nvclock -T | grep temperature | cut -c21-23}
    ${color lightgrey}${tab 20}GPU: ${tab 4}${color }${execi 30 nvclock -i | grep 'Architecture:' | cut -c16-22}$alignr${execi 30 nvclock -i | grep 'GPU clock:' | cut -c13-23}
    ${color lightgrey}${tab 20}Mem: ${color }${execi 30 nvclock -i | grep 'Amount:' | cut -c10-15} ${execi 30 nvclock -i | grep 'Type:' | cut -c16-18} $alignr ${execi 30 nvclock -i | grep 'Clock:' | cut -c10-21}

  9. #909
    Join Date
    Sep 2007
    Beans
    1

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Scruffynerf View Post
    Hung,

    Care to share the script that shows the GPU temps? That's a nice function.
    GPUtemp.py

    #!/usr/bin/python
    #GPUtemp.py
    import commands

    string = commands.getoutput('nvidia-settings -q gpucoretemp')
    list = string.splitlines()
    print (list[1].split()[-1]).split('.')[0]
    Last edited by hung; November 4th, 2007 at 10:40 PM.

  10. #910
    Join Date
    Sep 2007
    Beans
    1

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Scruffynerf View Post
    Hung,

    Care to share the script that shows the GPU temps? That's a nice function.
    HDDtemp.py

    #!/usr/bin/python
    #HDD1 and HDD2 are the same, they just change the search in the last line
    import commands

    string = commands.getoutput('nc localhost 7634')
    list = string.split('|')
    print list[list.index('/dev/sda')+2]
    Last edited by hung; November 4th, 2007 at 10:40 PM.

Page 91 of 2284 FirstFirst ... 418189909192931011411915911091 ... 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
  •