Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

Thanks,

Udi

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

2 Answers 2

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
2  
I like that idea: you could have a bright red background like this one: hardlosers.r09.railsrumble.com/permalink/44 –  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

Your Answer

 
discard

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.