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 a gnome-terminal icon and midnight-commander icon in launcher. When I press mc icon and then press gnome-terminal icon both applications add to the group of applications of mc icon. How can I make them to appear in different icons?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

You need to pass a --class argument to each launcher so that gnome-terminal thinks it's a separate application.

You can do this by just making a custom launcher for one of them (probably mc) and pass it

gnome-terminal -e mc --disable-factory --sm-client-disable --class=mc" 

that should be enough for Unity to classify it as a different application, see here:

share|improve this answer
    
Thank you very much! It works, but there is one moment: adding "--class=mc" was not enough. It had to add some more parameters. The whole command is "gnome-terminal -e mc --disable-factory --sm-client-disable --class=mc" –  Sergey Veselov Nov 24 '11 at 12:44
    
@SergeyVeselov Great, glad you solved it, I added your final solution to my answer! –  Jorge Castro Nov 24 '11 at 16:49

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.