I broke weather applet

Am alternative to the "MATE Weather" indicator I found very useful - provides almost any location and is not limited to the few available in "MATE Weather" => "Meteo" (got it from here: 5 Best Weather Apps for Ubuntu & Linux Mint - OMG! Ubuntu -> 2.Meteo)

How to install:

sudo add-apt-repository ppa:bitseater/ppa
sudo apt install com.gitlab.bitseater.meteo

After installation you can start the app directly from the menu (search for Meteo).
From the preferences you can choose:

  • Use System Tray Indicator
  • Start minimized
  • Launch on start (or configure Meteo as a Startup application in the Control Center)
7 Likes

I am confused. Still running on 22.04 for me.

I don't know why. Maybe it is region bound ?

EDIT:
No, it's not region bound.
(below maybe also interesting for @ryzhik)
I suspect my install to be the culprit.
Two other (old) computers of mine are also running 22.04 and have no problems with the weather-applet.

I think I might have to do a reinstall of my main rig.

2 Likes

I have fixed the applet.

There should be propper soft links to propper libmateweather.so.1.6.9.
Something went wrong, mine were broken.
Maybe I messed something up when I tried to fix it again.

I guess there should be something like:
libmateweather.so.0
libmateweather.so.1
libmateweather.so.1.6

3 Likes

Thank you!! :smiley:

I already had the link but your comment let me check it more carefully:
it pointed to the wrong file

I changed it ito:
/usr/lib/x86_64-linux-gnu/libmateweather.so.1 -> libmateweather.so.1.6.9

and everything works again :+1:

3 Likes

Hi,
I've just solved the missing weather info on clock applet of my Ubuntu 22.04.1 LTS compiling the library from github:

sudo apt install mate-common libglib2.0-dev build-essential libgtk-3-dev libxml2-dev libxml2-dev libsoup2.4-dev libxml2-utils autopoint
wget https://github.com/mate-desktop/libmateweather/archive/refs/heads/master.zip
unzip master.zip
cd libmateweather-master/
./autogen.sh && ./configure --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu && make -j 4 && sudo make install

then you have to kill&reload the clock: killall /usr/lib/mate-panel/clock-applet

cutting the first 's' from the website url in sources I've also been able to sniff a data url:
http://aviationweather.gov/cgi-bin/data/dataserver.php?dataSource=metars&requestType=retrieve&format=xml&hoursBeforeNow=3&mostRecent=true&fields=raw_text&stationString=LIRF
(it could be useful to track future problems...)

ps: note that this procedure may fail with older releases or in future with this release

6 Likes

Welcome @fabrizio.lombardozzi to the community!

1 Like

Thanks so much for this!!
This worked perfectly on 23.10 Mantic Minotaur

3 Likes

I like it, thank you for posting this :smile:

2 Likes

So Winter is here and still no temps on display?

Yeah, I came home today to see the fix no longer works on 20.04. I may try @fabrizio.lombardozzi
method later

I installed 22.04 as test and it failed too! So maybe wasn't me who broke it

On Ubuntu Mate 23.10, the correct path is /usr/libexec/mate-panel/clock-applet, once changed the url, the applet reloaded successfully :slight_smile:

1 Like

Welcome @piranna to the community!

I've got the same issue on 22.04.3 LTS

Is there a permanent fix?

1 Like

Welcome @SRS808 to the community!

Short answer: No
Long answer: besides the above mentioned workaround there has been no fix for 22.04 and 22.10 and I doubt it will come anyway. Either patch or wait for 24.04 LTS (april 2024).
I can confirm that the weather applet works on 24.04 LTS, I'm testdriving it.
(No, I'm not a developer, just another user)

3 Likes

Just did a fresh install of 22.04 on a new PC. I don't even see a weather option anymore. @radax05 solution seems to be the best so far

1 Like

I just use The Weather Channel. I have never used the weather applet. The Weather Channel gives so much more information and has hour by hour and extended forecasts. There are a lot of weather websites to pick from.

1 Like

Yes, it works. Thank you very much.

2 Likes