Menu icons not found on fresh new install 20.04

Same problem here in Dutch... with some installations it does show icons, with some it does not. No problem whatsover in 18.04 or 19.04. It happens in traditional and classical menu

Can you guys just add here that you are affected by this bug please.

You can also click This bug affects 4 persons. Does this bug affect you? at the top of the page.

@Leo_de_Kam if you want you can write that some Dutch is also affected by this on launchpad site.

I'm with the same problem.
I made a fresh install of ubuntu-mate 20.04 and menu icons are broken.
The problem seens to be in pt-br version.
Change system language to english fix the icons, but coming back to pt-br breakes again.
I managed to pin a calc sortcut with corret icon in the top bar doing as follows:
-right click on calc from the menu, selec pin to descktop
-in desktop folder edit the calc.descktop changin the line:
Icon[pt_BR]=acessórios-calculadora
to:
Icon[pt_BR]=accessoires-calculator
-and them drag-and-drop to top bar.


Is there a way to make similar edit on the other menu itens?
Thanks

I change icons or add them if they are not default. I download a .png or jpeg (conver to a png) file from the Internet. Now open a root terminal and save your .png file at usr>shar>icons>mate>48x48>app.(I don't usually go all the way to apps, but I save mine at icons)
Then go to System> Look and Feel> Mate Menu. Pick you program, (Mate calculator) and click on properties. When the launch properties box comes up click on the square in the upper left corner with the icon, or missing icon symbol that will open where the icon is saved usr>shar>icons>mate>48x48>apps. Navigate to your icon and click on your icon that will make it the default icon for the system, or just restore the default icon if it is there.
Here is an example of one I have made for Thunar. I have had a lot of trouble with thumbnails showing in Mate for mp3's. If I open them once in Thunar, then they show up in caja after that. I use the traditional theme and didn't like the default icon, so I made my own.thunar-gray

Here is a missing icon. Just look for it where I indicated. I understand if they are all missing editing every single menu item would take to long and is not a solution. Just thought this might help some people.
usr>shar>icons>mate>48x48>apps>accessories-calculator.png
accessories-calculator

@ele nailed the reason - the translator for your locale has accidentally translated the Icon value, so they now point to an invalid icon file.

:terminal: This command will list all the localised Icon[..] keys - they should all be the same (English):

grep -r 'Icon\[' /usr/share/applications/*.desktop

Though, really... there isn't actually a need for all locales to have a localised Icon key.

:warning: There is a hacky workaround - this command will erase all localised icon entries. Take caution.

sudo sed -i '/Icon\[/d' /usr/share/applications/*.desktop

This will fix missing application icons (until a MATE package is updated). Unfortunately this doesn't fix the menu categories (Accessories, Games, etc) which I suspect is compiled into the code (/usr/share/locale/pt_BR/LC_MESSAGES/).

If they were *.po files, they would've been editable in a text editor, but they're *.mo (compiled).

I won't be able to fix this alone - since I'm not part of the :mate: team. :slight_smile: Though, it would be good if a mechanism is in place so future MATE packages don't add Icon[] in the final build.

5 Likes

I've created an issue upstream regarding the category icons:

In the meantime, you could fix these on your computer by:

  • Downloading the PO file for your locale
  • Install poedit
  • Open up the locale and strip out any lowercase/dashed strings that would be an icon, such as:
    • applications-graphics
    • applications-accessories
  • Save this and copy the resulting .mo file to /usr/share/locale/XX-XX/LC_MESSAGES/mate-menus.mo as root (replacing XX-XX with your locale code, e.g. pt or pt-BR)
  • Log out then back in.
1 Like

Well... turns out it's been fixed months ago. Now just needs the project leader (or someone with SRU powers) to add the patch to the existing packages for this LTS release.

1 Like

Thank you very much for looking at this so thoroughly Luke :+1: So hopefully it will be added and updated soon.

BTW do you know where the translations for the programs in for example Preferences (Additional drivers, advance network...) are? Because I notice many are in English in 20.04, but were in Slovenian in 16.04. :thinking:

No problem, bit surprised that this wasn't caught sooner to be honest.


We keep a list on our Get Involved / Translations page - I'll add network-manager-gnome as that was missing:

1 Like

386/5000

[ERROR] The "category icons" in the menu are disabled when the system language is in Brazilian Portuguese. Even if you change the icon theme, the error is not corrected, the icons are not displayed.
It only works in a language other than Brazilian Portuguese.
We are awaiting a position on this as soon as possible.
Overall the best DE in Ubuntu.

Hello, I'm Brazilian and I'm facing the same problem. Will this bug be resolved by updating or do I need to do it manually?

Our project leader hasn't checked in to our team Slack in a while, so there hasn't been an update pushed out yet.

In the meantime, you can follow the workarounds in post 13 and post 14 until an update is actually available.

Hello. My icons from the applications menu are missing. The Live CD of Ubuntu Mate 20 is normal with all icons.

Mostly the categories icons are missing but the calculator is missing too.

Hi @jo_v_co,

please, read this thread:
Menu icons not found on fresh new install 20.04

4 Likes

@lah7 I asked to join the team on https://www.transifex.com/mate/MATE/ to help with future translations, and to complete the missing ones.

I also want to help on this particular problem, helping to identify possible new wrong translations on icon names.

Nice! This particular issue is resolved, since the MATE team updated their build process so it won't use erroneous strings (even if they appear to be translatable) any more. The issue lies with the packager for Debian/Ubuntu to release the fix.

I'm also not a MATE developer nor MATE member, so it's over to their team to approve your translation membership. :slight_smile:

2 Likes

Hello @lah7

Can you please help and provide an example? about what it's supposed to be the final file?

How can this happen? Many days have passed since the error has been detected and has not yet been fixed. Too bad such a good project has an error being ignored.

O erro ainda segue, sem solução.