Bug 183311 - konsole titlebar doesn't respond to \033]0;
Summary: konsole titlebar doesn't respond to \033]0;
Status: RESOLVED NOT A BUG
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-05 15:43 UTC by lpkruger
Modified: 2009-02-05 21:36 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.