You are not logged in.

#2921 2019-10-03 22:29:44

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

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

You don't know Sector11?


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

#2922 2019-10-03 22:30:10

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

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

This S11. big_smile

Offline

#2923 2019-10-03 22:30:47

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

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

The same.


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

#2924 2019-10-03 22:35:20

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

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

email sent.


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

#2925 2019-10-03 22:40:16

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

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

OK, I got it.

Offline

#2926 2019-10-04 14:05:04

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

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

Moving along people, the whole thing was a huge brain fart from my part, a thousand thanks to morfik for helping me clear things up.

Now, about weather.com...

Has anyone managed to get any results yet?


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

#2927 2019-10-04 18:22:32

bansurveillancecapitalism
Member
Registered: 2019-03-15
Posts: 7

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

TeoBigusGeekus wrote:

Wait a minute. Why do you wanna do this?
The script has already done this for you;

First, let me say that I really appreciate your work and dedication.

The pull command in the wunderground script for 10days was specifying http, not https. My firewall blocks unencrypted (port: 80) connections by default. I changed the script to https. Works fine. I apologise for wasting any of your time.

I also now understand the logic of this script and the icons. The transition from day to night and vice-versa was confusing at first, but the if_match makes it clear.

I gave up on accuweather script as it appears to be be blocking all servers of my VPN. But, I miss the ease and low memory usage of using the ttf font.

Cheers

Offline

#2928 2019-10-05 07:30:04

seatommyboy
Member
Registered: 2016-09-12
Posts: 63

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

@TeoBigusGeekus
So again, I found my conky not starting. But unlike in the past, I was able to navigate to the 1_accuweather folder, run git pull in terminal and the new script was downloaded. I went a step further and committed my changes then pushed them to my own repo. Moving the scripts to gitlab was brilliant! Keep up the great work!

Offline

#2929 2019-10-05 09:45:39

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

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

I don't understand what a user agent has to do with your VPN, but this:

TeoBigusGeekus wrote:
wget -U "Firefox" -O save_file https://www.accuweather.com/en/gr/kastoria/178682/october-weather/178682

is not how user agents work!
If I go to e.g. https://www.whatismybrowser.com/detect/ … user-agent
it says: "Mozilla/5.0 (X11; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0" - the whole string is the user agent!
So it must be like this:

wget -U "Mozilla/5.0 (X11; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0" -O save_file https://www.accuweather.com/en/gr/kastoria/178682/october-weather/178682

Offline

#2930 2019-10-05 09:57:09

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

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

ohnonot wrote:

I don't understand what a user agent has to do with your VPN

Me neither.

ohnonot wrote:

but this:

TeoBigusGeekus wrote:
wget -U "Firefox" -O save_file https://www.accuweather.com/en/gr/kastoria/178682/october-weather/178682

is not how user agents work!
If I go to e.g. https://www.whatismybrowser.com/detect/ … user-agent
it says: "Mozilla/5.0 (X11; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0" - the whole string is the user agent!
So it must be like this:

wget -U "Mozilla/5.0 (X11; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0" -O save_file https://www.accuweather.com/en/gr/kastoria/178682/october-weather/178682

I know, I just put Firefox in the post cause I couldn't be arsed to copy the whole thing.
The "Mozilla/5.0 (X11; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0" user agent doesn't work with my VPN.
The same applies to
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36"
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134"
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.1 Safari/605.1.15"
etc.

Any random user agent does though...

Last edited by TeoBigusGeekus (2019-10-06 05:06:01)


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

#2931 2019-10-05 09:59:54

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

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

bansurveillancecapitalism wrote:

But, I miss the ease and low memory usage of using the ttf font.

Now that's an idea...

seatommyboy wrote:

@TeoBigusGeekus
So again, I found my conky not starting. But unlike in the past, I was able to navigate to the 1_accuweather folder, run git pull in terminal and the new script was downloaded. I went a step further and committed my changes then pushed them to my own repo. Moving the scripts to gitlab was brilliant! Keep up the great work!

You could just branch the master script and keep your customization in your local git folder, at least that's what I do.


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

#2932 2019-10-05 21:59:09

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

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

bansurveillancecapitalism wrote:

But, I miss the ease and low memory usage of using the ttf font.

ANNOUNCEMENT
New branch for the WUnderground script; weatherfont support added.
Go into your 2_Wunderground folder, open a terminal and give

git branch weatherfont
git checkout weatherfont
git pull origin weatherfont

in order to create a local weatherfont branch, switch to it and sync it with the remote one I've created.

The modified script creates a new file called weather_font

CURRENT
D
MOON_PHASE
F
DAILY
C
a
C
i
i
h
D
c
C
d
h
h
C
c
A
a
A
c
A
c
A
HOURLY
D
D
C
C
C
C
A
a
c
a
a
a
a
a
a
a
a
a
a
A
A
C
C
C

Current conditions, moon phase, daily and hourly forecast in weatherfont and moon phases characters.

There's also a new option to create (or not) a 24hourly file ready for conky to use with images or characters.

Don't forget to put the Conkyweather.ttf and the moon_phases.ttf fonts in your .fonts folder.

I didn't create any conkyrc files cause A) It's useless because my dpi settings, etc. etc. and B) Creating conkyrcs with weatherfonts is a pain because of the countless voffsets you have to use.

Waiting for some 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

#2933 2019-10-06 14:37:57

loutch
Member
Registered: 2015-12-12
Posts: 848

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

Hello

@Théo

since this morning i have problem with accuweather hourly conky

hourly_raw1 & hourly_raw2 are the same.
  here altogather24_2015 after 23h that is nothing

the first 8 hours are right the other 16 hours are the same as ther 8 first

${color1}Heure${goto 100}16 h${goto 160}17 h${goto 220}18 h${goto 280}19 h${goto 340}20 h${goto 400}21 h${goto 460}22 h${goto 520}23 h${goto 580}16 h${goto 640}17 h${goto 700}18 h${goto 760}19 h${goto 820}20 h${goto 880}21 h${goto 940}22 h${goto 1000}23 h${goto 1060}${goto 1120}${goto 1180}${goto 1240}${goto 1300}${goto 1360}${goto 1420}${goto 1480}


${image $HOME/1_accuweather/hourly_2015/hourly_1.png -s 60x36 -p 75,49}${image $HOME/1_accuweather/hourly_2015/hourly_2.png -s 60x36 -p 135,49}${image $HOME/1_accuweather/hourly_2015/hourly_3.png -s 60x36 -p 195,49}${image $HOME/1_accuweather/hourly_2015/hourly_4.png -s 60x36 -p 255,49}${image $HOME/1_accuweather/hourly_2015/hourly_5.png -s 60x36 -p 315,49}${image $HOME/1_accuweather/hourly_2015/hourly_6.png -s 60x36 -p 375,49}${image $HOME/1_accuweather/hourly_2015/hourly_7.png -s 60x36 -p 435,49}${image $HOME/1_accuweather/hourly_2015/hourly_8.png -s 60x36 -p 495,49}${image $HOME/1_accuweather/hourly_2015/hourly_9.png -s 60x36 -p 555,49}${image $HOME/1_accuweather/hourly_2015/hourly_10.png -s 60x36 -p 615,49}${image $HOME/1_accuweather/hourly_2015/hourly_11.png -s 60x36 -p 675,49}${image $HOME/1_accuweather/hourly_2015/hourly_12.png -s 60x36 -p 735,49}${image $HOME/1_accuweather/hourly_2015/hourly_13.png -s 60x36 -p 795,49}${image $HOME/1_accuweather/hourly_2015/hourly_14.png -s 60x36 -p 855,49}${image $HOME/1_accuweather/hourly_2015/hourly_15.png -s 60x36 -p 915,49}${image $HOME/1_accuweather/hourly_2015/hourly_16.png -s 60x36 -p 975,49}${image $HOME/1_accuweather/hourly_2015/hourly_17.png -s 60x36 -p 1035,49}${image $HOME/1_accuweather/hourly_2015/hourly_18.png -s 60x36 -p 1095,49}${image $HOME/1_accuweather/hourly_2015/hourly_19.png -s 60x36 -p 1155,49}${image $HOME/1_accuweather/hourly_2015/hourly_20.png -s 60x36 -p 1215,49}${image $HOME/1_accuweather/hourly_2015/hourly_21.png -s 60x36 -p 1275,49}${image $HOME/1_accuweather/hourly_2015/hourly_22.png -s 60x36 -p 1335,49}${image $HOME/1_accuweather/hourly_2015/hourly_23.png -s 60x36 -p 1395,49}${image $HOME/1_accuweather/hourly_2015/hourly_24.png -s 60x36 -p 1455,49}
${color1}Condition${color}${goto 100}Pluie${goto 160}Pluie${goto 220}Pluie${goto 280}Pluie${goto 340}Averses${goto 400}Nuageux${goto 460}Averses${goto 520}Plutôt${goto 580}Pluie${goto 640}Pluie${goto 700}Pluie${goto 760}Pluie${goto 820}Averses${goto 880}Nuageux${goto 940}Averses${goto 1000}Plutôt${goto 1060}${goto 1120}${goto 1180}${goto 1240}${goto 1300}${goto 1360}${goto 1420}${goto 1480}
${goto 100}${goto 160}${goto 220}${goto 280}${goto 340}${goto 400}${goto 460}${goto 520}nuageux${goto 580}${goto 640}${goto 700}${goto 760}${goto 820}${goto 880}${goto 940}${goto 1000}nuageux${goto 1060}${goto 1120}${goto 1180}${goto 1240}${goto 1300}${goto 1360}${goto 1420}${goto 1480}
${color1}${goto 100}${hr 1}
${color1}Temp.${color}${goto 100}12°${goto 160}13°${goto 220}13°${goto 280}13°${goto 340}12°${goto 400}11°${goto 460}11°${goto 520}10°${goto 580}12°${goto 640}13°${goto 700}13°${goto 760}13°${goto 820}12°${goto 880}11°${goto 940}11°${goto 1000}10°${goto 1060}°${goto 1120}°${goto 1180}°${goto 1240}°${goto 1300}°${goto 1360}°${goto 1420}°${goto 1480}°
${color1}${goto 100}${hr 1}
REAL FEEL${color}${goto 100}11°${goto 160}11°${goto 220}10°${goto 280}9°${goto 340}8°${goto 400}9°${goto 460}7°${goto 520}8°${goto 580}11°${goto 640}11°${goto 700}10°${goto 760}9°${goto 820}8°${goto 880}9°${goto 940}7°${goto 1000}8°${goto 1060}°${goto 1120}°${goto 1180}°${goto 1240}°${goto 1300}°${goto 1360}°${goto 1420}°${goto 1480}°
${color1}${goto 100}${hr 1}
WIND${color}${goto 1060}-${goto 1120}${goto 1180}${goto 1240}${goto 1300}${goto 1360}${goto 1420}${goto 1480}
${color1}${goto 100}${hr 1}
RAIN${color}${goto 100}3mm${goto 160}1mm${goto 220}1mm${goto 280}1mm${goto 340}1mm${goto 400}0mm${goto 460}1mm${goto 520}0mm${goto 580}3mm${goto 640}1mm${goto 700}1mm${goto 760}1mm${goto 820}1mm${goto 880}0mm${goto 940}1mm${goto 1000}0mm${goto 1060}e${goto 1120}${goto 1180}${goto 1240}${goto 1300}${goto 1360}${goto 1420}${goto 1480}
${color1}${goto 100}${hr 1}
SNOW${color}${goto 100}0cm${goto 160}0cm${goto 220}0cm${goto 280}0cm${goto 340}0cm${goto 400}0cm${goto 460}0cm${goto 520}0cm${goto 580}0cm${goto 640}0cm${goto 700}0cm${goto 760}0cm${goto 820}0cm${goto 880}0cm${goto 940}0cm${goto 1000}0cm${goto 1060}D${goto 1120}${goto 1180}${goto 1240}${goto 1300}${goto 1360}${goto 1420}${goto 1480}
${color1}${goto 100}${hr 1}
ICE${color}${goto 100}0mm${goto 160}0mm${goto 220}0mm${goto 280}0mm${goto 340}0mm${goto 400}0mm${goto 460}0mm${goto 520}0mm${goto 580}0mm${goto 640}0mm${goto 700}0mm${goto 760}0mm${goto 820}0mm${goto 880}0mm${goto 940}0mm${goto 1000}0mm${goto 1060}i${goto 1120}${goto 1180}${goto 1240}${goto 1300}${goto 1360}${goto 1420}${goto 1480}
${color1}${goto 100}${hr 1}
UV INDEX${color}${goto 100}0.0${goto 160}0.0${goto 220}0.0${goto 280}0.0${goto 340}0.0${goto 400}0.0${goto 460}0.0${goto 520}0.0${goto 580}0.0${goto 640}0.0${goto 700}0.0${goto 760}0.0${goto 820}0.0${goto 880}0.0${goto 940}0.0${goto 1000}0.0${goto 1060}-${goto 1120}${goto 1180}${goto 1240}${goto 1300}${goto 1360}${goto 1420}${goto 1480}
${color1}${goto 100}${hr 1}
CLOUD COV.${color}${goto 100}100 %${goto 160}100 %${goto 220}99 %${goto 280}99 %${goto 340}94 %${goto 400}94 %${goto 460}88 %${goto 520}82 %${goto 580}100 %${goto 640}100 %${goto 700}99 %${goto 760}99 %${goto 820}94 %${goto 880}94 %${goto 940}88 %${goto 1000}82 %${goto 1060}i${goto 1120}${goto 1180}${goto 1240}${goto 1300}${goto 1360}${goto 1420}${goto 1480}
${color1}${goto 100}${hr 1}
HUMIDITY${color}${goto 100}100 %${goto 160}99 %${goto 220}99 %${goto 280}95 %${goto 340}100 %${goto 400}98 %${goto 460}97 %${goto 520}97 %${goto 580}100 %${goto 640}99 %${goto 700}99 %${goto 760}95 %${goto 820}100 %${goto 880}98 %${goto 940}97 %${goto 1000}97 %${goto 1060}i${goto 1120}${goto 1180}${goto 1240}${goto 1300}${goto 1360}${goto 1420}${goto 1480}
${color1}${goto 100}${hr 1}
DEW POINT${color}${goto 100}12°${goto 160}13°${goto 220}12°${goto 280}12°${goto 340}12°${goto 400}11°${goto 460}10°${goto 520}10°${goto 580}12°${goto 640}13°${goto 700}12°${goto 760}12°${goto 820}12°${goto 880}11°${goto 940}10°${goto 1000}10°${goto 1060}e°${goto 1120}°${goto 1180}°${goto 1240}°${goto 1300}°${goto 1360}°${goto 1420}°${goto 1480}°
${color1}${goto 100}${hr 1}
VISIBILITY${color}${goto 100}3km${goto 160}10km${goto 220}8km${goto 280}8km${goto 340}10km${goto 400}16km${goto 460}10km${goto 520}16km${goto 580}3km${goto 640}10km${goto 700}8km${goto 760}8km${goto 820}10km${goto 880}16km${goto 940}10km${goto 1000}16km${goto 1060}-${goto 1120}${goto 1180}${goto 1240}${goto 1300}${goto 1360}${goto 1420}${goto 1480}

Last edited by loutch (2019-10-06 14:39:30)


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#2934 2019-10-06 16:36:45

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

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

loutch wrote:

Hello

@Théo

since this morning i have problem with accuweather hourly conky

hourly_raw1 & hourly_raw2 are the same.
  here altogather24_2015 after 23h that is nothing

the first 8 hours are right the other 16 hours are the same as ther 8 first

Of course, cause when I replaced w3m with wget a few days ago I put in line 440 of the script

wget -U "Oh hi Mark!" -O $HOME/1_accuweather/hourly_raw2 "$hourly_addr1"

instead of the correct one

wget -U "Oh hi Mark!" -O $HOME/1_accuweather/hourly_raw2 "$hourly_addr2"

Sorry guys, the last 2-3 months have been like hell and I don't only mean this conkywise.

Last edited by TeoBigusGeekus (2019-10-06 16:46:48)


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

#2935 2019-10-06 16:39:23

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

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

ANNOUNCEMENT
Tiny correction to the Accuweather script, thanks to loutch for reporting the bug that caused the hourly_raw1 and hourly_raw2 files to be the same.
Script corrected and pushed to git.
You can either pull it or go to line 440 of the script and change

wget -U "Oh hi Mark!" -O $HOME/1_accuweather/hourly_raw2 "$hourly_addr1"

to

wget -U "Oh hi Mark!" -O $HOME/1_accuweather/hourly_raw2 "$hourly_addr2"

Last edited by TeoBigusGeekus (2019-10-06 16:43:55)


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

#2936 2019-10-06 18:10:48

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,645

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

What the hell's going on here? I am not present for a week and then the....   ]:D

Teo, to weather.com
in arch, like you said, the conversion of the svg images works.

arch1.th.png

In siduction the images are not output. The terminal always throws this convert error

..
convert-im6.q16: unrecognized color `var(--color-icy)' @ warning/color.c/QueryMagickColorCompliance/2766.
convert-im6.q16: non-conforming drawing primitive definition `fill' @ error/draw.c/RenderMVGContent/4300.
convert-im6.q16: unrecognized color `var(--color-icy)' @ warning/color.c/QueryMagickColorCompliance/2766.
convert-im6.q16: non-conforming drawing primitive definition `fill' @ error/draw.c/RenderMVGContent/4300.

...

Offline

#2937 2019-10-06 18:15:16

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

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

Only me, you and dobbie03 have managed to get this script going.

No idea why it doesn't work in Ubuntu, Debian, etc.


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

#2938 2019-10-06 18:35:52

loutch
Member
Registered: 2015-12-12
Posts: 848

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

@ Théo

thank you

@+

Last edited by loutch (2019-10-06 18:50:53)


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#2939 2019-10-06 19:26:46

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

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

ANNOUNCEMENT
Accuweather script: removed w3m installation directions from documentation

WUnderground script: corrected documentation and added some conkyrcs that use the weatherfonts.
q1Mhgs3t.jpg


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

#2940 2019-10-06 19:33:34

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,645

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

TeoBigusGeekus wrote:

Only me, you and dobbie03 have managed to get this script going.

No idea why it doesn't work in Ubuntu, Debian, etc.

I googled the mistake...
and found the

Command Changes

Here are a list of changes to the ImageMagick commands:

magick
    The "magick" command is the new primary command of the Shell API, replacing the old "convert" command. This allows you to create a 'magick script' of the form "#!/path/to/command/magick -script", or pipe options into a command "magick -script -, as abackground process.
magick-script
    This the same as "magick", (only command name is different) but which has an implicit "-script" option. This allows you to use it in an "env" style script form. That is a magick script starts with the 'she-bang' line of "#!/usr/bin/env magick-script" allowing the script interpreter to be found anywhere on the users command "PATH". This is required to get around a "one argument she-bang bug" that is common on most UNIX systems (including Linux, but not MacOSX).

https://imagemagick.org/script/porting.php#cli

you can take a look at this   smile

Offline

Board footer

Powered by FluxBB