Super User is a question and answer site for computer enthusiasts and power users. 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 have a habit of changing the terminal background to another color scheme when connected to a remote server. This prevents lots of theoretical, unfortunate mishaps.

Is there a way to change the desktop background automatically, preferably to a color different color scheme for each server? I use konsole, but willing to change a terminal emulator for this feature.



share|improve this question
I'm a bit confused - do you want to change the terminal background or the desktop background? – nagul Sep 1 '09 at 16:46
I upvoted this because it's a great technique and something I already do... in fact I use unique colors using the prompt command for each server... the prompts are the same, but the colors i type in and the base color is different for each of my servers. it's the easiest way of looking at a terminal withouth having to read anything (even a title bar or prompt) and KNOW FOR SURE, which server you're connected to. – Joshua Kersey Oct 24 '09 at 5:01
up vote 3 down vote accepted

Hm, changing background colors could get messy, but changing the color of the prompt when you login to your remove server should be easy. Just add it to your .bashrc file.

share|improve this answer
I like that idea: you could have a bright red background like this one: – Doug Harris Sep 1 '09 at 18:24

You could make a different terminal profile for each server, and use a different color scheme for each. This would require you to start a new terminal for each new connection, instead of just using ssh in an existing one.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .