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 customized launcher for gnome-terminal. I prefer gnome-terminal to start in a certain folder, such as ~/Desktop. To accomplish this, I use a customized launcher that I also locked to the Launcher bar.

How would I invoke multiple instances of this application from the Launcher bar?

For example, I used gnome-desktop-item-edit to create a Launcher that invokes:

gnome-terminal --working-directory=/home/jack/Desktop (absolute path required for some reason)

and I invoke this and when it is running I also lock this to the Launcher bar. Unfortunately, this Launcher bar icon creates only one terminal. A second attempt to launch the same thing will just activate the original terminal. There is also no context menu (from the right click) to offer New Terminal. This is unlike the default terminal which does offer a right-click way to create a new, or in this case, second terminal.

I have the same problem with google-chrome --incognito. I would like the same launcher, locked to the Launcher bar to invoke a new google-chrome --incognito or to offer New Incognito Window in the context menu available from the right click. This is unlike the default Chrome launcher which does offer a right-click way to create a new, or in this case, second Chrome browser.

share|improve this question
    
1. May I know the purpose of invoking new windows, when you have tabs? 2. Which version of Ubuntu are you using, since I have "New Incognito Window" in the context menu in Ubuntu 13.04 and 12.10 too. –  Jobin Sep 28 '13 at 17:59
    
I want new application instances for use in the other desktop panes in my Workspace Switcher. I also have "New Incognito Window" in the default Chrome launcher. However, I want to delete that launcher. I want to prevent use of that so that all invocations happen with the new customized launcher. –  broiyan Sep 28 '13 at 18:27
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.