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?

link|improve this question

75% accept rate
feedback

7 Answers

up vote 5 down vote accepted

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

enter image description here

link|improve this answer
feedback

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

link|improve this answer
feedback

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

link|improve this answer
feedback

right click on mouse and select open tab.

enter image description here

link|improve this answer
feedback

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.

link|improve this answer
feedback

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.

link|improve this answer
feedback

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.