Bug 183311

Summary: konsole titlebar doesn't respond to \033]0;
Product: [Applications] konsole Reporter: lpkruger
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED NOT A BUG    
Severity: normal CC: robertknight
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description lpkruger 2009-02-05 15:43:07 UTC
Version:            (using KDE 4.2.0)
Compiler:          gcc-4.1 
OS:                Linux
Installed from:    Gentoo Packages

The standard terminal ESC sequence to set the terminal title is not working in KDE 4.2.  The konsole titlebar doesn't change.  This is a regression from KDE 3.5.9

Steps to reproduce:
1) start a Konsole
2) make sure $PROMPT_COMMAND is unset
3) echo -ne "\033]0;text\007"

Expected behavior: the window titlebar should be set to "text"
Actual behavior: nothing happens.
Comment 1 Robert Knight 2009-02-05 21:36:06 UTC
The default window title is set to be a combination of the program name and current directory or user and host for SSH sessions.  To display the window title set by the shell:

1.  Go to Settings -> Edit Current Profile -> Tabs
2.  Clear the 'Tab Title Format' field and click Insert -> Window Title Set by Shell

The reason we don't use the window title by default is because for most people, Konsole's 'smart' behavior works better with no setup required.