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]
Comment=
Terminal=false
Name=Aptana Studio 3
Exec=AptanaStudio3
Type=Application
Icon=/opt/Aptana-Studio-3/icon.xpm

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 at 6:31
    
Yes, that was it. –  MIH1406 Jan 29 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 at 6:42
1  
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 at 6:44
3  
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 at 6:46
show 2 more comments

1 Answer 1

StartupWMClass

You can use StartupWMClass to group windows by class.

See this thread for additional information.

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.