Broken icons on OpenWeather GNOME Extension

I don’t use many GNOME Extensions. Nothing against them, but less extensions
means less crap to break when the latest GNOME release drops. For the most part,
I opt for extensions that well maintained and not prone to breaking between
major releases.

Things were peachy for a while, but recently with GNOME 3.38 my weather
extension, OpenWeather decided that it done showing me the icons
for the weather conditions and instead was going to serve up an unsightly orange
exclamation / error icon instead:

How it started, how it's going

I went ahead and turned a blind eye to this until the holiday time this past
year when I could sit around and do a bit more research. As it turns out, the
issue had something to do with the icons that they are using in the extension.
Seems at some point the icons it was expecting were moved / removed from the
theme (I use stock Adwaita Dark by the way).

Not a big deal though, not on Arch Linux at least. There’s a community package
out there from GNOME 3.12 that you can install that will restore the icons that
OpenWeather is looking for:

% yay -S gnome-icon-theme
resolving dependencies...
looking for conflicting packages...

Packages (2) gnome-icon-theme-symbolic-3.12.0-6  gnome-icon-theme-3.12.0-6

Total Installed Size:  11.72 MiB

:: Proceed with installation? [Y/n] Y
(2/2) checking keys in keyring                     [######################] 100%
(2/2) checking package integrity                   [######################] 100%
(2/2) loading package files                        [######################] 100%
(2/2) checking for file conflicts                  [######################] 100%
(2/2) checking available disk space                [######################] 100%
:: Processing package changes...
(1/2) installing gnome-icon-theme-symbolic         [######################] 100%
(2/2) installing gnome-icon-theme                  [######################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating icon theme caches...

Once that’s installed, you will need to restart GNOME (or restart your whole
machine if you’re overdue) and OpenWeather should be looking back to normal!

Josh Sherman - The Man, The Myth, The Avatar

About Josh

Husband. Father. Pug dad. Musician. Founder of Holiday API, Head of Engineering and Emoji Specialist at Mailshake, and author of the best damn Lorem Ipsum Library for PHP.


If you found this article helpful, please consider buying me a coffee.