Page 1 of 5 123 ... LastLast
Results 1 to 10 of 44

Thread: HOWTO: Take back the Firefox Logo

  1. #1
    Join Date
    Apr 2005
    Beans
    177

    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 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!!

    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
    Last edited by Sionide; June 14th, 2005 at 05:43 PM.

  2. #2
    Join Date
    Nov 2004
    Location
    Anywhere
    Beans
    Hidden!

    Re: HOWTO: Take back the Firefox Logo

    Simple

    But nice, thks for your work.

  3. #3
    Join Date
    Dec 2004
    Location
    Manchester
    Beans
    2,081
    Distro
    Ubuntu Studio 13.04 Raring Ringtail

    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.

  4. #4
    Join Date
    Apr 2005
    Beans
    177

    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..
    [ Synthetic Intelligent Organism Normally for Infiltration and Dangerous Exploration ]

  5. #5
    Join Date
    Dec 2004
    Location
    Finland
    Beans
    398

    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.

  6. #6
    Join Date
    Apr 2005
    Beans
    177

    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?
    [ Synthetic Intelligent Organism Normally for Infiltration and Dangerous Exploration ]

  7. #7
    Join Date
    Feb 2005
    Beans
    231

    Re: HOWTO: Take back the Firefox Logo

    I suppose this would work for thunderbird as well. Anyone knows where to find the TB logo?

  8. #8
    Join Date
    Apr 2005
    Location
    Chicago Area
    Beans
    101
    Distro
    Ubuntu 10.10 Maverick Meerkat

    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?

  9. #9
    Join Date
    Feb 2005
    Beans
    231

    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

  10. #10
    Join Date
    Feb 2005
    Beans
    Hidden!

    Re: HOWTO: Take back the Firefox Logo

    Nice howto Sionide. Turned out better than I imagined . Cheers.
    Sylvia: Look at what you've done to him!
    Christof: I have given Truman the chance to lead a normal life. The world, the place you live in, is the sick place.

Page 1 of 5 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •