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 just downloaded Ubuntu 11.04 and as far as I can remember, there was the option of opening multiple terminals in tabs in Ubuntu. I cannot discover this feature in 11.04. Also, as a general query, suppose I open emacs from the terminal, then I wouldn't be able to do anything else on that terminal as long as I have emacs running, so what is a good way to multi-task?

share|improve this question

7 Answers 7

up vote 8 down vote accepted

Check out Terminator as well. It's in the repo's

enter image description here

share|improve this answer

CTRL + Shift + N will open a new terminal window if you are already working in the terminal, alternatively you can just select "Open Terminal" form the file menu as well.

And like @Alex said you can open a new tab by pressing CTRL + Shift + T.

share|improve this answer
    
At least in Ubuntu 12.10, it's CTRL + SHIFT + T and Alex's answer states the same. Maybe you mistyped? –  its_me Feb 6 '13 at 5:22
    
Perhaps... I don't know, this was such a long time, and I am not on an Ubuntu box to confirm whether it works or not... –  TheX Feb 6 '13 at 14:20

right click on mouse and select open tab.

enter image description here

share|improve this answer

You may open a new tab by pressing shift + ctrl + t, or go to file -> Open new tab or something like that.

I do not know what emacs is, but if it is a GUI program you may probably run it in the background by adding & behind the command.

To list background jobs simply run jobs. If you want to get a running program from the background run fg %.

share|improve this answer

You can also use a terminal multiplexer like byobu or tmux. Byobu is beautifully configured for Ubuntu out of the box. Tmux requires some initial configuration, but is (relatively) easy to customize. Think of it as a command-line program that can run multiple shells organised like tabs.

I prefer to use a terminal multiplexer over gnome-terminal tabs because I can detach and attach from anywhere. Examples:

  • Login to work via ssh, start a multiplexer with a few tabs. Open a file with emacs, start a huge download, etc. Detach the multiplexer, logout of ssh, go to work. Reattach your session and resume work right where you left it: emacs stayed open, your download continued while you drove to work.

  • Start writing your research paper (in LaTeX of course ;) on your desktop. Realise it's far too nice a day to be sitting indoors. Reattach the multiplexer session on your lappy outside and continue working.

share|improve this answer

To get the terminal back after you open Emacs or any other gui:

  1. Return to the terminal (click on the terminal window)
  2. Press Ctrl-Z
  3. Run the command bg to unfreeze the gui

See also the jobs and fg commands.

share|improve this answer

There a Terminal Quicklist that has the option to open new tab.

Although it's not a new tab you can use the middle mouse on the launcher to open a new terminal.

I would also recommend you look into Tmux as this is a great tool for working in a single terminal screen. For example it will keep your session running after you logout from remote servers.

share|improve this answer

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.