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.

Is there a way to configure the Ubuntu 12.04 menu/dash to launch multiple instances (processes) of an application?

With Vim, I sometimes like to launch several versions of it. With Vim configured on the toolbar, I am able to launch Vim once or quit Vim. If I click on the Vim icon with one Vim session running, I can only go back to the one Vim session.

Does such a configuration setting exist?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

The configuration way you may be looking for is creating a Quicklist for the Launcher to enable a second application instance from a mouse right click context menu. How this can be done is easily seen in the default gnome-terminal.desktop file below. Watch out for the last entries in [Desktop Action New]:

[Desktop Entry]
Name=Terminal
Comment=Use the command line
TryExec=gnome-terminal
Exec=gnome-terminal
Icon=utilities-terminal
Type=Application
X-GNOME-DocPath=gnome-terminal/index.html
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=gnome-terminal
X-GNOME-Bugzilla-Component=BugBuddyBugs
X-GNOME-Bugzilla-Version=3.4.1.1
Categories=GNOME;GTK;Utility;TerminalEmulator;
StartupNotify=true
OnlyShowIn=GNOME;Unity;
Keywords=Run;
Actions=New
X-Ubuntu-Gettext-Domain=gnome-terminal

[Desktop Action New]
Name=New Terminal
Exec=gnome-terminal
OnlyShowIn=Unity

There also still is the mouse (wheel) middle click option to run a new application instance as shown here:

More on Launchers and Quicklists here:

share|improve this answer
    
My mouse wheel is the middle click. Thanks. –  octopusgrabbus Nov 5 '12 at 17:31

If you middle click the icon in the launcher, it opens a new session of that program.

share|improve this answer
    
I only have a two button mouse. –  octopusgrabbus Nov 5 '12 at 17:29
    
@octopusgrabbus you don't have a scroll wheel that is "clickable"? Just try and click that, if you have one. –  carestad Nov 5 '12 at 21:59
    
Didn't realize the wheel is clickable. Thanks. –  octopusgrabbus Nov 6 '12 at 12:44

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.