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

Having used gnome-terminal I noticed that it does not remember its state, once closed. I would like a terminal which remembers its state, this includes the title of the tabs and the current directory in which I was. IIRC the konsole of KDE3 did this. So I installed konsole Install konsole (the current version which comes with Ubuntu 10.10) however it does not seem to remember it's state either. :(

share|improve this question

My only recommendation for this is to use something like GNU Screen screen which is a terminal multiplexor which will maintain states after the terminal has been disconnected. It can also be configured to save it's state to disk to maintain sessions between restarts.

share|improve this answer
I know about screen, so maybe I should install it again.. – Nils Feb 21 '11 at 17:01
How can I set the name of a shell in screen using a command or a variable? – Nils Feb 21 '11 at 17:13
ctrl-a followed by shift-a – djeikyb Feb 22 '11 at 0:22

Enabling Gnome to "remember currently running applications" provides a partial workaround, if it doesn't interfere with other parts of your workflow.

It remembers gnome-terminal screen profiles, locations, and directories upon logout.
(It will remember other running applications as well, which may or may not be a good thing for a given situation.)

There may be some wrinkles, but I've used this happily on one of my work systems where I have, at every login, a gnome-terminal starting at a deep documentation build directory, in a tiny, tiny font ; other windows running different font/color/directory profiles ; and a browser open to the html version of the doc that's set in the terminal path.

If you want to try this, you'd go to

System > Preferences > Startup Applications

then on the Options tab ,select "Automatically remember running applications when logging out" .

checkbox on 'Automatically remember running applications when logging out'

Counterintuitive, but sometimes very useful.

Alternatively, you can set it to remember your current set-up, instead of doing this automatically from logout.

share|improve this answer

You may want to try Guake.

share|improve this answer
Nah they shall just fix gnome and kde terminal. – Nils Feb 22 '11 at 17:39
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. – Mitch Aug 21 '12 at 7:33

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.