Bug 174814

Summary: console does not respect bash PROMPT_COMMAND escape sequences
Product: [Applications] konsole Reporter: Mike Brown <mbrown>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED WORKSFORME    
Severity: normal CC: robertknight
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Mike Brown 2008-11-10 21:10:04 UTC
Version:            (using KDE 4.1.2)
OS:                Linux
Installed from:    Ubuntu Packages

In my .bashrc I have:

export PROMPT_COMMAND="printf \"\033]0;[\$HOST] \$PWD\a\""

which is supposed to automatically change the window title of terms to show the host & pwd.  this works correctly in xterm, rxvt, aterm, and eterm, but not konsole.
Comment 1 Robert Knight 2008-11-10 23:20:55 UTC
Hello,

By default, Konsole automatically generates tabs and window titles from the currently running program and directory.  If you want to see the window title set by the shell you need to change your tab title settings.  

Go to Settings -> Edit Current Profile -> Tabs, clear the title boxes and click Insert -> Window Title Set By Shell.