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 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

2 Answers 2

up vote 14 down vote accepted

Just this command will do:


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
The question is Command to open new terminal from the current terminal? anyway :D –  Wilf Jan 6 '14 at 20:34

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

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.