Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I usually have to launch different instances of the same application (in my case of Eclipse).

I launch them from the terminal as follows

nohup /Applications/eclipse/eclipse -data ${workspace} 2>&1 > /dev/null &

where ${workspace} is different for each invocation.

Everything works well but for the fact that I cannot distinguish among instances in the Dock or while switching applications with command+tab.

enter image description here

Is there a way to differentiate them either by changing the application name under the icon or by dynamically changing the icon?

share|improve this question
add comment

2 Answers 2

up vote 1 down vote accepted

This is a solution for your particular issue, and not OSX apps in general on which I believe do not have this issue.

Workspace identifiers for Eclipse on OSX

share|improve this answer
add comment

It's not a great solution, but if you don't mind taking up a bit extra space, you could:

  • find some other icon, and copy it to the clipboard
  • make a copy of the Eclipse .app
  • in the Finder, "Get Info"
  • click the Eclipse icon, and paste your icon there
  • from the Terminal, launch these two .apps, rather than the same app twice
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.