Bug 227991

Summary: Konsole does not set title from console applications
Product: [Applications] konsole Reporter: hanno
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED WORKSFORME    
Severity: normal CC: robertknight, Sam.Quiring
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: konsole (not working) and lxterminal (working)

Description hanno 2010-02-22 00:53:37 UTC
Version:            (using KDE 4.4.0)
Installed from:    Gentoo Packages

Some applications set the title for the terminal emulator. An example is gentoo portage, but it's a generic standard (xterm_title). This worked in kde 3.

I'll attach an image showing konsole beside lxterminal, which does it correctly. Both are running a portage session.
Comment 1 hanno 2010-02-22 00:54:13 UTC
Created attachment 40994 [details]
konsole (not working) and lxterminal (working)
Comment 2 Robert Knight 2010-02-22 14:04:19 UTC
Hello,

By default Konsole creates its own title which is usually more useful than the one set by most terminal programs.  You can make Konsole use the title set by the terminal program by going to Settings -> Edit Current Profile -> Tabs.  Clear the 'Tab title format' box and then click Insert -> Window Title Set by Shell
Comment 3 Robert Knight 2010-02-22 14:05:35 UTC
For a quick way to do this for a single tab but keep Konsole's titles for other tabs and new tabs:

1.  Press Ctrl+Alt+S
2.  Change the tab title text to '%w'
3.  Press Return
Comment 4 Samuel B. Quiring 2010-04-26 19:24:38 UTC
This default behavior of konsole is very difficult to figure out.  I like my icons and title bars to behave a certain way.  Normally I achieve this with PS1 settings in my .bashrc file.  I tried this on kubuntu 9.10 and ran against this unique default behaviour.  It took me over an hour to find this bug report to figure out what was going on.

If you are going to implement non-standard behavior by default, you should provide some clues to the hapless user