bruenig
October 29th, 2006, 08:04 PM
As the title says, this is a simpler way to restore the firefox icon in the task bar and on the bar at the top of the window.
Because edgy ships with a firefox logo, some symbolic linking or copying ought to do the trick.
First backup your old icons.
sudo mv /usr/share/pixmaps/mozilla-firefox.xpm /usr/share/pixmaps/mozilla-firefox.xpm.old
sudo mv /usr/lib/firefox/chrome/icons/default/default.xpm /usr/lib/firefox/chrome/icons/default/default.xpm.old
Now you can do one of two things.
1) You can symlink these files to the logo edgy ships with.
sudo ln -s /usr/share/pixmaps/firefox.png /usr/share/pixmaps/mozilla-firefox.xpm
sudo ln -s /usr/share/pixmaps/firefox.png /usr/lib/firefox/chrome/icons/default/default.xpm
Or
2) You can copy the logo itself with cp.
sudo cp /usr/share/pixmaps/firefox.png /usr/share/pixmaps/mozilla-firefox.xpm
sudo cp /usr/share/pixmaps/firefox.png /usr/lib/firefox/chrome/icons/default/default.xpm
Don't do both.
And that should be it. If for whatever reason it doesn't work and you want to replace the other icons you would just do the following.
sudo rm /usr/share/pixmaps/mozilla-firefox.xpm
sudo mv /usr/share/pixmaps/mozilla-firefox.xpm.old usr/share/pixmaps/mozilla-firefox.xpm
sudo rm /usr/lib/firefox/chrome/icons/default/default.xpm
sudo mv /usr/lib/firefox/chrome/icons/default/default.xpm.old /usr/lib/firefox/chrome/icons/default/default.xpm
Because edgy ships with a firefox logo, some symbolic linking or copying ought to do the trick.
First backup your old icons.
sudo mv /usr/share/pixmaps/mozilla-firefox.xpm /usr/share/pixmaps/mozilla-firefox.xpm.old
sudo mv /usr/lib/firefox/chrome/icons/default/default.xpm /usr/lib/firefox/chrome/icons/default/default.xpm.old
Now you can do one of two things.
1) You can symlink these files to the logo edgy ships with.
sudo ln -s /usr/share/pixmaps/firefox.png /usr/share/pixmaps/mozilla-firefox.xpm
sudo ln -s /usr/share/pixmaps/firefox.png /usr/lib/firefox/chrome/icons/default/default.xpm
Or
2) You can copy the logo itself with cp.
sudo cp /usr/share/pixmaps/firefox.png /usr/share/pixmaps/mozilla-firefox.xpm
sudo cp /usr/share/pixmaps/firefox.png /usr/lib/firefox/chrome/icons/default/default.xpm
Don't do both.
And that should be it. If for whatever reason it doesn't work and you want to replace the other icons you would just do the following.
sudo rm /usr/share/pixmaps/mozilla-firefox.xpm
sudo mv /usr/share/pixmaps/mozilla-firefox.xpm.old usr/share/pixmaps/mozilla-firefox.xpm
sudo rm /usr/lib/firefox/chrome/icons/default/default.xpm
sudo mv /usr/lib/firefox/chrome/icons/default/default.xpm.old /usr/lib/firefox/chrome/icons/default/default.xpm