[kde-linux] [Fwd: Re: konsole - window title]

T E Schmitz mailreg at numerixtechnology.de
Mon Jul 31 22:07:00 UTC 2006


Thanks, Tobias - unsetting $PROMPT_COMMAND solved the 'problem' just nicely.

Do you also happen to know whether dynamically resetting the title can 
be prevented? You can do that in a gnome-terminal profile.

Kind Regards, Tarlika

-------- Original Message --------
Subject: Re: [kde-linux] konsole - window title
Date: Mon, 31 Jul 2006 18:17:37 +0200
From: Tobias Bocanegra <tobias.bocanegra at day.com>
Reply-To: tobias.bocanegra at day.com
To: mailreg at numerixtechnology.de
References: <44CE17EE.2050104 at numerixtechnology.de>	 
<8be731880607310836u103defber22a22c88b14ec501 at mail.gmail.com>	 
<44CE2585.5020609 at numerixtechnology.de>

i have:

PROMPT_COMMAND='echo -ne
"\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}"; echo -ne "\007"'
PS1='[\u@\h \W]\$ '

i guess, it's the PROMPT_COMMAND that produces the window title.

On 7/31/06, T E Schmitz <mailreg at numerixtechnology.de> wrote:
> In .bashrc, I have PS1='\u@\h:\w\$ '
> which is what I want as a command prompt but not for a window title. ;-)
>
>
> Regards, Tarlika
>
>
> Tobias Bocanegra wrote:
> > you probably have a prompt setting that has the ANSI sequences to set
> > the title. just replace it by a normal one.
> >
> > regards, toby
> >
> > On 7/31/06, T E Schmitz <mailreg at numerixtechnology.de> wrote:
> >
> >>When opening a konsole with a 'Shell' session, the window title is set
> >>to user at pc <path> <title>
> >>
> >>I would like to set the window title to just <title>. It bugs me to hell
> >>but I'll be damned if I can find how to set the title. ;-)
> >>
> >>Also, I don't want the window title to change dynamically.



More information about the kde-linux mailing list