[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Changing appearance of (x-)terminal



On Thu, 12 Sep 2002 16:26:26 +0200 Robert Ian Smit <robian@wanadoo.nl>
wrote:

> Colours would be great, having a background image on the terminal
> (if terminal support is available, otherwise ignore) would be
> heaven. Any other obvious visual clues available?

If you are using bash, take a look at the user's ~/.bashrc or the system
wide /etc/profile.  In either of these locations you should be able to set
something like the following:

  PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'

Which should set the title of the terminal window to the user@hostname:
pwd.  

HTH

-- 
Jamin W. Collins



Reply to: