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 want to automatically change the color of my xterm titlebar. I would like to put code into my .bashrc so that the color changes automatically (say depending on the directory I am in).

I know how to change the prompt and also how to change the text displayed in the titlebar. My question is about the color of the titlebar. Right now the color is orangish. I am using Ubuntu.


share|improve this question

migrated from Jun 13 '10 at 0:46

This question came from our site for professional and enthusiast programmers.

xterm will inherit the window decoration settings of your window manager. I don't think there is currently a way of automatically changing it based on your current directory.

share|improve this answer

You must log in to answer this question.