Whenever my computer needs to restart after updating, a picture of the United Nations appears in the notification area

So, this is quite the hilarious predicament. Whenever my system updates in the background through what I believe to be the Ubuntu software updater, it just flashes a picture of the United Nations in the notification area asking me to restart. Of course, it goes away with a restart, but it comes back up eventually.

I don't think the United Nations is on my tail, but I very much would not like to get jumpscared by this international organization. What would I have to do to remove this?

Thanks.

4 Likes

Welcome @Sineis_Arilla to the community!

1 Like

Thank you @Bombilla for the welcome.

1 Like

Welcome, @Sineis_Arilla. :wave: :ubuntu_mate: I apologize for only seeing your post now -- I have been extremely sick (almost terminally ill :face_with_thermometer:) for months and have only recently really started getting better. But now, I would like to explain what's going on.

What theme are you using? The Update Notifier program, which displays the notification telling you to reboot, is looking for an icon with the name un-reboot. The un in the name here is supposed to stand for Update Notifier. Your icon theme apparently doesn't contain an icon with that name, however; it's default policy in GTK, the support "library" Update Notifier uses, to look for a"fallback" icon which lacks the part of the name after the hyphen (-) character, so it looks for an icon called un. There is one -- it's a big, 640x480 picture of the United Nation's flag.

I'll patch it for you and try to get it sent "upstream", if you want. It's pretty easy to fix; nevertheless, if it's not super-important to you, I've got better things to do.

(Source: reboot.c « src - ubuntu/+source/update-notifier - [no description])

4 Likes

Hi, @gordon :slight_smile:

I'm very glad to see you back here in the "Ubuntu MATE Community"! I'm very sorry that you have been extremely sick :frowning: Good that you are now getting better. I really hope that you soon completely recover :slight_smile:

This issue of the the UN (United Nations) flag / emblem / logo appearing in Ubuntu MATE has indeed appeared a few times here in the "Ubuntu MATE Community". The first discussion topic is this one we're in now, that was started by @Sineis_Arilla on 14th May of the current year (2024). Then, on the following month (on 2nd June 2024), here in the "Ubuntu MATE Community", the following similar discussion topic was started by @surfrock66:

In that other topic, you can find the following answer by @ironfoot (accepted as being the "Solution" of that topic) where @ironfoot found the likely "cause" of the issue which has now been confirmed by you, @gordon (thank you very much for that!), that is: "un" = "United Nations" but also "un" = "update notifier" !

About three months later (on 12th September 2024), @mickee started a similar topic:

... and I referred @mickee to the previous topic and to the finding made by @ironfoot :

Finally, about a month ago, on 12th September 2024, @courrier started the following somewhat similar topic, related to the cc compiler icon appearing as the flag of Cocos Islands and the sh icon appearing as the flag of Saint Helena in "MATE System Monitor":

In that discussion, @ironfoot contributed again:

... and @courrier replied saying that he previously reported the "UN" flag bug on Launchpad ( "Bug #2080836 “When reboot is needed, notification applet shows blue world logo” : Bugs : Ubuntu MATE"- https://bugs.launchpad.net/ubuntu-mate/+bug/2080836):

So, @gordon, if you could please submit a patch upstream to fix the "United Nations" flag issue, as you've kindly suggested, that would be great! :slight_smile: Also, if it's easy for you to create and submit a similar patch to the "sh" and "cc" country flags issue in "MATE System Monitor", that would also be great!

Thank you very much and, again, I hope that you quickly and completely recover from your health issues! :slight_smile:

6 Likes

copy-pasting the solution from the other thread:

as root:
(1) mv /usr/share/icons/Yaru/scalable/status/un.svg /usr/share/icons/Yaru/scalable/status/un.unitednations.svg

(2) ln -s /usr/share/icons/hicolor/48x48/apps/un-reboot.png /usr/share/icons/Yaru/scalable/status/un.svg

(3) killall mate-panel

4 Likes

Thanks, this is where I landed with this page still open as one of my 28 emotional support tabs...instant fix.

2 Likes