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?
(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:
This should start with: (simplified for clarity)
Also delete any customised copy of firefox.desktop you find in:
Searching the web I found this lead pointing me in the right direction. Then I did the following:
In my case this behavior was caused by a Firefox shortcut on the desktop, and I just needed to remove it and re-add Firefox to the launcher. More details here: