Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Here is my problem. I locked a software's icon to the launcher. When I click it, programs run. When I click it again, it opens another session instead choosing running program. That happens virtualbox-ose, amsn, wireshark etc. How can I fix that?

share|improve this question

At the launching of an application, the launcher uses two variables to decide to start several instances of the same application or not. By example, if I install squirrel sql (a java application to browse a database) and create a launcher WITHOUT StartupWMClass, then the launcher will start several squirrel processes wich is VERY annoying !
In the file launcher that is used to start the application you can find :
StartupNotify and StartupWMClass
StartupNotify=true : we want the notification.
StartupWMClass : used to find a way to detect if the application was already started.
Please have a look at unity launcher log question

share|improve this answer

Some of these applications detect that they are running and refer you to the open session of the software. The reasons are varied from such things as that's the way the software works to inability to share resources that need to be accessed. Virtualbox would be a good example, as it allows you start multiple VM's, or Wireshark would allow the monitoring of multiple interfaces if you could open multiple copies of the software. Hopefully this helps...

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.