up vote 3 down vote favorite
2
share [g+] share [fb]

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

link|improve this question

78% accept rate
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. – Good Time Tribe Oct 24 '09 at 5:01
feedback

2 Answers

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.

link|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
feedback

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.