Customize different Eclipse installations with custom name and application logo

I have two separated installations of Eclipse on my mac, one is configured for Java development and one for Python. Technically I could use only one installation for both by installing all the required plugins, but I prefer to have two speparated apps! I don’t use OSX dock to gather my applications, instead I usually launch apps using Spotlight (in this way I’m able to open whatever program I need without moving my fingers from the keyboard). The “problem” is that in this way when I type “Ec…” in order to search the app to launch, is very hard to understand which is the Java configured one and which the Python one.
So, since on OSX every .app file is merely a folder containing a series of files like: the real executable program, a .plist containing application settings an .icns file and so on, it’s possible to just rename the .app file from to for example and the app will still work.
This solve the problem of Spotlight listing, but using command+tab to switch among applications would force me to move over each app in order to know its name and then choose the right one… the only effective solution is to replace the original Eclipse logo with a custom one. Fortunately this is very simple, these are the necessary steps:

  1. Use Google images to find a logo to use and download it (In my case I searched for “python logo” specifying “large” in the search option)
  2. Use the free online converter here: to turn the downloaded image into a .icns file:

    • upload the downloaded image
    • click on “options” and check only “Convert to icns icons (Mac OS X)” and “Convert to 32-bit icons” options)
    • download the generated file
  3. Use the generated file as the app icon:

    • locate your
    • right click and choose “show package content”
    • switch to Contents/Resources and place the generated .icns file here
    • switch to Contents/MacOS and in the eclipse.ini file change “-Xdock:icon=” in order to use the .icns of your choice
    • switch to Contents/ and in the Info.plist under “Icon file” do the same
    • make a copy of (command+C/command+V) to force OSX cache refresh
    • you should see “Eclipse” with the new icon and “” with the old icon
    • delete the orignal
    • rename the copy as you like
    • finish!

(if you don’t care about original icon you can simply replace it with the generated one without updating the configurations files!)
(this trick can be used to customize any mac application)

The image above is a sample screenshot showing how I have customized my Eclipse icons (the Star Wars death star is used for Java configured eclipse, the python logo for PyDev installation):


  • Do you have solution for Window7?

  • No, but I think it’s not so easy to do something similar on Windows, since I suppose that icon is embedded in the exe itself, you should decompile it :P

  • Brian

    If you want to ensure that your change will take effect everywhere on the OS, edit and change the value of the CFBundleName key (line 17 for me) to the new name of the application. I had to do this to get MacOS to respect my change from “” to “” (the lowercase title was annoying me :)