You are not logged in.
Maybe it's because of my slow pc?
Offline
OK, I think I have a fix for you ...
1. in two of tour conkys you have "border_margin" - that command is defunct so I did this:
####
## Pad spacing between text and borders.
# NOTE: needs _inner_ and _outer_
border_inner_margin 4
border_outer_margin 0
Now you have 4 conkys. Two of them are started at the same time and trying to get info from the net (the weather) so I put the bash script weather calls in the "regular" conkys and started the weather conkys "without" the commands 8 seconds later with the old sleep command. This allows the first two conky time to grab the info from the net before the weather conkys start and "use" the fetched info:
ssc.sh (change path to your needs):
#!/bin/sh
# /media/5/conky/morfik/ssc.sh
# click to start, click to stop
if pidof conky | grep [0-9] > /dev/null
then
exec killall conky
else
### sleep 2 # sleep not required for xfce or dropbox upto - 30 or more for others
(sleep 2s && conky -c /media/5/conky/morfik/conkyrc) &
(sleep 2s && conky -c /media/5/conky/morfik/conkyrc_fs) &
(sleep 10s && conky -c /media/5/conky/morfik/1b1/conkyrc_1b1_int) &
(sleep 10s && conky -c /media/5/conky/morfik/1c/conkyrc_1c) &
exit
fi
your conkyrc conky starts like this after TEXT (again: change path to your needs for these two conkys):
TEXT
${texeci 600 bash /media/5/conky/morfik/1c/1c}${...
and conkyrc_fs starts like this:
TEXT
${texeci 600 bash /media/5/conky/morfik/1b1/1b1}${...
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
Maybe it's because of my slow pc?
That's a thought... also do you have a slow connection to the net?
If so see the fix above and increase the "sleep 10" to "sleep 12" and try that.
let us know.
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
I have 10/1 mbit internet connection, so I think it's not so slow.
So basically, my own 2 conkys execute the two weather scrips, they download info, and then the other two conkys start and execute the scripts again? Why? And if there is no other way, is it necessary to use texeci 600 in my own conkys? I mean, it could start only when conky start. I think there is no need to start the script again every 10mins, right? Or do I have to edit weather scripts and remove the line from their files?
As to border_inner_margin 4 -- should I remove it?
Offline
I have 10/1 mbit internet connection, so I think it's not so slow.
So basically, my own 2 conkys execute the two weather scrips, they download info, and then the other two conkys start and execute the scripts again? Why? And if there is no other way, is it necessary to use texeci 600 in my own conkys? I mean, it could start only when conky start. I think there is no need to start the script again every 10mins, right? Or do I have to edit weather scripts and remove the line from their files?
As to border_inner_margin 4 -- should I remove it?
1. No; your two regular conkys execute the weather commands:
${texeci 600 bash /media/5/conky/morfik/1c/1c}
${texeci 600 bash /media/5/conky/morfik/1b1/1b1}
2. remove them from the weather conkys.
Usually weather sites update once an hour. Conky need to connect to the net on a regular basis to get the updated info. Set the "600" too low and you spend more time collecting the same info repeatedly. Set it to high and your data could be really OLD.
If you set it to 3600 (1 hour) and start the conkys 5 minutes before the weather site updates the data, for 55 minutes your data will be "OLD" therefore 600 to 900 are good call times.
2. border_inner_margin 4 is OK, I personally use 5
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
Offline
It doesn't work.
I removed the lines from weather conkys and updated the autostart script. I started my pc and I got this:
OK, it looks like you are having a problem with: text_buffer_size
I can "cause" what is happening to you by reducing my text buffer size to less than 1830:
text_buffer_size 1825 #4352
... and I get errors. The file "altogether" is 1804 or 1805 characters when testing (one output increased by one - maybe a 9 to 10) I'm thinking [Return] counts as well.
However, your conky has 4352 as a text buffer, that should more than cover it.
Maybe it is too much!
I can add a line at the end of that conky an grab the entire file with one command:
${voffset 25}${execpi 600 sed -n '1,21p' /media/5/conky/morfik/1c/altogether}
${voffset -3}${color1}${hr 1}
${color}${tail /media/5/conky/morfik/1c/altogether 20}
... and that is still using:
text_buffer_size 1825 #4352
mind you text_buffer_size works on each specific command in conky not the "entire" conky.
I increased the width of the conky to show the entire file being displayed.
Why your conky is not reading it Is beyond me. Is that file complete? when conky displays less?
CLICK! If you are setting text_buffer_size to "each" conky command ($) to 4352 that's 34 commands roughly for a buffer: 45968 ... maybe you are running out of space?
Try reducing "text_buffer_size 1830" and see if that works.
If anyone sees where my line of thinking is flawed please feel free to step in.
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
Ok, I reduced the buffer to 1830. We will see if it works.
Offline
Now, it looks better. I had to increase buffer to 1850 because the last number of dew point had problems sometimes. Anyway, I sometimes get something like this (look at the TIME line):
I can reload conkys (killall -SIGUSR1 conky) and everything backs to normal. It happens sometimes to the other weather script too. Is this a problem with conky or something else?
I noticed also the values are wrong, look for example at the temp line. The new day has begun and the temp looks like the night is coming. xD I think something is wrong with cache. This happens when I start my pc.
Last edited by morfik (2013-05-08 05:30:42)
Offline
i'm having trouble getting 1d to display anything, i get this:
dgz@PANGAEA:~$ conky -c ~/.conkyrc_1d
Conky: desktop window (ab) is root window
Conky: window type - override
Conky: drawing to created window (0x2c00001)
Conky: drawing to double buffer
wget: no process found
--2013-05-08 17:40:42-- http://rss.accuweather.com/rss/liveweather_rss.asp?metric=1&locCode=EUR%7CUK%7CUK241
Resolving rss.accuweather.com (rss.accuweather.com)... 93.188.129.12, 93.188.135.15
Connecting to rss.accuweather.com (rss.accuweather.com)|93.188.129.12|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 801 [text/xml]
Saving to: `/home/dgz/.1d_accuweather_rss/weather_raw'
100%[======================================>] 801 --.-K/s in 0.003s
2013-05-08 17:40:45 (250 KB/s) - `/home/dgz/.1d_accuweather_rss/weather_raw' saved [801/801]
which seems okay apart from 'wget: no process found'.
Offline
Everything's fine here; the message you get is normal.
Can you post us your version of the script, as well as your conkyrc?
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
Thank you for all these awesome stuff!
Please, have a look at my efforts here
Hi patrioti!
Thanks for your kind words - I can't test your work, cause I don't have a conky version compiled with lua, but I'm sure others will be able to do so (where are you Sector11?).
I have no doubt that it is awesome though - you're Greek after all
PS: I did part of my military service in Salamis, serving the Hellenic Navy.
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
drxspace wrote:Thank you for all these awesome stuff!
Please, have a look at my efforts here
Hi patrioti!
Thanks for your kind words - I can't test your work, cause I don't have a conky version compiled with lua, but I'm sure others will be able to do so (where are you Sector11?).
I have no doubt that it is awesome though - you're Greek after all![]()
![]()
![]()
PS: I did part of my military service in Salamis, serving the Hellenic Navy.
Yupper, I am here and I will give it a run
Stay tuned ....
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
Thank you for all these awesome stuff!
Please, have a look at my efforts here
OMG!! AWESOME doesn't even begin to describe this! I read the README, saw INSTALL and ??? run the install.sh and it will do everything ... So I looked that install.sh in medit ... OH YEA, I understand that ... NOT!
But /media/5/conky/drxspace/Conky_Cronograph_Station_SE-v2.0/INSTALL, buried deep in the bowels of my /media/5 partition did say:
You can run in terminal the "install.sh" script and follow the instructions.
Yea right ... Oh My!!!! IT DID! And I love it ... just one Oops! - I have no battery!
I gotta play with this!
I thought Teo with his "I have no doubt that it is awesome though - you're Greek after all" was being a bit ... well you know ... but he was right in every way!
Awesome drxspace, just awesome!
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
Thanks a lot for testing mate!
Who can stop the might of Greece?...
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
Thanks a lot for testing mate!
Who can stop the might of Greece?...
I don't know, I'll ask the Trojans, but I best do it by email and not face to face.
Been looking at the whole setup. Brilliant! I renamed my ~/.conky to ~/.conky_mine because while reading the "inatall.sh" (OK, I understood some things) I see that IT was going to use ~/conky.
But here's where it gets better, drxspace, realizing that others use ~/.conky and rather than messing with others setups, has the script create:
/home/sector11/.conky/cronograph_se
and put "everything" in there, LUA scripts, images, bash scripts, weather by some guy named Teo ( ) and even installed the correct fonts!
/home/sector11/.conky/cronograph_se/accuweather - directory
/home/sector11/.conky/cronograph_se/images - directory
/home/sector11/.conky/cronograph_se/scripts - directory
/home/sector11/.conky/cronograph_se/.build
/home/sector11/.conky/cronograph_se/.version
/home/sector11/.conky/cronograph_se/conkyrc
/home/sector11/.conky/cronograph_se/start_crono.sh
Last edited by Sector11 (2013-05-15 22:38:31)
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
Thanks mates (...patroti!)
I couldn't mention it yesterday but yes Sector11 I'm using the newest version of hooge05_53 fonts and ...the best part... patrioti - - take a look at the forecasts.sh script! Sorry guys but I can't type farther...
Thanks and again!
RESPECT
Life was short indeed
Offline
Hi. I've just discovered these scripts yesterday and I'm currently working them into my own Conky setup. They're absolutely excellent! I have two rather minor problems, however -- first, the temperature high for "today" will occasionally display as '-'. I've noticed this can be seen in one of your preview images: http://i.imgur.com/ZLg4Tpj.png (first entry in "tonight"). Is this simply a bug on Accuweather's part, or something in the script?
Secondly, I've noticed that "today" and "tonight" get entries for precipitation chance in the first_days file. I'd like to add a functionality to the script that gives the precipitation chance for the following days (in both first_days and last_days) as well. How would I go about doing so? I have a basic familiarity with bash/sed/etc., but I'm not sure how to parse the raw files properly, nor can I figure out what part of the script treats the first_days entries for today/tonight differently from later days.
Thanks.
Last edited by DrKillPatient (2013-06-07 00:07:49)
Offline
Thanks for your kind words DrKillPatient.
1) The dash appears at tonight's high, because accuweather doesn't provide a high for the night, only for the day.
In other words, if it's a normal day (Monday to Sunday), you get a high temperature (achieved during the day) and a low temperature (achieved during the night). If it's "Tonight" though, you only get a low temperature.
2) You can't do this (get chances of precipitation for all the days) with the pages that the script currently downloads.
The script downloads a summary of the first 5 days' forecast
(http://www.accuweather.com/en/gr/kastor … ast/178682)
and a summary of the next 5 days' forecast
(http://www.accuweather.com/en/gr/kastor … 8682?day=6)
These 2 addresses have precipitation info for days 1 and 6, but not for the other days. If you wanted precipitation info for all 10 days, you'd have to download 10 pages
http://www.accuweather.com/en/gr/kastor … ast/178682
http://www.accuweather.com/en/gr/kastor … 8682?day=2
http://www.accuweather.com/en/gr/kastor … 8682?day=3
...
...
...
http://www.accuweather.com/en/gr/kastor … 8682?day=9
http://www.accuweather.com/en/gr/kastor … 682?day=10
a hell of a waste of bandwidth if you ask me.
If you desperately need precipitation info for all days, you should look at script #4 (the weather.com one).
Thanks again for your kind words.
Last edited by TeoBigusGeekus (2013-06-07 14:05:39)
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
OK here I am again with another tribute to TeoBigusGeekus's weather scripts. This is another 2 for one using Accuweather 1.b.1 I made for a friend with ties to both cities.
Everything is packaged up in AccuW.tar.gz except the 1x1 pixel light slate gray image used for the vertical line between cities that's available in 1_pizel_images.tar.gz along with some others I use in conkys. You will have to change the path for that.
And of course there's Teo's Portrait if anyone is interested.
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
Ohhhh, I'm most flattered and embarrassed....
Thanks mate, I've added a link on the front page.
Last edited by TeoBigusGeekus (2013-07-01 14:35:30)
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
Ohhhh, I'm most flattered and embarrassed....
http://i.imgur.com/CU0n5lz.png
Thanks mate, I've added a link on the front page.
Hey, you do that hard stuff, I just move the elements around a bit.
Look at those cheeks, grandma been pinching them? O:) c
{don't you just hate that!}
Thanks for the link... some are outdated and should be clipped or at least people warned that they may not work with the newer version of the scripts. Still - good examples though.
Last edited by Sector11 (2013-07-01 15:07:20)
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
Thanks for the link... some are outdated and should be clipped or at least people warned that they may not work with the newer version of the scripts. Still - good examples though.
Are they? I'll have a look a soon as I can, thanks for the tip.
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
Hello everybody!
New to #!, new to conky, and new to the forum, but already one of Teo's scripts user.
@Teo: first, let me join the legions and thank you very much for taking the time to write and maintain those scripts. Lots of us depend on them.
Now, the weather conky you've been talking with Bruce lately (the Buenos Aires-Miami conky) is mine. Last night, with Bruce's invaluable help (he's been coaching me on conky -read: "building my conkys"- from the get go), we could finally figure out what the problem was: I had put your scripts into the ~/.conky folder, and didn't chaange the paths in the scripts themselves. Now I fixed everything, and it's all working. Will post a scrot as soon as I get everything in place in my new screen.
So, thank you both, Teo and Bruce, for everything. Without your help, I'd be drowning in a sea of conkylessness...
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat