Terminal Emulator with different background color per instance
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.
Solution 1:
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:
See "Bash Prompt HOWTO: Colors", "Bash Prompt HOWTO: Nonprinting Characters" and the "PROMPTING" part of man bash
on how to do that.
Solution 2:
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.
Solution 3:
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.