You are not logged in.

#2151 2018-09-27 14:22:11

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 754

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Vielen Dank for your feedback unklar!!!


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

#2152 2018-09-27 16:37:10

Sector11
Tpyo Knig
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,202

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Teo, loutch & unklar .... old friends, you all ROCK!

My "super" 1_accuweather script has underdone these changes:

	curr_addr="$(echo $address|sed 's/weather-forecast.*$//')"current-weather/"$last_number"
##	wget -q -o /dev/null -O /media/5/Conky/1_accuweather/curr_cond_raw "$curr_addr"
##	wget -U firefox /dev/null -O /media/5/Conky/1_accuweather/curr_cond_raw "$curr_addr"
	lynx --source -accept_all_cookies "$curr_addr" > /media/5/Conky/1_accuweather/curr_cond_raw

	addr1="$(echo $address|sed 's/weather-forecast.*$//')"daily-weather-forecast/"$last_number"
##	wget -q -o /dev/null -O /media/5/Conky/1_accuweather/first_days_raw "$addr1"
##	wget -U firefox /dev/null -O /media/5/Conky/1_accuweather/first_days_raw "$addr1"
	lynx --source -accept_all_cookies "$addr1" > /media/5/Conky/1_accuweather/first_days_raw

	addr2="$addr1"?day=6
##	wget -q -o /dev/null -O /media/5/Conky/1_accuweather/last_days_raw "$addr2"
##	wget -U firefox /dev/null -O /media/5/Conky/1_accuweather/last_days_raw "$addr2"
	lynx --source -accept_all_cookies "$addr2" > /media/5/Conky/1_accuweather/last_days_raw

{snip}

	hourly_addr1="$(echo $address|sed 's/weather-forecast.*$//')"hourly-weather-forecast/"$last_number"
##	wget -q -o /dev/null -O /media/5/Conky/1_accuweather/hourly_raw1 "$hourly_addr1"
##	wget -U firefox /dev/null -O /media/5/Conky/1_accuweather/hourly_raw1 "$hourly_addr1"
	lynx --source -accept_all_cookies "$hourly_addr1" > /media/5/Conky/1_accuweather/hourly_raw1

{snip}

	hourly_addr2=$(sed -n 1p /media/5/Conky/1_accuweather/hourly1)
##	wget -q -o /dev/null -O /media/5/Conky/1_accuweather/hourly_raw2 "$hourly_addr2"
##	wget -U firefox /dev/null -O /media/5/Conky/1_accuweather/hourly_raw2 "$hourly_addr2"
	lynx --source -accept_all_cookies "$hourly_addr2" > /media/5/Conky/1_accuweather/hourly_raw2

With a v1.9 conky that start like this:

TEXT
${execi 900 bash /media/5/Conky/1_accuweather/1_accuweather -f2015 -f2016 -h2015 -h2016}\
${execi 900 bash /media/5/Conky/2b_Wunderground_API/2b}\
${execi 900 bash /media/5/Conky/4_Moon/moon}\

... very old conky that.

Seeing is believing ... TAAA  DAAA!
2018-09-27_131657_Scrot11.th.jpg | 2018-09-27_131856_Scrot11.th.jpg
____
Must find the "hourly" conky ... have the wunderground one.

As always Teo .... you're the man!


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: s12 Kernel: 3.16.0-4-amd64 x86_64 (64 bit gcc: 4.8.4)
Desktop: Openbox 3.5.2 dm: (startx) Distro: Debian GNU/Linux 8

Offline

#2153 2018-09-27 17:42:16

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 754

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

As always, I'll leave it for a day or two and then I'll rebundle the script. Should any problems arise, now is the time to speak everybody.

The whole thing was worth it just to read from you again S11 wink


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

#2154 2018-09-27 18:12:32

Sector11
Tpyo Knig
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,202

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

hahahaha Thank you Teo.  I gotta find my accuweather "hourly" script, I know I have them.  I have your Wground one mixed up with the moon script and that still works, and the Wground 36 hour script.  Love it!:

2018-09-27_132213_Scrot11.th.jpg | 2018-09-27_150815_Scrot11.th.jpg

The commercial use to say: Mr Cristie you make good cookies.

Slight change:  Mr Teo, you make good scripts!


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: s12 Kernel: 3.16.0-4-amd64 x86_64 (64 bit gcc: 4.8.4)
Desktop: Openbox 3.5.2 dm: (startx) Distro: Debian GNU/Linux 8

Offline

#2155 2018-09-27 18:18:10

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 754

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Cheers buddy, thanks for the feedback.


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

#2156 2018-09-27 18:50:42

saltasatelites
Member
Registered: 2016-09-10
Posts: 6

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

TeoBigusGeekus wrote:

@saltasatelites
See this post.

@Teo. Thanks Teo, you're incredible!!! I promise to search better before asking...

Offline

#2157 2018-09-27 19:08:12

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 754

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

You are a bit late mate, you should now see this post.


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

#2158 2018-09-27 19:17:02

saltasatelites
Member
Registered: 2016-09-10
Posts: 6

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

TeoBigusGeekus wrote:

You are a bit late mate, you should now see this post.

Ha ha..this time I had read it before thanking you.

Offline

#2159 2018-09-27 19:18:24

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 754

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Well, does it work for you?


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

#2160 2018-09-27 19:34:41

saltasatelites
Member
Registered: 2016-09-10
Posts: 6

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

TeoBigusGeekus wrote:

Well, does it work for you?

perfectly. And using w3m instead of lynx (are very similars)

Offline

#2161 2018-09-27 19:42:34

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 754

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Brilliant, it's good to have another alternative, just in case.
Thanks for posting here!


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

#2162 2018-09-27 19:52:20

manuel-909
Member
Registered: 2017-10-09
Posts: 62

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

thank you teo you are the man , like mi amigo sector11.
cheers........... : - )

Offline

#2163 2018-09-27 19:53:55

saltasatelites
Member
Registered: 2016-09-10
Posts: 6

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

As and a third alternative, Links. The advantage of links is that it's in development and updates appear from time to time (the last one in May 2018) while w3m and lynx have not been updated since 2013 - 2014 more or less.

Last edited by saltasatelites (2018-09-27 19:54:16)

Offline

#2164 2018-09-28 06:11:23

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 754

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

manuel-909 wrote:

thank you teo you are the man , like mi amigo sector11.
cheers........... : - )

Anytime buddy, thanks for your feedback!

saltasatelites wrote:

As and a third alternative, Links. The advantage of links is that it's in development and updates appear from time to time (the last one in May 2018) while w3m and lynx have not been updated since 2013 - 2014 more or less.

Good to know saltasatelites, when we unite AccuWeather doesn't stand a chance  big_smile


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

#2165 2018-09-28 12:10:50

Sector11
Tpyo Knig
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,202

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

↑↑↑↑↑↑
United, we have weather
Divided, we look out window!


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: s12 Kernel: 3.16.0-4-amd64 x86_64 (64 bit gcc: 4.8.4)
Desktop: Openbox 3.5.2 dm: (startx) Distro: Debian GNU/Linux 8

Offline

#2166 2018-09-28 14:29:58

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 754

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Precisely


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

#2167 2018-09-28 14:40:14

Sector11
Tpyo Knig
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,202

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Knew you'd like that.  The Teo Motto!
Should be a comment in all scripts!   wink


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: s12 Kernel: 3.16.0-4-amd64 x86_64 (64 bit gcc: 4.8.4)
Desktop: Openbox 3.5.2 dm: (startx) Distro: Debian GNU/Linux 8

Offline

#2168 2018-09-28 16:09:55

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 230

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

280918.png

@TEO Excellent work .... wink
@ Sector11 ... I'm back..... tongue  wink


Conky a lifetime, thanks masters Obi-Wan (TEO) and Yoda (Sector11) Use Hydrogen bunsenlabs linux 8.9

Offline

#2169 2018-09-28 16:31:16

Sector11
Tpyo Knig
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,202

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Ciao amico ....  good to see you.

Yes we are all coming back to see the wonders of Teo's magic touch.  big_smile


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: s12 Kernel: 3.16.0-4-amd64 x86_64 (64 bit gcc: 4.8.4)
Desktop: Openbox 3.5.2 dm: (startx) Distro: Debian GNU/Linux 8

Offline

#2170 2018-09-28 21:24:17

ector1935
Member
Registered: 2017-05-03
Posts: 142

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

@teo thank for the best job.

Offline

#2171 2018-09-29 15:50:58

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 754

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Thank you all guys for the valuable feedback, I really appreciate it.
The rebundling of the script will wait until Tuesday or Wednesday as I'm out of town and my access to a pc is limited.
If you've already changed the wget commands to lynx, then you don't have to wait for the new script anyway, so there's that...


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

#2172 2018-09-30 05:31:33

morfik
Member
From: Europe/Poland
Registered: 2016-09-08
Posts: 17
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Wouldn't be easier to use git for tracking changes made to the scripts? It would look like this . So anyone who gets some issues with the scripts could simply know what to change to make it work again, especially in the case like mine where I've changed the original scripts to suit my needs. smile

Offline

#2173 2018-09-30 08:08:33

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 754

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

It probably would, I just haven't been arsed yet to learn git  ops


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

#2174 2018-09-30 09:38:08

morfik
Member
From: Europe/Poland
Registered: 2016-09-08
Posts: 17
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

It's easy, just 3 commands:
git add file/name/whatever
git commit "whatever"
git push

The rest you can learn while doing the 3 above. big_smile

Offline

#2175 2018-09-30 10:08:04

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 754

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

One of these days morfik...

Last edited by TeoBigusGeekus (2018-09-30 14:51:29)


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

Board footer

Powered by FluxBB