Main Content

Re-Package Your Theme For Firefox 3.6

With the release of Firefox 3.6, developers that used the iPox Remix tutorials to create their theme will have to create a new install file and folder structure. Don’t worry, it’s not to hard.

1 – Create a new folder called chrome.
2 – Move browser, communicator, global and mozapps into chrome.
3 – Compress the four folders in chrome into one .jar file. Name it: themenamefiles.jar (all lowercase).
4 – Back out of the chrome folder.
5 – Create a new plain text file with TextEdit or Notepad and copy in the following lines of code:

skin browser ThemeName2 jar:chrome/themenamefiles.jar!/browser/
skin communicator ThemeName2 jar:chrome/themenamefiles.jar!/communicator/
skin global ThemeName2 jar:chrome/themenamefiles.jar!/global/
skin mozapps ThemeName2 jar:chrome/themenamefiles.jar!/mozapps/

7 – Replace themename with the name of your theme in steps 3 & 5.
8 – Replace ThemeName2 with the theme name (em:name) that is listed  in install.rdf.
9 – Save the file as chrome.manifest in the same directory as the install.rdf file.
10 – Don’t forget to bump the Firefox version number in install.rdf to 3.6.*

This is what the new file structure should look like. The green files are new.

New File Structure

New File Structure

That’s it. Repackage your theme and it should work in Firefox 3.6!

This is just one installment into the iPox Remix set of tutorials that will help you learn how to create your own Firefox theme. Visit the main iPox Remix page for more details.

11 Responses

  1. Eric says:

    wow Thomas, it only been 10 hours since you said you will update it (when I saw it and went to bed) great work.

  2. Eric says:

    Firefox could not install the file at

    file:///C:/Documents%20and%20Settings/Eric/My%20Documents/Downloads/iPox-Remix-Assets/Sketchar.jar

    because: Not a valid install package
    -207

    darn

    • Thomas says:

      It’s probably a naming conflict somewhere. It is case sensitive so if you called your theme Sketchar in one file and sketchar in another, that could do it. You can email it to me if you want. twistermc/gmail and I’ll look at it quick.

      • Eric says:

        A guy called Rondox said that the 207 problem is since it is not being in a zip file, but .rar (since I said I am compressing it in .rar) unless it makes no difference.

        Might I just add you do quite a bit just to help people, a great quality (as cheesy as that sounded)

        but I did check if I did actually miss cased/spelt any things, but I will send it just for the sake of it.

      • Eric says:

        I did it :), but it totally screwed up ): haha.

        http://img684.imageshack.us/img684/4711/92938511.jpg

        ya all the buttons and everything.

        I think I should re-do it hahaha

  3. Eric says:

    also something interesting, after this problem, one persona and theme I had combine 😀 and it looked good, since when you use a persona (unless I am missing something) it looks like the default theme with an image over it.

  4. Max says:

    Firefox could not install the file at

    file:///C:/Users/Max%20S%C3%B6derman/Desktop/Artem%20-%20test.jar

    because: Installationsskript missing
    -204

    Max

  5. srsly_sara says:

    So, I was having trouble with this yesterday. But I tried it again with a few differences based on a theme I have that’s working. I may have been doing something wrong when I tried following these directions (and likely was!), so they very well might work today.
    But here’s my quick and dirty rundown of differences to get original ipoxremix theme files repackaged and working for my 3.6.12 version firefox.

    Followed the directions above except:

    1. deleted contents.rdf
    2. threw the help folder in chrome (and added corresponding line in manifest files).
    3. also had a chrome-unzip.manifest with:
    “skin browser iPoxRemix browser/
    skin communicator iPoxRemix communicator/
    skin global iPoxRemix global/
    skin help iPoxRemix help/
    skin mozapps iPoxRemix mozapps/”
    4. themenamefiles.jar is named chrome.jar

Leave a Reply