Page 123 of 2299 FirstFirst ... 23731131211221231241251331732236231123 ... LastLast
Results 1,221 to 1,230 of 22981

Thread: Post your .conkyrc files w/ screenshots

  1. #1221
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Praadur View Post
    Below is the code for what I'm using currently. It's designed to suit me uniquely, in that it has a clear (big) font so that I can tell at a glance all the information I need to know, yet it's not big enough to obscure the magnificent Dragon I have as my desktop wallpaper. Perhaps another will find my simplistic approach useful though, I know not!
    I borrowed your $time codes, first I've see of them. And played with them to get my own flavour. Thanks.

    BTW: Great Dragon!

    Bruce

  2. #1222
    Join Date
    Nov 2007
    Location
    USA-ish
    Beans
    206
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Post your .conkyrc files w/ screenshots

    It's looking nice Bruce!

  3. #1223
    Join Date
    Nov 2007
    Location
    Wales, UK
    Beans
    12
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Post your .conkyrc files w/ screenshots

    Glad to be of service, Bruce.

    I saw someone using one or two vars a number of pages back, and I basically thought to myself that that looked very much like the variables which are used by the PHP/Perl date() function. As it turns out, they were exactly that and pretty much anything that can be passed via that function can e used the same way in $time{stuff}. Well, that's my conclusion at least!

    -

    Oh, and to give credit to the Dragon wallpaper I'm using, I got the original image from deviantART. It was a grand find as it seemed to be perfectly suited to the shape of laptop desktops.
    Last edited by Praadur; December 27th, 2007 at 11:32 PM.

  4. #1224
    Join Date
    Nov 2007
    Location
    USA-ish
    Beans
    206
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Post your .conkyrc files w/ screenshots

    I finally got my desktop conky the way I want it (though I copied some stuff shamelessly from a friend's conky). It has everything I wanted on mine, but didn't have the screen space for, so I swiped some space-saving ideas.

    The conkyrc:

    Code:
    # UBUNTU-CONKY
    # A comprehensive conky script, configured for use on
    # Ubuntu / Debian Gnome, without the need for any external scripts.
    #
    
    # Create own window instead of using desktop (required in nautilus)
    own_window yes
    own_window_hints undecorated,below,skip_taskbar
    background yes
    
    # 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 3.0
    
    # Minimum size of text area
    minimum_size 250 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
    draw_graph_borders no
    
    # Default colors and also border colors, grey90 == #e5e5e5
    default_color Lightgrey
    default_shade_color black
    default_outline_color Lightgrey
    
    own_window_transparent yes
    own_window_type override
    
    # 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 32
    
    # stuff after 'TEXT' will be formatted on screen
    
    use_xft yes
    override_utf8_locale no
    xftfont proggycleantt-12
    #xftfont DejaVu Sans Mono - 8
    xftalpha 0.8
    
    maximum_width 190
    
    TEXT
    ${color #ddaa00}$nodename ($sysname/$machine)${color}
    ${color slate grey}${hr 1}${color}
    ${font Vera:size=10}${time %a, } ${time %B %e, %G}${font}
    ${font Vera:size=20}${time %I:%M %P}${font}
    ${color slate grey}${hr 1}${color}
    ${color slate grey}UpTime: $alignr${offset -12}${color}$uptime
    ${color slate grey}Kern: $alignr${offset -12}${color}$kernel
    ${color slate grey}CPU: $alignr${offset -12}${color}${execi 10000 cat /proc/cpuinfo | grep "model name" | cut -c14-30}
    ${color slate grey}Speed: $alignr${offset -12}${color}${execi 10000 cat /proc/cpuinfo | grep "model name" | cut -c32-36} (${freq_g}GHz)
    ${color slate grey}Mem: $alignr${offset -12}${color}$memmax
    ${color slate grey}Temp (MB): $alignr${offset -12}${color}${color #ddaa00}${i2c 1-002d temp 4}C (${i2c 1-002d temp 1}C)${color}
    
    ${color slate grey}Vid: ${color} ${color}${execi 10000 nvclock -i | grep 'Card:' | cut -c9-27}
    ${color slate grey}GPU:$alignr${offset -12}${color} ${tab 4}${color}$alignr${offset -12}${execi 10000 nvclock -i | grep 'Architecture:' | cut -c16-22} - ${execi 10000 nvclock -i | grep 'GPU clock:' | cut -c13-15}MHz
    ${color slate grey}Mem:$alignr${offset -12}${color}${execi 10000 nvclock -i | grep 'Amount:' | cut -c10-15} ${execi 10000 nvclock -i | grep 'Type:' | cut -c16-18}
    ${color slate grey}Temp: $alignr${offset -12}${color #ddaa00}${execi 30 nvclock -T | grep temperature | cut -c21-23}
    ${color slate grey}${hr 1}${color}
    ${cpugraph 20,180 000000 cc0000}
    ${color slate grey}CPU:${color} $alignr${offset -12} ${cpu}% ${cpubar 3,95}
     load:     $loadavg
     proc:     $processes  
     runn:     $running_processes
    
    ${color slate grey}Top CPU:${color}
     ${color #ddaa00}${top name 1}    ${top_mem cpu 1}${color}
     ${color lightgrey}${top name 2}    ${top cpu 2}${color}
     ${color lightgrey}${top name 3}    ${top cpu 3}${color}
     ${color lightgrey}${top name 4}    ${top cpu 4}${color}
    
    ${color slate grey}Top MEM:${color}
     ${color #ddaa00}${top_mem name 1}    ${top_mem mem 1}${color}
     ${color lightgrey}${top_mem name 2}    ${top_mem mem 2}${color}
     ${color lightgrey}${top_mem name 3}    ${top_mem mem 3}${color}
     ${color lightgrey}${top_mem name 4}    ${top_mem mem 4}${color}
    
    ${color slate grey}Mem:${color}
     ram: $alignr${offset -12}$memperc% ${membar 3,95}
     swap: $alignr${offset -12}$swapperc% ${swapbar 3,95}
    
    ${color slate grey}Fans:${color}
     cpu:$alignr${offset -12}${color #ddaa00}${i2c 1-002d fan 1}${color} RPM
     case:$alignr${offset -12}${color #ddaa00}${i2c 1-002d fan 2}${color} RPM
    
    ${color slate grey}Drives:${color}
     root: $alignr${offset -12}${fs_used_perc /}% ${fs_bar 3,95 /}
     data: $alignr${offset -12}${fs_used_perc /media/data}% ${fs_bar 3,95 /media/data}
     ntfs: $alignr${offset -12}${fs_used_perc /media/windows}% ${fs_bar 3,95/media/windows}
    
    ${color slate grey}Network:${color}
     upload (k/s): ${upspeed eth0}
    ${upspeedgraph eth0 20,180 000000 00ff00}
     dnload (k/s): ${downspeed eth0}
    ${downspeedgraph eth0 20,180 000000 ffff00}
    
    ${color slate grey}IP Addr:${color} $alignr${offset -12}${execi 10000 /home/cammy/.scripts/.wan-ip}
    Attached Images Attached Images
    Last edited by Cammy; December 28th, 2007 at 03:50 AM.

  5. #1225
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Cammy View Post
    It's looking nice Bruce!
    Looks a whole lot different than the original I {cough cough} borrowed from here.

    That's because of people like you and .... well, just about everyone. =D>

    Now I can tell what time it is in Canada when that "ET phone home" feeling hits me.

    When I get the weather working I'll get rid of one "panel" that has nothing but weather and the "gWorldClock" on it, and the weather Channel "add-on" for Firefox. So conky is cleaning up my desktop and Firefox in that respect and giving me a lot more for doing it.

    Now as you saw, it's not finished. My forehead is getting numb from those brick walls. So I took a break from conky this evening and visited http://gnome-look.org/

    I now have:

    1. the "stop light" affect for the "Minimize, Maximize and Close" (Smoothie) buttons. (been looking for them for a while now)
    2. new mouse pointers (PolarCursorTheme-Blue)
    3. Penguins as my Login Screen (I have a Dream)

    Oh, and I checked out http://ubuntuforums.org/showthread.php?t=628244 too

    Been a busy little beaver today.

    Bruce
    Attached Images Attached Images

  6. #1226
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Cammy View Post
    I finally got my desktop conky the way I want it (though I copied some stuff shamelessly from a friend's conky). It has everything I wanted on mine, but didn't have the screen space for, so I swiped some space-saving ideas.
    AH HA! You have a couple of things more that I want ( but haven't mentioned ) so I ... ummmm ... borrowed your code, that you shamelessly borrowed from a friend, to look at.

    Thank you kindly.

  7. #1227
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Praadur View Post
    Glad to be of service, Bruce.
    Played with it for a long time this morning, getting different formats because I didn't have the man file that conky variables says to see. I wasn't about to install a couple of files just to get it either.

    No siree! I'm a Taurus ~ I just plowed on right through that China Shop!

    Quote Originally Posted by Praadur View Post
    I saw someone using one or two vars a number of pages back, and I basically thought to myself that that looked very much like the variables which are used by the PHP/Perl date() function. As it turns out, they were exactly that and pretty much anything that can be passed via that function can e used the same way in $time{stuff}. Well, that's my conclusion at least!
    See, that's where you are one up on me.
    To me:

    PHP: could mean Pretty Hard Post - walk around
    Perl: something you get out of an oyster

    and to add to the list:
    Apple: A fruit of which there many types. ie: Granny Smith.
    Macintosh: a specific type of the Apple fruit see above.
    Python: A snake
    Windows: a device built into walls (generally) of buildings, can be opened and closed.

    So you see, it wasn't as easy for me as it was for you.

    Quote Originally Posted by Praadur View Post
    -
    ?? OK what should I add? a +, a / or a *
    Is this a math quiz?

    Quote Originally Posted by Praadur View Post
    Oh, and to give credit to the Dragon wallpaper I'm using, I got the original image from deviantART. It was a grand find as it seemed to be perfectly suited to the shape of laptop desktops.
    I'll have to check them out, I use: http://interfacelift.com/wallpaper/

    Catch you later.
    Thanks
    Bruce

  8. #1228
    Join Date
    Nov 2007
    Location
    USA-ish
    Beans
    206
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Bruce M. View Post
    AH HA! You have a couple of things more that I want ( but haven't mentioned ) so I ... ummmm ... borrowed your code, that you shamelessly borrowed from a friend, to look at.

    Thank you kindly.
    lol feel free. Just be aware that the $execi's are pretty CPU intensive, so if you have a slow processor, don't go overboard with them. I probably have too many as it is.

  9. #1229
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    My head hurts. been trying stuff all morning.

    Nothing, zero, zilch.

    OK, this post: Weather...
    I have matthews script ... I made my changes:

    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
    # Modified again by matthewEDIT EDIT EDIT:EDIT EDIT EDIT:
    # 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 (Fes, Morocco):
    # ${execi 1800 /home/user/weather/weather.sh MOXX0003}
    # ${execi 1800 /home/bruloo/Documents/Conky Scripts/weather/weather.sh ARDF0127}
    
    
    # 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=$ARDF0127
    
    # s=standard units, m=metric units
    UNITS=m
    
    # where this script and the XSLT lives
    RUNDIR=/home/bruloo/Documents/Conky Scripts/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"
    Code:
    http://xoap.weather.com/search/search?where=Buenos Aires
    
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!--This document is intended only for use by authorized licensees of The Weather Channel. Unauthorized use is prohibited. Copyright 1995-2005, The Weather Channel Interactive, Inc. All Rights Reserved.-->
    <search ver="2.0">
      <loc id="ARDF0127" type="1">Aeroparque Buenos Aires, Argentina</loc>
      <loc id="ARBA0009" type="1">Buenos Aires, Argentina</loc>
    </search>
    No problem with these, they exist:

    /home/bruloo/Documents/Conky Scripts/weather (/weather.sh)
    /usr/bin/curl
    /usr/bin/xsltproc

    This is where I think the problem is:
    XSLT=$RUNDIR/weather.xslt

    which would translate out to:

    XSLT=/home/bruloo/Documents/Conky Scripts/weather/weather.xslt

    What is this "weather.xslt"? I don't have one!

    I added this to conky ...

    Code:
    ${execi 1800 /home/bruloo/Documents/Conky Scripts/weather/weather.sh ARDF0127}
    Nothing, zero, zilch. Right back at the beginning!

    Sometimes I feel like such a DUH!

    Then I remember something a teacher told me:
    Don't feel dumb if you haven't been taught something.
    Feel dumb if someone taught you and you didn't learn!

    EDIT EDIT EDIT:
    Whoa! I did some more reading of something matthew suggested, his blog, and found his "weather.xslt".
    Going to work with that.
    Note to Self: Slow down and walk around the walls, smelling the roses along the way.
    Last edited by Bruce M.; December 28th, 2007 at 09:57 PM. Reason: See EDIT!

  10. #1230
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Cammy View Post
    lol feel free. Just be aware that the $execi's are pretty CPU intensive, so if you have a slow processor, don't go overboard with them. I probably have too many as it is.
    You just ped my Bubble, and didn't even get to eat the corn. What I ended up looking at was an $execi. {sigh}

    The only one I want to use of those is for weather.
    Don't think my old P-III - 800MHtz (Conky says: 797) can handle to many.


    Bruce

Page 123 of 2299 FirstFirst ... 23731131211221231241251331732236231123 ... 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
  •