Page 1742 of 2348 FirstFirst ... 7421242164216921732174017411742174317441752179218422242 ... LastLast
Results 17,411 to 17,420 of 23480

Thread: Post your .conkyrc files w/ screenshots

  1. #17411
    Join Date
    Feb 2008
    Beans
    145
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by rusty_jones View Post
    where can i find this file. I did a search and couldn't find it. How about neon612 he has more than four days.
    You're looking for the .conkyForecast.config file correct?

    It should be in your home directory. You may have to show hidden files to actually see it. If you're running Gnome just hit Ctrl+H and it should show everything.

  2. #17412
    Join Date
    Apr 2007
    Beans
    195

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by rusty_jones View Post
    where can i find this file. I did a search and couldn't find it.
    Let us get back to you on that. I think Neon612 just found something the rest of us didn't notice before (Or were oblivious when it was brought up/solved the first time) and I'm working on it. This may change my answer to you.

    Indeed, I think I found it too. But I have to check to verify. I'm making a preliminary test file to see if I can do it. Hold on.

  3. #17413
    Join Date
    Apr 2007
    Beans
    195

    Re: Post your .conkyrc files w/ screenshots

    Well I'll be frazzled... Indeed you can have multi-day forecasts... Here's what you want to do:

    Edit the file ~/.conkyForecast.config in the following ways. (The ~ means /home/yourusername if you're looking for it in your favourite file manager.)

    Code:
    MAXIMUM_DAYS_FORECAST=5 (Or, really, 7 works too.)
    And also change these two lines:

    Code:
    BASE_XOAP_URL = http://xoap.weather.com/weather/local/<LOCATION>?cc=*&dayf=5&link=xoap&prod=xoap&par=<XOAP_PARTNER_ID>&key=<XOAP_LICENCE_KEY>&unit=m
    #BASE_XOAP_URL = http://xml.weather.com/weather/local/<LOCATION>?cc=*&dayf=10&link=xoap&prod=xoap&par=<XOAP_PARTNER_ID>&key=<XOAP_LICENCE_KEY>&unit=m
    So that the hash (#) is on the other URL line, like this:

    Code:
    #BASE_XOAP_URL = http://xoap.weather.com/weather/local/<LOCATION>?cc=*&dayf=5&link=xoap&prod=xoap&par=<XOAP_PARTNER_ID>&key=<XOAP_LICENCE_KEY>&unit=m
    BASE_XOAP_URL = http://xml.weather.com/weather/local/<LOCATION>?cc=*&dayf=10&link=xoap&prod=xoap&par=<XOAP_PARTNER_ID>&key=<XOAP_LICENCE_KEY>&unit=m
    This will let you code 5 days forecast, though I would imagine up to 10 days will work, as long as you tell the MAXIMUM_DAYS_FORECAST to use 10.

    From here, you can now just continue on and add the 5 days of variables the same way as you did with your others. Nothing changed, just change the start day to 5 and you will get the 5th day's forecast.

    @Neon612, Thanks for the head's up! I missed where he fixed that.
    Last edited by 42dorian; May 6th, 2011 at 11:07 PM.

  4. #17414
    Join Date
    Dec 2010
    Location
    Dhaka, Bangladesh
    Beans
    13
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Post your .conkyrc files w/ screenshots

    Thanks to both 42dorian and Neon612 and also rusty_jones for your question.

  5. #17415
    Join Date
    Feb 2008
    Beans
    145
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by 42dorian View Post
    Well I'll be frazzled... Indeed you can have multi-day forecasts... Here's what you want to do:

    Edit the file ~/.conkyForecast.config in the following ways. (The ~ means /home/yourusername if you're looking for it in your favourite file manager.)

    <snip>

    This will let you code 5 days forecast, though I would imagine up to 10 days will work, as long as you tell the MAXIMUM_DAYS_FORECAST to use 10.

    From here, you can now just continue on and add the 5 days of variables the same way as you did with your others. Nothing changed, just change the start day to 5 and you will get the 5th day's forecast.

    @Neon612, Thanks for the head's up! I missed where he fixed that.
    Glad I could be of service. I also did a little digging. The absolute max is 10 days, day 0-9.

  6. #17416
    Join Date
    Dec 2010
    Location
    Dhaka, Bangladesh
    Beans
    13
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Post your .conkyrc files w/ screenshots

    lol, I put my location, id, and key into the xml link and paste it in the browser. It gives me all the forecasts informations. Nice thing

  7. #17417
    Join Date
    Apr 2007
    Beans
    195

    Re: Post your .conkyrc files w/ screenshots

    And just to show what the result is, I whipped up one of my experiments to show off. I won't be keeping it all the time, but it's nice to know I can do it.

    .conkyrc.weathertest
    Code:
    #-----Conky Settings
    background yes
    no_buffers yes
    out_to_console no
    top_cpu_separate no
    cpu_avg_samples 2
    net_avg_samples 3
    total_run_times 0
    update_interval 1
    
    #-----Text Settings
    uppercase no
    override_utf8_locale yes
    short_units no
    pad_percents 0
    text_buffer_size 4096
    max_user_text 32768
    use_xft yes
    xftalpha 0.0
    xftfont DiamondFantasy:size=16
    
    #-----Window Settings
    own_window yes
    own_window_colour ffffff
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    own_window_type normal
    
    #-----Graphics Settings
    double_buffer yes
    draw_borders no
    draw_graph_borders yes
    draw_shades no
    draw_outline no
    max_specials 2048
    imlib_cache_size 0
    
    #-----Layout Settings
    alignment bottom_middle
    gap_x 0
    gap_y 80
    maximum_width 700
    minimum_size 400 300
    use_spacer right
    
    #-----Colors
    default_color 808080          #Grey Default
    default_outline_color ffffff  #White Outlines
    default_shade_color c0c0c0    #Silver Shade
    color0 ff0000									#Red
    color1 ffff00									#Yellow
    color2 ffffff									#White
    color3 808080									#Grey
    color4 00ff00									#Green
    color5 c0c0c0									#Silver
    color6 ffd700									#Gold
    color7 00ffff									#Pale?
    color8 0000FF									#Blue
    color9 404040									#DarkGrey
    
    TEXT
    ${color2}WEATHER: ${execi 3600 conkyForecast -d CN}${color0}${hr 1}${color2}
    Now${goto 75}${execi 3600 conkyForecast -d DW -w -s 1}${goto 135}${execi 3600 conkyForecast -d DW -w -s 2}${goto 195}${execi 3600 conkyForecast -d DW -w -s 3}${goto 255}${execi 3600 conkyForecast -d DW -w -s 4}${goto 315}${execi 3600 conkyForecast -d DW -w -s 5}${goto 375}${execi 3600 conkyForecast -d DW -w -s 6}
    #-----High Temp:
    H:${font TransponderAOE:bold}${execi 3600 conkyForecast -d HT -u -x}°C${goto 75}${execi 3600 conkyForecast -d HT -u -x -s 2}°C${goto 135}${execi 3600 conkyForecast -d HT -u -x -s 4}°C${goto 195}${execi 3600 conkyForecast -d HT -u -x -s 4}°C${goto 255}${execi 3600 conkyForecast -d HT -u -x -s 5}°C${goto 315}${execi 3600 conkyForecast -d HT -u -x -s 6}°C${goto 375}${execi 3600 conkyForecast -d HT -u -x -s 7}°C${font}
    #-----Low Temp:
    L:${font TransponderAOE:bold}${execi 3600 conkyForecast -d LT -u -x}°C${goto 75}${execi 3600 conkyForecast -d LT -u -x -s 2}°C${goto 135}${execi 3600 conkyForecast -d LT -u -x -s 4}°C${goto 195}${execi 3600 conkyForecast -d LT -u -x -s 4}°C${goto 255}${execi 3600 conkyForecast -d LT -u -x -s 5}°C${goto 315}${execi 3600 conkyForecast -d LT -u -x -s 6}°C${goto 375}${execi 3600 conkyForecast -d LT -u -x -s 7}°C${font}
    #-----Weather Conditions:
    ${color1}${font conkyWeather:size=30}${execi 3600 conkyForecast -d WF}${goto 75}${execi 3600 conkyForecast -d WF -s 2}${goto 135}${execi 3600 conkyForecast -d WF -s 3}${goto 195}${execi 3600 conkyForecast -d WF -s 4}${goto 255}${execi 3600 conkyForecast -d WF -s 5}${goto 315}${execi 3600 conkyForecast -d WF -s 6}${goto 375}${execi 3600 conkyForecast -d WF -s 7}${color2}${font}
    ${goto 100}Night Values:#-----Night Values:High Temp
    ${voffset 25}${goto 5}H:${font TransponderAOE:bold}${execi 3600 conkyForecast -d HT -u -x -n}°C${goto 75}${execi 3600 conkyForecast -d HT -u -x -s 2 -n}°C${goto 135}${execi 3600 conkyForecast -d HT -u -x -s 3 -n}°C${goto 195}${execi 3600 conkyForecast -d HT -u -x -s 4 -n}°C${goto 255}${execi 3600 conkyForecast -d HT -u -x -s 5 -n}°C${goto 315}${execi 3600 conkyForecast -d HT -u -x -s 6 -n}°C${goto 375}${execi 3600 conkyForecast -d HT -u -x -s 7 -n}°C${font}
    #-----Low Temp:Night
    L:${font TransponderAOE:bold}${execi 3600 conkyForecast -d LT -u -x -n}°C${goto 75}${execi 3600 conkyForecast -d LT -u -x -s 2 -n}°C${goto 135}${execi 3600 conkyForecast -d LT -u -x -s 3 -n}°C${goto 195}${execi 3600 conkyForecast -d LT -u -x -s 4 -n}°C${goto 255}${execi 3600 conkyForecast -d LT -u -x -s 5 -n}°C${goto 315}${execi 3600 conkyForecast -d LT -u -x -s 6 -n}°C${goto 375}${execi 3600 conkyForecast -d LT -u -x -s 7 -n}°C
    #-----Weather Conditions:Night 
    ${color1}${font conkyWeather:size=30}${execi 3600 conkyForecast -d WF -n}${goto 75}${execi 3600 conkyForecast -d WF -s 2 -n}${goto 135}${execi 3600 conkyForecast -d WF -s 3 -n}${goto 195}${execi 3600 conkyForecast -d WF -s 4 -n}${goto 255}${execi 3600 conkyForecast -d WF -s 5 -n}${goto 315}${execi 3600 conkyForecast -d WF -s 6 -n}${goto 375}${execi 3600 conkyForecast -d WF -s 7 -n}${color2}${font}
    #-----Wind Direction
    ${font ConkyWindNESW:size=40}${execi 3600 conkyForecast -d BF}${goto 75}${execi 3600 conkyForecast -d BF -s 2}${goto 135}${execi 3600 conkyForecast -d BF -s 3}${goto 195}${execi 3600 conkyForecast -d BF -s 4}${goto 255}${execi 3600 conkyForecast -d BF -s 5}${goto 315}${execi 3600 conkyForecast -d BF -s 6}${goto 375}${execi 3600 conkyForecast -d BF -s 7}${font}
    #-----Wind Speed(With spacing edit by VinDSL)
    ${font TransponderAOE:bold}${execi 3600 conkyForecast -d WS | sed -e 's/calm'/' Calm/g' -e 's/kph'/' kph/g'}${goto 75}${execi 3600 conkyForecast -d WS -s 2 | sed -e 's/calm'/' Calm/g' -e 's/kph'/' kph/g'}${goto 135}${execi 3600 conkyForecast -d WS -s 3 | sed -e 's/calm'/' Calm/g' -e 's/kph'/' kph/g'}${goto 195}${execi 3600 conkyForecast -d WS -s 4 | sed -e 's/calm'/' Calm/g' -e 's/kph'/' kph/g'}${goto 255}${execi 3600 conkyForecast -d WS -s 5 | sed -e 's/calm'/' Calm/g' -e 's/kph'/' kph/g'}${goto 315}${execi 3600 conkyForecast -d WS -s 6 | sed -e 's/calm'/' Calm/g' -e 's/kph'/' kph/g'}${goto 375}${execi 3600 conkyForecast -d WS -s 7 | sed -e 's/calm'/' Calm/g' -e 's/kph'/' kph/g'}${font}
    .conkyForecast.config
    Code:
    # config settings for conkyForecast.py
    DEFAULT_LOCATION = <Censored>
    CACHE_FOLDERPATH = /tmp/
    CONNECTION_TIMEOUT = 10
    EXPIRY_MINUTES = 30
    TIME_FORMAT = %I:%M %p
    DATE_FORMAT = %d-%m-%Y
    LOCALE = 
    XOAP_PARTNER_ID = <Censored>
    XOAP_LICENCE_KEY = <Censored>
    MAXIMUM_DAYS_FORECAST = 7
    AUTO_NIGHT = False
    #BASE_XOAP_URL = http://xoap.weather.com/weather/local/<LOCATION>?cc=*&dayf=5&link=xoap&prod=xoap&par=<XOAP_PARTNER_ID>&key=<XOAP_LICENCE_KEY>&unit=m
    BASE_XOAP_URL = http://xml.weather.com/weather/local/<LOCATION>?cc=*&dayf=10&link=xoap&prod=xoap&par=<XOAP_PARTNER_ID>&key=<XOAP_LICENCE_KEY>&unit=m
    PROXY_HOST = 
    PROXY_PORT = 8080
    PROXY_USERNAME = 
    PROXY_PASSWORD =
    And a screenshot of it in action. Showing it works.
    Attached Images Attached Images

  8. #17418
    Join Date
    Apr 2011
    Location
    USA
    Beans
    1

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Neon612 View Post
    Not entirely true. Somewhere on here about a year ago I found a way to get the weather for today and the next 7 days. I'm not sure who I copied it from but I know it was in the galleries on Conky Pitstop.

    Let me check on a few things and I'll get back to ya.

    EDIT:
    Okay Found the link http://conky.pitstop.free.fr/wiki/in...y_2010_%281%29

    Look at Sector11's about halfway down the page. Theres an orange cube in the center of the screenshot.
    From our compadres at #! - Post 2166, Sector11 has a nine day template.

  9. #17419
    Join Date
    Apr 2007
    Beans
    195

    Re: Post your .conkyrc files w/ screenshots

    Yes Yes. We've established already that I simply missed it the first time. I'm not on the CrunchBang forums, nor am I a member of Conky-Pitstop. Now that I know, and I know how to convert from standard 4 day to 5-10 day mode, I won't say it's not possible anymore. It's been a very long time since this was an issue. I'm not perfect okay?

    *EDIT* P.S. I'm colourblind. I won't see any sort of coloured anything in an example you show me. Just for future reference. Okay, I'll see it, just not in colour. I do understand shapes and locations, but you say a colour and my brain turns right off. The only reason I use Blue and Red on the forums is because I can use the word in the tag to get the effect. It's by memory, I don't actually see it.
    Last edited by 42dorian; May 7th, 2011 at 12:14 AM.

  10. #17420
    Join Date
    Oct 2008
    Beans
    90

    Re: Post your .conkyrc files w/ screenshots

    thanks to everyone who helped with the problem. You all are the bomb!!!

    Rusty

Page 1742 of 2348 FirstFirst ... 7421242164216921732174017411742174317441752179218422242 ... 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
  •