Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gnome-terminal: change colors for each server I log into?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
dsegel
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jan 2003
Posts: 127

PostPosted: Tue Aug 24, 2004 4:22 pm    Post subject: gnome-terminal: change colors for each server I log into? Reply with quote

I have a set of colors I use on my desktop system, but I'd like the terminal colors (primarily the background) to change if I open a session or ssh into a different system so it's immediately obvious if a given terminal window is local or not.

Can I do this with gnome-terminal? It doesn't use .Xdefaults, so I'm unclear on how to proceed.
Back to top
View user's profile Send private message
monotux
l33t
l33t


Joined: 09 Sep 2003
Posts: 751
Location: Stockholm, Sweden

PostPosted: Tue Aug 24, 2004 5:03 pm    Post subject: Reply with quote

I think you should do some research about your .bash_profile.
you can use a simple if-statement to change colours depending on hostname (very simple. you have to have an exact copy of your .bash_profile on every server you want special colors on tho...)

good luck :)
_________________
Computer science is no more about computers than astronomy is about telescopes.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum