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 often have to keep multiple ssh sessions open in different terminal windows at the same time and I'd like to have a differen background color to help me visualize to which host I'm connected to: i.e. red when I'm root@live-system. I tried configuring xfce terminal but the setting is not wi

Do you know any terminal emulator that allows me to do that?

I'd prefer something that does not depend on KDE libraries.

share|improve this question

I set a different PS1 for each user, making root red and other users green. Also, I give user, hostname and path a different color to make them distinguishable:

shell color

See "Bash Prompt HOWTO: Colors", "Bash Prompt HOWTO: Nonprinting Characters" and the "PROMPTING" part of man bash on how to do that.

share|improve this answer
It's a good tip that I'll implement for sure, yet the background color would be helpful for me. – Nov 17 '11 at 14:36
Same here for when I'm in programs such as MySQL instead of at the command prompt. – David Harkness Feb 5 '13 at 16:43

The standard gnome-terminal has profiles. Just click right on the window and you'll see the menu entry.

You can create as many profiles as you like, each with their own colours, fonts, settings, and whatever, and switch freely between profiles whenever you wish.

I don't know if it's possible to have it switch profile automatically, but there's a command line parameter to load a config, and the File -> New menu option lets you choose a profile, so you can probably arrange separate launchers or something, if that helps.

share|improve this answer

Roxterm allows for changing of profiles from the command line, but I have found it insufficient for my needs since I didn't find a clean method to trigger the changes. Creating a new terminal tab or a new terminal window maintains the settings from the original.

share|improve this answer

Using gnome-terminal you have option to load different config file whenever you start the command. In order to do that:

gnome-terminal --load-config=FILE

And for each config file you can specify any colors you want.

share|improve this answer

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.