Debian – Some icons are broken in the application menu

debianiconsxfce

I am using Xfce-4.10 on Debian 7. But I found some icons are missing (and only "x"'s appear) in the application menu. Take ipython3 as an example. Here's the ipython3.desktop:

# If you want ipython3 to appear in a linux app launcher ("start menu"), install this by doing:
# sudo desktop-file-install ipython3.desktop

[Desktop Entry]
Comment=Enhanced interactive Python shell
Exec=ipython3
GenericName[en_US]=IPython3
GenericName=IPython3
Icon=ipython3
Name[en_US]=ipython3
Name=ipython3
Categories=Development;Utility;
StartupNotify=false
Terminal=true
Type=Application

The theme is installed (currently tango-icon-theme, but other themes don't work either).
The icon file is at /usr/share/icons/hicolor/scalable/apps/ipython3.svg. It can be displayed in an image viewer.

Reinstalling ipython3 doesn't help. I also tried to replace the ipython3.svg with some other normal icon files (libreoffice-calc.svg, for example). This doesn't help either.

Any ideas to bring the icons back? Thank you.

Best Answer

Try to

gtk-update-icon-cache /usr/share/icons/hicolor/

as root in order to refresh the icons cache. It may be also performed for another directories containing the icon themes (with index.theme files).

Related Question