Dear my friend paramvir hi, sorry bothering you with my problem seems that the five-day forecast is true, but icons are not displayed and their position is the indication N / A you attach the correct debug file
Thank you for support
Printable View
Hey Many thanks for that message :)
There is a small bug which we can fix - you will need to add one line in the file /usr/share/conkywx/lib/conkywx.pl
The function is parse_fct see the line below with the text Insert This Code and forecast will start working.
Have a fantastic day ):PPHP Code:
sub parse_fct {
# read downloaded forecast file if intellicast, msn or weather.com used as forecast sites
if ($debug) { msgout( $LMsg{dbg_msg_str1}, sub_name() ); }
# if ($wx{title} ne $wx{fct_stn} || $wx{title} eq "wx" && $wx{fct_stn} eq "wx") {
if ( ! $wx{fctstr} ) {
if ( -e $fct_data ) {
# my (@fctfile);
undef(@localdb);
open (FILE, '<:crlf', "$fct_data") or die "$LMsg{no_open_file} forecast data file $!";
@localdb = <FILE> ;
close (FILE);
# push( @localdb, @fctfile ) ;
if ( $wx{fct_stn} eq "intel" ) {
$wx{fctstr} = get_line_num( "<dataset seriesName='Highs'", "<dataset seriesName='Lows'",3 );
}
elsif ( $wx{fct_stn} eq "msn" ) {
($wx{ltxt},$wx{rtxt}) = get_line_num('forecast-list','dailydetails',1);
foreach(@localdb[($wx{ltxt}-1) .. ($wx{rtxt})]) {
chomp;
if (index($_, 'aria-label') != -1 ) { $wx{fctstr} .= $_ }
if (index($_,'"image skyimg"') != -1 ) { $wx{fctstr} .= $_ } <---------------------- Insert This Code
if (index($_,'<div title="Precipitation"') != -1) {$wx{fctstr}.=$_.";;"}
}
}
elsif ( $wx{fct_stn} eq "wx" ) {
$wx{fctstr} = get_line_num('<li class="mw-10day-date">', 'mw-forecast-navigation' );
}
}
}
Bravo \\:D/ finally a fantastic day conkywx re-worked perfectly thank you very much my friend! =d>
I would like to ask your future upgrades if you want to add the items Location number for the Greek capital 'Athens' is relevant thread with conky and that greek ubuntu-forum :lol:
http://forum.ubuntu-gr.org/viewtopic...6010&start=320
Thank you and have a nice day my friend
Best Regards
Spiros
Just a vision of things to come:
http://www.zimagez.com/miniature/conkywx6-take1.png
preview of coming attractions....
http://en.zimagez.com/miniature/quad27.png
3 Conkywx 5.0.0-1!!!!!
Good job !
Coming soon to all:
http://en.zimagez.com/miniature/scre...1211-40-35.png
I've went with just the VinDSL conky on Ubuntu, instead of trying to maintain duplicate weather conkys.
But, on Arch I went full Arch Linux. :P
http://www.zimagez.com/miniature/scr...1211-36-23.png
I know that this is an older post but I have to say I really like the design. I have just started working with Conky and I will be using your design as a start point. I do have a few questions though about how to integrate Intel Temp Sensors if you or anyone know the workaround that would be awesome. Also the links for the fonts are offline so if anyone could upload these her would be awesome.
Thanks
You'll need to install lm-sensors if it's not already installed. Then run sudo sensors-detect in terminal and pay attention to what it's asking.
Generally answering Y is what it will need. Then at the end it offers to put the results where they need to be so answer Y to the last question.
The fonts are now stored in conkywx. You can download version 5 from here: http://foreverquest.blogspot.in/2015...e-release.html
Once you install conkywx, you can enter conkywx in terminal and there are several options: option 2 will bring up a HTML help file.
There's a lot to learn, but it's all worth it. Many of us have spent countless hours getting our conkys just right.
Here is my screen on Arch Linux: (this is with version 6 which will be released shortly)
http://en.zimagez.com/miniature/scre...2112-47-55.png
And this is on Xubuntu 16.04:
http://www.zimagez.com/miniature/scr...1115-15-36.png
It's all customizable and you can have one or 5 conkys if you want and each is fully customizable.