Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have downloaded Aptana Studio 3 and created the following launcher item for using Alacarte:

file: alacarte-made.desktop

[Desktop Entry]
Name=Aptana Studio 3

Then, when I add the icon to the favorites and opens the Aptana Studio 3 I get two icons for it, one for launching new instances, and one for the currently running instance as per the following screenshot:

enter image description here

How do I force the application to use the same icon added to the favorites?

share|improve this question
Can you please specify how you installed Aptana? From the official site all I can see is a standalone zip file. (something like portable applications in windows). –  hakermania Jan 29 '14 at 6:31
Yes, that was it. –  MIH1406 Jan 29 '14 at 6:41
So, how did it end up in /opt? Also, is it on your $PATH? How by specifying only AptanaStudio3 in your desktop file it is able to run? –  hakermania Jan 29 '14 at 6:42
I have done it, thank you. I have created a Sym Link in /usr/bin to /opt/.../aptana It was just a mater of naming issue. I had to name the .desktop and bin and link just the same :) –  MIH1406 Jan 29 '14 at 6:44
Please answer in detail below how you managed to solve your problem :) (I don't know, I only asked you some questions) –  hakermania Jan 29 '14 at 6:46

1 Answer 1


You can use StartupWMClass to group windows by class.

See this thread for additional information.

share|improve this answer

Your Answer


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.