HOWTO: Take back the Firefox Logo
HOWTO: Get rid of that blue globe thing and put the original Firefox Logo where it belongs!
Why would I want to do this?
To me, Firefox looks kinda weird without its unique icon. The logo itself is incredible, it's eye-catching, colourful and sexy :P For more information on the logo, click here and here and here.
Brief Overview
1 - Download the original Firefox Logo (and associated icons) in png format
2 - Rename and copy a few files to various locations
3 - Log out / Log in to apply the changes
It's that simple.
Take Back the Firefox Logo
#1 - You will need two versions of the Firefox Logo.
The first is the actual logo file, in .png format. (right-click -> save image as)
The second is the "document" icon, indicating for example, that a file has a .htm extension which opens it in Firefox. (right-click -> save image as)
#2 - Preparing the files
You will need to rename the files you just downloaded in the following way;
Code:
mv firefoxrgb2oa.png mozilla-firefox.png
mv document8nq.png document.png
#3 - You are now ready to begin replacing the old icons
(At this point, you may wish to make backups of the old icons for future reference - simple navigate to the mentioned directories and move the old files out before replacing them with the new icons)
There are three directories which contain Mozilla Firefox icons, they are as follows;
/usr/share/pixmaps - is the location of the icons for the launcher
/usr/lib/mozilla-firefox/icons - is the location of the icons the application uses
/usr/lib/mozilla-firefox/chrome/icons/default - is the 2nd location of application icons
You will need root access to those directories, using the sudo command from the command line helps. I also assume that the files you downloaded have been placed in your ~home directory.
Code:
sudo cp mozilla-firefox.png /usr/share/pixmaps/mozilla-firefox.png
sudo cp mozilla-firefox.png /usr/share/pixmaps/mozilla-firefox.xpm
Code:
sudo cp mozilla-firefox.png /usr/lib/mozilla-firefox/icons/default.xpm
sudo cp document.png /usr/lib/mozilla-firefox/icons/document.png
and finally;
Code:
sudo cp mozilla-firefox.png /usr/lib/mozilla-firefox/chrome/icons/default/default.xpm
#4 - the final step, you're nearly there!
Log out and log back in. Behold, the Firefox logo is back with avengence!! :D
Or restart X using "Ctrl+Alt+Backspace"
#5 - optional extras
Make an alias, to put all the commands into one easy one. I've done this;
Code:
sionide@sphinx:~$ alias firefoxicons='sudo cp mozilla-firefox.png /usr/share/pixmaps/mozilla-firefox.png; sudo cp mozilla-firefox.png /usr/share/pixmaps/mozilla-firefox.xpm; sudo cp mozilla-firefox.png /usr/lib/mozilla-firefox/icons/default.xpm; sudo cp document.png /usr/lib/mozilla-firefox/icons/document.png; sudo cp mozilla-firefox.png /usr/lib/mozilla-firefox/chrome/icons/default/default.xpm'
Alternatively you could write a bash script to do it for you...
_____________________________________
This HOWTO is based on this thread. Thanks to bored2k and panickedthumb for their input.
Feedback will be appriciated as this is my first HOWTO :)
Re: HOWTO: Take back the Firefox Logo
Simple
But nice, thks for your work.
Re: HOWTO: Take back the Firefox Logo
just to make this work from other directorys, you might want to use absolute paths, ie
Code:
sudo cp mozilla-firefox.png /usr/share/pixmaps/mozilla-firefox.png
instead of
Code:
sudo cp mozilla-firefox.png ../../usr/share/pixmaps/mozilla-firefox.png
and also (correct me if i am wrong), but i dont think renaming the files to xpm from png is a good idea. they are still png files but with a potential confusing file name.
you could install imagemagick and use
Code:
convert something.png something.xpm
check the man page, i think that syntax is right
it would be good if mozilla.org and debian could agree a way for this icon to be included, but i can't remember the reasons behind it.
Re: HOWTO: Take back the Firefox Logo
Quote:
Originally Posted by ssam
and also (correct me if i am wrong), but i dont think renaming the files to xpm from png is a good idea. they are still png files but with a potential confusing file name.
you could install imagemagick and use
Code:
convert something.png something.xpm
check the man page, i think that syntax is right
Perhaps this is for another HOWTO...
I just tried it and the coverted .xpm didn't appear to have the same transparent areas as the renamed .png
I did it that way and haven't had any problems.
Thanks for your other point, I've made those changes..
Re: HOWTO: Take back the Firefox Logo
Quote:
Originally Posted by Sionide
The second is the "document" icon, indicating for example, that a file has a .htm extension which opens it in Firefox.
Is the document icon actually used somewhere?
Quote:
Originally Posted by Sionide
I just tried it and the coverted .xpm didn't appear to have the same transparent areas as the renamed .png
You can do the conversion with GIMP. Just open the png and save as xpm. The result looks to me about as good as an xpm can look.
Re: HOWTO: Take back the Firefox Logo
Quote:
Originally Posted by ow50
Is the document icon actually used somewhere?
You can do the conversion with GIMP. Just open the png and save as xpm. The result looks to me about as good as an xpm can look.
First question: No idea, perhaps... That was just an example of where I know its used.
Second question: Yeah, could be - but as I say, I just renamed the file and it hasn't had any really detrimental effects. So for the sake of simplicity I'm inclined to leave it how it is, at least for the time being?
Re: HOWTO: Take back the Firefox Logo
I suppose this would work for thunderbird as well. Anyone knows where to find the TB logo?
Re: HOWTO: Take back the Firefox Logo
Quote:
Originally Posted by jasplund
I suppose this would work for thunderbird as well. Anyone knows where to find the TB logo?
why isn't this used by default?
Re: HOWTO: Take back the Firefox Logo
Nope it´s a simple and ugly envelope with a really small blue bird. I found the real one here http://nilesh.org/weblog/2004/04/new-thunderbird-logo/ though
Re: HOWTO: Take back the Firefox Logo
Nice howto Sionide. Turned out better than I imagined ;). Cheers.