Page 46 of 2348 FirstFirst ... 36444546474856961465461046 ... LastLast
Results 451 to 460 of 23480

Thread: Post your .conkyrc files w/ screenshots

  1. #451
    Join Date
    May 2007
    Location
    fontana, ca.
    Beans
    4
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Post your .conkyrc files w/ screenshots

    my final. for the new guys like me google is a great place to learn about ubuntu and linux.



    # set to yes if you want Conky to be forked in the background
    background yes

    cpu_avg_samples 2
    net_avg_samples 2

    out_to_console no

    # Use Xft?
    use_xft yes

    # Xft font when Xft is enabled
    xftfont Bitstream Vera Sans Mono:size=10

    own_window_transparent yes
    # Text alpha when using Xft
    xftalpha 0.8

    on_bottom no

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

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

    # Minimum size of text area
    minimum_size 320 5
    maximum_width 320


    # 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 white
    default_outline_color white

    # Text alignment, other possible values are commented
    alignment top_left
    #minimum_size 10 10
    gap_x 30
    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 yes

    TEXT
    ${color orange}$nodename on $sysname $kernel ${hr 2}
    ${color lightgrey}${time %A %e %B %G, %H:%M:%S}
    ${color orange}SYSTEM ${hr 2}$color
    ${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 orange}NETWORKING ${hr 2}$color
    Down:${color #22ccff} ${downspeed eth0} k/s${color lightgrey} ${offset 70}Up:${color #22ccff} ${upspeed eth0} k/s
    ${color black}${downspeedgraph eth0 32,150 ff0000 0000ff} $alignr${color black}${upspeedgraph eth0 32,150 0000ff ff0000}
    ${color lightgrey}File systems:
    / $color${fs_used /}/${fs_size /} ${fs_bar /}

    ${color #ffcb48}GMail${hr 2}
    ${color lightgray}Email: ${color D7D3C5}${execi 300 python ~/conky_scripts/gmail.py}

    ${color orange}CALENDAR ${hr 2}$color
    ${execi 60 cal -3 | cut -c23-64}




    this is my gmail.py stolen from some where on here, thank you very much

    #Enter your username and password below within double quotes
    # eg. username="XXXXXXXXXXX" and password="XXXXXXX"
    username="XXXXXXXXXXXX%40XXXXXX%2Ecom"
    password="XXXXXXXX"

    ttext=""
    title=""
    ntext=[]
    nam=[]
    mtext=[]
    mes=[]
    sum=[]
    ema=[]
    nom=""
    tot=0
    rtot=0
    com="wget -O - https://"+username+":"+password+"@mail.google.com/mail/feed/atom --no-check-certificate"

    temp=os.popen(com)
    msg=temp.read()
    index = string.find(msg,"<title>")
    index2=string.find(msg,"</title>")
    title=msg[index+25:index2]
    index=index2
    index=string.find(msg,"<fullcount>")
    index2=string.find(msg,"</fullcount>")
    fc=msg[index+11:index2]
    if(int(fc)>20):tot=20
    else: tot=(int(fc))
    rtot=tot

    if (int(fc)==1):
    print "You have "+fc+" new message\n"
    elif rtot==0:
    print "You have no new messages\n"
    elif rtot>1:
    print "You have "+fc+" new messages\n"
    else:
    print "ERROR!!!"

    index=index2
    i=-1
    x=0
    while index != -1:
    i=i+1
    index=string.find(msg,"<title>",index)
    index2=string.find(msg,"</title>",index)
    if(i<tot):
    mes.append(msg[index+7:index2])
    index=index2
    index=string.find(msg,"<summary>",index)
    index2=string.find(msg,"</summary>",index)
    if(i<tot):
    sum.append(msg[index+9:index2])
    index=index2
    index=string.find(msg,"<name>",index)
    index2=string.find(msg,"</name>",index)
    if(i<tot):
    nam.append(msg[index+6:index2])
    index=index2
    index=string.find(msg,"<email>",index)
    index2=string.find(msg,"</email>",index)
    if(i<tot):
    ema.append(msg[index+7:index2])
    index=index2
    if(index !=-1):
    if(i<tot):
    if(len(nam[i])>=15):
    nam[i]=nam[i][:12]+"..."
    if(len(mes[i])>=30):
    mes[i]=mes[i][:27]+"..."
    if(i<5):
    print nam[i]+" -- "+mes[i];
    Attached Images Attached Images
    Last edited by jrny99; August 7th, 2007 at 12:05 AM. Reason: GMAIL.PY ADDED

  2. #452
    Join Date
    Jun 2007
    Location
    Cairns, Australia
    Beans
    57
    Distro
    Hardy Heron (Ubuntu Development)

    Re: Post your .conkyrc files w/ screenshots

    OK well here is my latest conkyrc

    Code:
    # set to yes if you want Conky to be forked in the background
    background yes
    
    cpu_avg_samples 2
    net_avg_samples 2
    
    out_to_console no
    
    # Use Xft?
    use_xft yes
    
    # Xft font when Xft is enabled
    xftfont  DejaVu Sans:size=10
    
    own_window_transparent yes
    # Text alpha when using Xft
    xftalpha 0.8
    
    on_bottom no
    
    # Update interval in seconds
    update_interval 1
    # Create own window instead of using desktop (required in nautilus)
    own_window yes
    own_window_type override
    
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    
    # Minimum size of text area
    minimum_size 320 5
    maximum_width 320
    
    
    # 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 white
    default_outline_color white
    
    # Text alignment, other possible values are commented
    #alignment top_left
    #minimum_size 10 10
    gap_x 30
    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
    
    TEXT
    ${color lightgrey} ${hr 2}
    ${color}COMPUTER: $nodename
    KERNEL: $sysname $kernel
    UPTIME: $uptime
    ${color}TODAY'S DATE: ${time %A %e %B %G}
    TIME NOW: ${time %H:%M:%S}
    ${color lightgrey} ${hr 2}
    ${color}CPU USAGE: ${cpu}% ${cpubar}
    RAM USAGE: $mem/$memmax - $memperc% $membar
    SWAP USAGE: $swap/$swapmax - $swapperc% ${swapbar}
    ${color lightgrey} ${hr 2}
    ${color}DRIVE /: ${fs_used /}/${fs_size /} ${fs_bar /}
    DRIVE /home: ${fs_used /home}/${fs_size /home} ${fs_bar /home}
    ${color lightgrey} ${hr 2}
    ${color} CURRENT WEATHER 
    ${execi 1800 /home/taz/.weather/weather.sh ASXX0020}
    ${color lightgrey} ${hr 2}
    ${color}INTERNET I.P: ${execi 600  ruby -e "require 'net/http';Net::HTTP.get_print URI.parse('http://briancarper.net/cgi-bin/ip.cgi')"}
    DOWNLOAD SPEED: ${downspeed eth0} k/s 
    TOTAL DOWNLOADED: ${totaldown eth0}
    ${color}UPLOAD SPEED: ${upspeed eth0} k/s
    ${color}TOTAL UPLOADED: ${totalup eth0}
    ${color black}${downspeedgraph eth0 32,150 ff0000 0000ff}${color black}${upspeedgraph eth0 32,150 ff0000 0000ff}
    I have included the weather script here as an attachment, but I think it has been posted before.

    Weather Script written by boojit
    # Modified by Hellf[i]re
    # The orignal script and xslt can be downloaded from http://pondol.com/weather.tar.gz
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by panther_sn; August 5th, 2007 at 08:08 AM. Reason: Screenshot

  3. #453
    Join Date
    Feb 2007
    Beans
    2

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by coarse.sand View Post
    Im a pretty new user to Ubuntu, but I've been beating GNOME into something appealing for the past few days and I just finished up a Conky theme. It's based around a high res cap from FLCL that I nabbed to use as a wallpaper from 4chan.org.
    OFFTOPIC
    what gtk theme and icon set are your using?

    thank you

  4. #454
    Join Date
    Dec 2006
    Location
    New York
    Beans
    39
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Post your .conkyrc files w/ screenshots

    Here is my conkyrc: Black background, and informative but not too messy, and weather from weather.com
    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)
    #
    # Weather Instructions
    # http://gnome-look.org/content/show.php/My+Conky+Config?content=62536&PHPSESSID=9f24f7fdf3
    
    # Create own window instead of using desktop (required in nautilus)
    own_window yes
    own_window_type normal
    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 yes
    use_xft no
    
    # Update interval in seconds
    update_interval 5.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
    font arial
    uppercase no # set to yes if you want all text to be in uppercase
    
    # Stippled borders?
    stippled_borders 1
    
    # border margins
    border_margin 1
    
    # border width
    border_width 1
    
    # Default colors and also border colors, grey90 == #e5e5e5
    default_color grey
    
    own_window_colour black
    own_window_transparent no
    
    # 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 10
    
    # stuff after 'TEXT' will be formatted on screen
    
    TEXT
    $color
    ${color white}SYSTEM ${hr 2}$color
    OS: Ubuntu Feisty Fawn 7.04
    Host Name: $nodename 
    Kernel Version: $kernel
    Machine: $machine
    Uptime: $uptime
    
    ${color white}CPU ${hr 2}$color
    CPU Usage:
    Intel Core 2 Duo ${freq_g 1}Ghz ${freq_g 2}Ghz
    Load (1 Min, 5 Min, 15 Min): ${loadavg}
    CPU 1: ${CPU 1}% ${cpubar cpu1}
    CPU 2: ${CPU 2}% ${cpubar cpu2}
    Processes: $processes ${alignr}Running: $running_processes
    
    NAME             PID       CPU%      MEM%
    ${top name 1} ${top pid 1}   ${top cpu 1}    ${top mem 1}
    ${top name 2} ${top pid 2}   ${top cpu 2}    ${top mem 2}
    ${top name 3} ${top pid 3}   ${top cpu 3}    ${top mem 3}
    ${top name 4} ${top pid 4}   ${top cpu 4}    ${top mem 4}
    
    ${color white}MEMORY USAGE ${hr 2}$color
    RAM:   $mem/$memmax, $memperc% $membar
    Swap:  $swap/$swapmax, $swapperc% $swapbar
    Cache: $cached $color
    
    ${color white}SYSTEM DISKS ${hr 2}$color
           Free		Used
    Root:  ${fs_free /}	${fs_used /}$color
    hda1:  ${fs_free /media/hda1}		${fs_used /media/hda1}$color
    hdb3:  ${fs_free /media/hdb3}	 	${fs_used /media/hdb3}$color
    
    ${color white}NETWORK (${addr eth0}) ${hr 2}$color
    Down: $color${downspeedf eth0} k/s ${alignr}Up: ${upspeedf eth0} k/s$color
    Total: ${totaldown eth0} ${alignr}Total: ${totalup eth0}
    Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768 
    61000 count}${alignr}Total: ${tcp_portmon 1 65535 count}
    
    New York Weather ${hr 2}$color
    ${execi 1800 /home/zl/.weather/weather.sh 10013}
    
    Conky v1.4.5
    Attached Images Attached Images
    Attached Files Attached Files
    In a world without doors and fences, there is no need for Windows and Gates.

  5. #455
    Join Date
    Feb 2007
    Location
    Portugal
    Beans
    Hidden!
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Post your .conkyrc files w/ screenshots

    I'm using a python script to display new Gmail messages (showing how many new messages and their subjects (up to five))

    How can I make it just display "Nothing new" and "x messages" to keep it simple?
    pekWM | archlinux | Dell E5400
    CounterStream Radio


  6. #456
    Join Date
    Feb 2007
    Location
    Brampton, Ontario
    Beans
    883

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by phaedOne View Post
    Calendar script that highlights the current calendar day:

    Code:
    - CAL ( ${execi 360 cal | awk 'NR==1 {print $1 " " $2}' } ) ${hr 1}
    
    ${execi 360  cal | awk 'NR>1' | sed -e 's/   /    /g' -e 's/[^ ] /& /g' -e 's/..*/  & /' -e 's/ \('`date | awk '{print $3}'`'\) /\['`date | awk '{print $3}'`'\]/'}
    The first three sed expressions amount to adding a couple of spaces before the first and in between each column of the calendar. The last one marks the current day with braces. To see what it look like see attached screen shot.
    Thanks for this! However it's not working yet, I pasted exactly what you have and I'm getting this (see image).
    Attached Images Attached Images
    "For those who believe, no explanation is necessary. For those who do not, none will suffice." - Joseph Dunninger

  7. #457
    Join Date
    Jan 2006
    Location
    Philadelphia
    Beans
    4,076
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by el mariachi View Post
    I'm using a python script to display new Gmail messages (showing how many new messages and their subjects (up to five))

    How can I make it just display "Nothing new" and "x messages" to keep it simple?
    well, i'm guessing that you'd have to edit the python script.

  8. #458
    Join Date
    May 2007
    Location
    Colorado
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    My setup.

    My conky config files:

    conkyrc
    Code:
    # 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 yes
    use_xft no
    
    # Update interval in seconds
    update_interval 1.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
    font arial
    uppercase no # set to yes if you want all text to be in uppercase
    
    # Stippled borders?
    stippled_borders 3
    
    # border margins
    border_margin 0
    
    # border width
    border_width 0
    
    # Default colors and also border colors, grey90 == #e5e5e5
    #default_color slate grey
    default_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 7
    gap_y 17
    
    # set to 1 to diable
    cpu_avg_samples 2
    
    # 994F10
    # stuff after 'TEXT' will be formatted on screen
    
    TEXT
    
    ${color #32424F}CPU0: ${cpu cpu1}%${color #89BFD7} / ${color #32424F}CPU1: ${cpu cpu2}%${color #89BFD7} / ${color #32424F}RAM: $memperc% ${color #89BFD7}/${color #32424F} Disk: ${fs_free_perc /} % ${color #89BFD7}/${color #32424F} Battery: ${execi 10 ~/scripts/acpi/acpi.sh} ${color #89BFD7}/${color #32424F} ${execi 5 ~/scripts/acpi/acpi_full.sh} ${color #89BFD7}/${color #32424F} ${execi 30 acpi -B -t -f | cut -c21-25}F
    conkyrc_weather
    Code:
    # 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 yes
    use_xft no
    
    # Update interval in seconds
    update_interval 1.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
    font arial
    uppercase no # set to yes if you want all text to be in uppercase
    
    # Stippled borders?
    stippled_borders 3
    
    # border margins
    border_margin 0
    
    # border width
    border_width 0
    
    # Default colors and also border colors, grey90 == #e5e5e5
    #default_color slate grey
    default_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 7
    gap_y -10
    
    # set to 1 to diable
    cpu_avg_samples 2
    
    # 994F10
    # stuff after 'TEXT' will be formatted on screen
    
    TEXT
    ${color #3D738E}${execi 300 /home/kevin/scripts/conky/weather_bool.sh}

    The scripts I use:

    conky.sh (used to load both instances of conky)
    Code:
    #!/bin/bash
    sleep 1 &&
    conky -d -c /home/kevin/scripts/conky/conkyrc &&
    sleep 2 &&
    conky -d -c /home/kevin/scripts/conky/conkyrc_weather &
    exit
    acpi.sh (get the battery charge percentage. I didn't like the built in version)
    Code:
    #!/bin/bash
    acpi_output="$(acpi -b)"
    
    case "$acpi_output" in
    	*discharging*)
    		case "$acpi_output" in
    			*100*) echo $acpi_output | cut -c25-28;;
    			*) echo $acpi_output | cut -c25-27;;
    		esac
    	;;
    	
    	*)
    		case "$acpi_output" in
    			*100*) echo $acpi_output | cut -c21-25;;
    			*) echo $acpi_output | cut -c22-24;;
    		esac
    	;;
    esac
    acpi_full.sh (used to show charging/discharging time.. again, I didn't like the built in version)
    Code:
    #!/bin/bash
    acpi_output="$(acpi -b)"
    
    case "$acpi_output" in
    	*charged,*) time="+00:00";;
    
    	*information*) time="*00:00";;
    
    	*discharging*)
    		case "$acpi_output" in
    			*100*) time="-$(echo $acpi_output | cut -c31-35)";;
    			*) time="-$(echo $acpi_output | cut -c30-34)";;
    		esac
    	;;
    
    	*charging*) time="+$(echo $acpi_output | cut -c27-31)";;
    esac
    
    echo $time
    weather.sh (used to pull the weather)
    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=GMXX0020
    
    # s=standard units, m=metric units
    UNITS=s
    
    # where this script and the XSLT lives
    RUNDIR=/home/kevin/scripts/conky/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"
    #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_bool.sh (if your offline and can't pull the weather this will tell you..)
    Code:
    #!/bin/bash
    output="$(/home/kevin/scripts/conky/weather/weather.sh)"
    
    case "$output" in
    	*,*) echo $output;;
    	*) echo "Weather currently unavailable.";;
    esac

    weather.xslt (used to translate the weather)
    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></xsl:text><xsl:value-of select="tmp"/><xsl:value-of select="/weather/head/ut"/>
    <!--<xsl:if test="tmp != flik"><xsl:text></xsl:text><xsl:value-of select="flik"/><xsl:value-of select="/weather/head/ut"/></xsl:if>-->
    <xsl:text>, </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> > </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/swa/a/t"/>
    <xsl:text></xsl:text>
    	</xsl:template>
    </xsl:stylesheet>
    Attached Images Attached Images
    Last edited by walkerk; August 7th, 2007 at 09:34 PM.

  9. #459
    Join Date
    Aug 2007
    Beans
    0

    Re: Post your .conkyrc files w/ screenshots

    Hi,
    i'm experiencing some troubles with "my" conky...
    as you can see in the screenshot it blows-up 4% of my intel core2duo (2,13Ghz) CPU. I'm not using any external script...maybe if I reconfigure hddtemp to work in daemon mode, i'll avoid to use 4 execi to monitor my hdd...
    any ideas?

    Thanks!

    [my .conkyrc follows]
    # set to yes if you want Conky to be forked in the background
    background no

    # X font when Xft is disabled, you can pick one with program xfontsel
    #font 5x7
    #font 6x10
    #font 7x13
    #font 8x13
    #font 9x15
    #font *mintsmild.se*
    #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*


    # Use Xft?
    use_xft yes

    # Xft font when Xft is enabled
    xftfont Bitstream Vera Sans Mono:size=8

    # Text alpha when using Xft
    xftalpha 0.8

    # Print everything to stdout?
    # out_to_console no

    # MPD host/port
    # mpd_host localhost
    # mpd_port 6600
    # mpd_password tinker_bell


    # mail spool
    mail_spool $MAIL

    # 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_transparent is set to no, you can set the background colour here
    own_window_colour hotpink

    # 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

    # Max window size
    maximum_width 310

    # Minimum size of text area
    minimum_size 280 5

    # 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 0

    # border margins
    border_margin 4

    # border width
    border_width 1

    # Default colors and also border colors
    default_color lightgrey
    default_shade_color grey
    default_outline_color grey

    # 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 10
    gap_y 50

    # 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

    # number of net samples to average
    # set to 1 to disable averaging
    net_avg_samples 2

    # Force UTF8? note that UTF8 support required XFT
    override_utf8_locale yes


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

    # mldonkey_hostname Hostname for mldonkey stuff, defaults to localhost
    # mldonkey_port Mldonkey port, 4001 default
    # mldonkey_login Mldonkey login, default none
    # mldonkey_password Mldonkey password, default none

    # boinc (seti) dir
    # seti_dir /opt/seti

    # Allow for the creation of at least this number of port monitors (if 0 or not set, default is 16)
    #min_port_monitors 16

    # Allow each port monitor to track at least this many connections (if 0 or not set, default is 256)
    #min_port_monitor_connections 256

    # none, xmms, bmp, audacious, infopipe (default is none)
    #xmms_player none

    # 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

    # stuff after 'TEXT' will be formatted on screen
    #${color #e9c703}Host:$color $nodename - $sysname $kernel on $machine
    TEXT
    ${color green}System ${hr 2}$color
    ${color white}$nodename $sysname $kernel on $machine
    ${color #e9c703}Date: ${color white}${time %e %B %G} - ${time %I:%M:%S}
    ${color #e9c703}Uptime:$color $uptime ${color #e9c703}- Load:$color $loadavg

    ${color green}Temperatures ${hr 2}$color
    ${color #e9c703}CPU
    ${color #e9c703}GPU ${color white} ${execi 300 nvidia-settings -q gpucoretemp |grep Attribute |cut -d":" -f3}°C
    ${color #e9c703}Disks ${color white} /dev/sda: ${execi 300 /usr/sbin/hddtemp /dev/sda | grep ':' | cut -d":" -f3}
    /dev/sdb: ${execi 300 /usr/sbin/hddtemp /dev/sdb | grep ':' | cut -d":" -f3}
    /dev/sdc: ${execi 300 /usr/sbin/hddtemp /dev/sdc | grep ':' | cut -d":" -f3}
    /dev/sdd: ${execi 300 /usr/sbin/hddtemp /dev/sdd | grep ':' | cut -d":" -f3}

    ${color green}CPU Usage ${hr 2}$color
    ${color #e9c703}Core 1 Usage:$color ${alignc} ${cpu cpu1}% ${color #888888}${cpubar cpu1}
    ${color #888888}${cpugraph cpu1 888888 e9c703}
    ${color #e9c703}Core 2 Usage:$color ${alignc} ${cpu cpu2}% ${color #888888}${cpubar cpu2}
    ${color #888888}${cpugraph cpu2 888888 e9c703}

    ${color green}Memory Usage ${hr 2}$color
    ${color #e9c703}RAM Usage:$color $mem/$memmax $color ${alignc}$memperc% ${color #888888}${membar}
    ${color #e9c703}Swap Usage:$color $swap/$swapmax $color ${alignc}$swapperc% ${color #888888}${swapbar}
    ${color #e9c703}Processes:$color $processes ${color #e9c703}Running:$color $running_processes
    ${color #e9c703}File systems:
    $color / ${alignc}${fs_used_perc /}% ${color #888888}${fs_bar /}
    $color /media/base2 ${alignc}${fs_used_perc /media/base2}% ${color #888888}${fs_bar /media/base2}
    $color /media/mp3 ${alignc}${fs_used_perc /media/mp3}% ${color #888888}${fs_bar /media/mp3}
    $color /media/film ${alignc}${fs_used_perc /media/film}% ${color #888888}${fs_bar /media/film}
    $color /media/varie ${alignc}${fs_used_perc /media/varie}% ${color #888888}${fs_bar /media/varie}

    ${color green}Networking ${hr 2}$color
    ${color #e9c703}Networking:${alignr}${color #e9c703}IP Address: $color${addr eth0}
    ${color #e9c703}Down:$color ${downspeed eth0} k/s ${offset 80}${color #e9c703}Up:$color ${upspeed eth0} k/s
    ${color #e9c703}Total:$color ${totaldown eth0}${offset 55}${color #e9c703}Total:$color ${totalup eth0}
    ${color #888888}${downspeedgraph eth0 20,150 888888 e9c703} ${color #888888}${upspeedgraph eth0 20,150 888888 e9c703}
    ${color #e9c703}Status:
    ${color #e9c703}Active Port(s):
    $color Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768 61000 count}${alignr}Total: ${tcp_portmon 1 65535 count}

    ${color #e9c703}Mini-top:
    ${color}Name PID CPU% MEM%
    ${color white} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
    $color ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
    $color ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
    $color ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
    ${color #e9c703}Mem usage:
    ${color white} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
    $color ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
    $color ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
    Attached Images Attached Images

  10. #460
    Join Date
    Jun 2007
    Beans
    166
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Post your .conkyrc files w/ screenshots

    Anybody got clues to display totem info in conky? I cant get the scripts to run for anything... maybe Im just missing something.
    Last edited by HarshReality; August 8th, 2007 at 07:23 AM. Reason: Updated Inquiry

Page 46 of 2348 FirstFirst ... 36444546474856961465461046 ... 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
  •