After upgrading my distribution from 11.04 to 11.10 to 12.04 when starting a Firefox instance (from Alt+F2, not having a fixed launcher element) the icon displayed for it in the launcher and application switcher is the generic one (grey rectangle with a question mark in the middle). Why is that and how can I get the Firefox icon to display?
Ubuntu – Unity launcher uses generic icon for Firefox in Ubuntu 12.04
12.04firefoxiconslauncherunity
Best Answer
Simplest method:
(1.) Remove (undock) the current icon from Dash.
(2.) Use Unity to find this application (firefox).
(3.) Drag icon to Unity panel, then right-click on icon and select 'Lock to Launcher'.
Assuming that doesn't work ..
There should be a file firefox.desktop located in:
/usr/share/applications/
This should start with: (simplified for clarity)
Also delete any customised copy of firefox.desktop you find in:
~/.local/share/applications/