Page 2212 of 2348 FirstFirst ... 1212171221122162220222102211221222132214222222622312 ... LastLast
Results 22,111 to 22,120 of 23480

Thread: Post your .conkyrc files w/ screenshots

  1. #22111
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by dk75 View Post


    Should I compile newer version? But this works...
    You ... you ... you ... way to go! =D>

    I hate you ... and I mean that in a very NICE way!

    kinda like "Oh that's bad!" meaning good!

    * do you have it as a deb? or
    * can you post the "executable" ?
    * is it LUA? ... I see:
    * old configuration syntax
    and I'm thinking yes ....
    * does it have problems converting old conky code?

    Oh how I wanna test that!!!
    So many questions ... so little time ...


    HEY!!!!! Wait a minute ... newer version?

  2. #22112
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by VinDSL View Post
    You might find this link interesting, too...


    Mateusz Łukasik's EvilWM PPA
    Oh good another one.

    +1 on that as well! Thank you.

  3. #22113
    Join Date
    Jan 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Sector11 View Post
    You ... you ... you ... way to go! =D>

    I hate you ... and I mean that in a very NICE way!

    kinda like "Oh that's bad!" meaning good!

    * do you have it as a deb? or
    * can you post the "executable" ?
    * is it LUA? ... I see:

    and I'm thinking yes ....
    * does it have problems converting old conky code?

    Oh how I wanna test that!!!
    So many questions ... so little time ...


    HEY!!!!! Wait a minute ... newer version?
    It installs to /usr/local

    conky-pre2_2.0_git20121101-1_amd64.deb (453KiB)
    conky-pre2_2.0_git20121101-1_i386.deb (451KiB)
    Linux Debian Sid (Minted) x86_64/3.12.10, Conky 2.0_pre, Xorg 7.7/1.15.0, KDE 4.11.5, Lenovo T61, Intel X3100, HITACHI HTS722010K9SA00 100GB, WDC_WD5000BEVT 500GB
    Linux user No.: 483055 | My Conky Pitstop corner | One4All project

  4. #22114
    Join Date
    Dec 2009
    Beans
    263

    Re: Post your .conkyrc files w/ screenshots

    Ok, I need help.
    For the last month or so, with the invaluable "help" from Sector11 (I put "help" because, in reality, he did almost everything for me, and I just moved things around a bit, and changed some colors), I got to a point where my desktops are finally starting to look like something.
    However, I have right now 4 conkys working. Of course, you may agree with me, who could possibly live with only 4 measly conkys on his computer?
    That brings us to my question: I'm trying to learn how to pull the data from a website, to display it on conky. I know (Sector11 told me) that it involves using wget.
    But, when I run a search, it directs me to this thread. Now, going through 2000+ pages on a slow, not always working wireless connection is a daunting task. Can anybody direct me to the information, or tell me how to get it?

    Thanks in advance.

  5. #22115
    Join Date
    Oct 2008
    Beans
    3,509

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Inodoro Pereyra View Post
    Ok, I need help.
    For the last month or so, with the invaluable "help" from Sector11 (I put "help" because, in reality, he did almost everything for me, and I just moved things around a bit, and changed some colors), I got to a point where my desktops are finally starting to look like something.
    However, I have right now 4 conkys working. Of course, you may agree with me, who could possibly live with only 4 measly conkys on his computer?
    That brings us to my question: I'm trying to learn how to pull the data from a website, to display it on conky. I know (Sector11 told me) that it involves using wget.
    But, when I run a search, it directs me to this thread. Now, going through 2000+ pages on a slow, not always working wireless connection is a daunting task. Can anybody direct me to the information, or tell me how to get it?

    Thanks in advance.
    Use wget or curl to retrieve the html of the website.
    Eg this site I use in one of my conkys
    Code:
    curl --retry 4 "http://www.srosurf.com" | sed -e :a -e 's/<[^>]*>//g;/</N;//ba' | sed 's/&nbsp;/ /g' > ~/conky/curl/surfreport.txt
    The sed commands remove most of the html code then saves as...
    surfreport.txt
    Code:
    
      
       
      
      
    &quot;Perth Daily Surf Reports and forecasts&quot;
    
                                 
        
    
    
    
    
    
     
    
    
    
    
     
     
     
     HOME
     NEWS
     SURF REPORT / WIND & WAVES 
     REAL TIME SURF CHECK
     FORECASTS
     
     
    
    
    
    
    
    
    
    
     
    
    
    
    
    
    THIS IS A NON PROFIT SITE
     
     
     
     
    
     
      ::  Wallpaper
     
     
    
    
     
     
     
       ::  Surf 
    dictionary
     
    
    
    
     
     
     
       ::  Accomodation
     
     
    
    
     
     
     
       ::  Board repairs
     
     
    
    
     
     
     
       ::  Letters
     
     
    
    
     
     
     
       ::  Awards
     
     
    
    
     
     
     
       ::  About Marz
     
     
    
    
     
     
     
       ::  Services
     
     
    
    
     
     
     
       ::  Contact us
     
     
    
    
     
     
    
     
     
     
    
    WIND & WAVES
    :: Perth Metro  
    forecast
    :: Perth Coast
    :: Geograph Coast
    :: Leeuwin Coast 
    :: Albany Coast
    :: Esperance Coast
    :: 4 Day forecast chart 
    :: Synoptic Charts
    :: UV Forecast Perth
    :: All West Oz forecasts
    :: Aust Cyclone Track
    :: Cyclone Warnings
    
    
    COAST/SURF CAMS
    :: Trigg  
    Point
    :: Trigg Beach  
    South
    :: Swanbourne
    
    
    
    :: World Sea  
    Temps
    :: Satellite 
    wind  
    sensors
    :: World Satellite  
    Photo
    :: Surface
    winds
    :: Aust 
    Satellite Photo
    :: Radar  
    Image
    :: Wind Strength  
    Scale
    :: Weather 
    Dictionary
    
    SROSURF.COM IS
    
    INTERNATIONALLY RENOWNED
    
    
    
    THE SURF REPORT
    Select location by clicking on links below
     PERTH   
     MANDURAH   
     MARGARET RIVER  
    .
    
     
      
        
    Teusday 25/06/13
    report filed: 7:10am
    
     
     
    
    
    
    
    
    
     PERTH   Metro Area 
    
    
    
     
    
    RECOMENDED BOARD FOR TODAY:
    One from a West Australian company.
    WIND:  Light W/SW.
    WAVES: Head to head high plus waves on the beach breaks.
    COMMENTS:  Plenty of swell on offer along the metro coast this morning, but unfortunately the wind is not doing us any favours.  Beach breaks are pretty much maxing out, but the good news is plenty of swell along the reef breaks. Once that wind swings SW the protected reefs and groynes will be joy.. 
    Rating: 1.5 out of 10. 
    Support your local shaper, support your local surf shop.
    
     Check the latest swell/wind forecast
    REMEMBER THE ONLY THING YOU SHOULD LEAVE ON THE BEACH ARE YOUR FOOTPRINTS, RUBBISH GOES IN THE BIN.   
    
    
    CLICK HERE
    SWELL BUOYS
    :: Swell Buoys 
    (ALL)
    :: Cape 
    Naturaliste
    :: Rottnest/Metro
    :: Cottesloe
    :: Jurien
    CLICK HERE
    SWELL FORECASTS
    :: NOAA Wave 
    models
    ::
     Current  
    swell Map
    :: 24hr swell  
    forecast
    :: 2 day swell  
    forecast
    :: 3 day swell  
    forecast
    :: 4 day swell  
    forecast
    :: 5 day swell  
    forecast
    :: 6 day swell  
    forecast
    :: All Maps
    :: Swell/Wind  
    maps
    
     
    TIDES
    :: Carnarvon
    :: Geraldton
    :: Perth
    :: Fremantle
    :: Mandurah
    :: Bouvard
    :: Bunbury
    :: Naturaliste
    :: Cowaramup
    :: Augusta
    :: Albany
    :: Esperance
    
    
     
     
     
    CONTACT US
    |
    ADVERTISE WITH SRO
    |
    DISCLAIMER NOTICE
    |
    COPYRIGHT NOTICE
    |
    ABOUT THE SURF REPORT
    |
    ACKNOWLEDGEMENTS
    
     
     
    
    A West Australian  
    Production      THE ORIGINAL AND STILL THE BEST      Local surfers, 
    providing local  
    content...................Life is like a long wall on a wave.  Every now and then a section 
    pops up that you have to make your way  
    around.  Remember this, every wave is different, just like every day in your life will 
    be.....srosurf.com&copy; 2002  
    
    
    SRO Western Australia's first premium Surfing Site the original and still the 
    best!
    copyright 1996 SRO www.srosurf.com All rights reserved
    IP, concept and design applies.


    Then it's just a matter of putting that into conky.
    I have various sites I get info from so I put all the curl commands in one
    curl-template bash script.
    Code:
    #!/bin/bash
    
    curl --retry 4 "ftp://ftp2.bom.gov.au/anon/gen/fwo/IDW12300.txt" > ~/conky/curl/bomforecast.txt
    
    curl --retry 4 "http://www.bom.gov.au/wa/observations/perth.shtml" > ~/conky/curl/bomtemp
    
    #curl --retry 4 'http://www.weather.com.au/' | grep -A4 Perth | sed -e :a -e 's/<[^>]*>//g;/</N;//ba' | tail -n1 | tr -d '\r' | tr -d [:blank:] > ~/conky/curl/maxtemp
    
    curl --retry 4 "http://wap.seabreeze.com.au/state.asp?s=0000004" | sed -e :a -e 's/<[^>]*>//g;/</N;//ba' > ~/conky/curl/sbwind
    
    curl --retry 4 "http://www.srosurf.com" | sed -e :a -e 's/<[^>]*>//g;/</N;//ba' | sed 's/&nbsp;/ /g' | sed 's/Support your local shaper, support your local surf shop.//g' > ~/conky/curl/surfreport.txt
    
    curl --retry 4 'http://www.transport.wa.gov.au/imarine/coastaldata/tidesandwaves/stampgif_dg.asp?gfx=RDW_POLD' > ~/conky/curl/rottoswell.gif
    
    curl --retry 4 "ftp://ftp2.bom.gov.au/anon/gen/fwo/IDW11400.txt" | tr "\r" " " | sed -e :a -e 's/<[^>]*>//g;/</N;//ba' > /home/glen/conky/curl/swell.txt
    In conky, I use this to run the curl commands...
    Code:
    ${execi 3600 ~/conky/curl/curl-template}
    Then choose what to display in conky using cat.
    Eg
    Test in terminal...
    Code:
    glen@Raring:~$ cat ~/conky/curl/surfreport.txt | grep -m 1 "COMMENTS:" | fold -sw86
    COMMENTS:  Plenty of swell on offer along the metro coast this morning, but 
    unfortunately the wind is not doing us any favours.  Beach breaks are pretty much 
    maxing out, but the good news is plenty of swell along the reef breaks. Once that 
    wind swings SW the protected reefs and groynes will be joy..
    Then put into conky.
    Code:
    ${execi 3600 cat ~/conky/curl/surfreport.txt | grep -m 1 "COMMENTS:" | fold -sw86}
    The grep sed awk tr and fold commands I only have a basic knowledge of and just use the man pages
    and google code snippets for the task I want to perform.

    The attached pic shows surf and weather info grabbed from various
    local websites and displayed in conky.
    Attached Images Attached Images
    Last edited by stinkeye; June 25th, 2013 at 04:00 PM.

  6. #22116
    Join Date
    Dec 2009
    Beans
    263

    Re: Post your .conkyrc files w/ screenshots

    Thank you Stinkeye. I'm gonna study it as soon as I have the time.
    "Somebody" (I won't name him) was absolutely certain it'd be YOU who'd answer my question. Looks like he was right.

    But I have another one: What URL do I use? I mean, I "think" I saw somewhere I should use the RSS feed, but I'm not even sure it isn't something I imagined, or something completely unrelated. Is that what I should use?

  7. #22117
    Join Date
    Oct 2008
    Beans
    3,509

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Inodoro Pereyra View Post
    Thank you Stinkeye. I'm gonna study it as soon as I have the time.
    "Somebody" (I won't name him) was absolutely certain it'd be YOU who'd answer my question. Looks like he was right.

    But I have another one: What URL do I use? I mean, I "think" I saw somewhere I should use the RSS feed, but I'm not even sure it isn't something I imagined, or something completely unrelated. Is that what I should use?
    Use whatever has the info you want.
    What your downloading is the page source...the same as what you would see if when in firefox, you right click on the page and "View Page Source".
    Code:
    curl --retry 4 "URL"  > /save/to/path/file.txt
    Then it's a matter of working out how to grab the piece of info you want from the saved file.
    Open the saved file in your text editor and search for the info you want.

    If you look at my last post....
    I grep for "COMMENTS:" because although the actual comments change each day, the string "COMMENTS:" is constant and unique.
    cat ~/conky/curl/surfreport.txt | grep -m 1 "COMMENTS:" | fold -sw86
    The grep command outputs any line that contains "COMMENTS:". The -m 1 makes grep stop reading the file after one matching line.

    I was lucky with this one because the comments are all in one line and I only needed to use fold -sw86
    to wrap the line to fit into my conky.

    This page has some useful sed oneliners
    http://sed.sourceforge.net/sed1line.txt

    Post the website and info you want if you like.
    I can try with my limited knowledge or I am sure someone else will help.
    Last edited by stinkeye; June 26th, 2013 at 04:06 AM.

  8. #22118
    Join Date
    Dec 2009
    Beans
    263

    Re: Post your .conkyrc files w/ screenshots

    Thanks again Stinkeye. That should do it.
    I will study all that, as soon as I have a day off...

  9. #22119
    Join Date
    Apr 2009
    Location
    Decatur, Il.
    Beans
    129
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Post your .conkyrc files w/ screenshots

    Hey all, I was wondering if you can help me changing a sensor reading from celcius to imperial/farenheit. there was different things in the script that was changed by tempature_unit imperial, but it didn't work with this sensor part for the HDD reading:

    Code:
    HDD${font}${GOTO 1270}:  ${execi 4 sensors | grep -A 0 'temp1' | cut -c15-18} °C
    We are 138

  10. #22120
    Join Date
    Oct 2008
    Beans
    3,509

    Re: Post your .conkyrc files w/ screenshots

    Code:
    ${execi 4 sensors -f | grep -A 0 'temp1' | cut -c15-18} °F
    Is that your hdd temp though? Sensors doesn't give me hdd temps.
    hddtemp does.
    eg
    Code:
    ${execi 10 hddtemp -n /dev/sdb}
    for Fahrenheit...
    Code:
    ${execi 10 hddtemp -n -u F /dev/sdb}
    Last edited by stinkeye; June 27th, 2013 at 06:24 PM.

Page 2212 of 2348 FirstFirst ... 1212171221122162220222102211221222132214222222622312 ... 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
  •