App icon does not show up

I found a solution/workaround for this one, I believe it’s a bug.

I installed google-chrome on a rocky9 vm since I noticed that when installing the rpm version on rl10, the icons are not populated under /usr/share/icons/hicolor so I manually copied all the .png icons from rl9 to my rl10 same directory, then there is abug in xdg-icon-resource, so I edited the script with the follwoing command: sudo vim /usr/bin/xdg-icon-resource then look for line 981, it looks something like this path=“$(xdg_realpath “$1”)” 2> /dev/null` # Normalize path and remove the ` after /dev/null then uninstall and reinstall brave/chrome and see if that works if not then do this to install a spesific icon xdg-icon-resource install --size 48 /usr/share/icons/hicolor/48x48/apps/google-chrome.png logout and back in and now I have an icon, hope it helps!

The bug is reported here I believe: https://issues.redhat.com/browse/RHEL-96090

1 Like