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

I installed xdotool by running sudo apt-get install xdotool and throw xdotool key ctrl+alt+t command to open a new terminal window from the current one.But it was not working.

What was the command to open a new terminal window from the current gnome-terminal?

share|improve this question
ctrl + shift + n – wim Jan 6 '14 at 17:57
up vote 31 down vote accepted

Just this command will do:


Normally if you want a command to open from the terminal and separate (so it returns to the prompt without having to close the opened program), you have to use something like this:

gnome-terminal & disown

However the parent terminal seems to detect that the same command is being used so you don't need to do that and gnome-terminal will suffice. This also seems to happen when running xfce4-terminal from Xfce's terminal, konsole from KDE's as well (doesn't seem to work when running xterm from xterm - Running konsole from Gnome/Unity & Xfce's terminal works as well, but for Xfce's terminal in gnome terminal you need xfce4-terminal & disown).

For more visit gnome-terminal's manual page:

 gnome-terminal  [-e,  --command=STRING]   [-x, --execute ]  [--window-with-profile=PROFILENAME]  [--tab-with-profile=PRO‐
       FILENAME]    [--window-with-profile-internal-id=PROFILEID]    [--tab-with-profile-internal-id=PROFILEID]    [--role=ROLE]
       [--show-menubar]   [--hide-menubar]   [--geometry=GEOMETRY]   [--disable-factory]  [-t, --title=TITLE]  [--working-direc‐
       tory=DIRNAME]  [--usage]  [-?, --help]
share|improve this answer
You probably want to run it in the background, like that: gnome-terminal &. Otherwise the current terminal will be unusable, as it will be busy running that other one - so you end up with just one usable terminal, which may be missing the point. – Rafał Cieślak Jan 6 '14 at 19:59
On my Ubuntu 13.10 install, that did not appear to be a problem @RafałCieślak - I did think about that :-) – Wilf Jan 6 '14 at 20:02
Interesting. You are apparently right, however, I am not wrong neither :) I've just checked that in details. If I run gnome-terminal while another instance of it is already running (it may be the one I'm using to launch this command) - it indeed finishes immediately, because instead of running a new instance gnome-terminal, it tells that currently running one to open a new window. Tricky. But if I run gnome-terminal from anything else, and there are no other instances of gnome-terminal running, it does as I explained in the previous comment, blocking the terminal used to launch it. – Rafał Cieślak Jan 6 '14 at 20:25
@RafałCieślak - anyway, konsole doesn't seem to need at all... weird. I have no idea why this question/answer is so popular :) – Wilf Apr 22 '15 at 14:34
Thanks very much, if you want to open a terminal with the same directory you could do this, gnome-terminal . – kisanme Jul 7 '15 at 4:58

Command to open new terminal window from the current terminal,

xdotool key ctrl+shift+n

To install xdotool,

sudo apt-get install xdotool
share|improve this answer
Ctrl+Shift+T will open a new terminal tab. – GabrielF Jan 6 '14 at 15:15
It is a new terminal... but in a new tab rather than new window. – GabrielF Jan 6 '14 at 15:18
I don't see any reason to use xdotool key ctrl+shift+n while using gnome-terminal you have many other options; see man gnome-terminal in this sense. – Radu Rădeanu Jan 6 '14 at 15:47
Ctrl+Shift+N will open a new terminal window. – Siddhartha Apr 15 '15 at 3:07

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.