Bug 227991 - Konsole does not set title from console applications
Summary: Konsole does not set title from console applications
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Unspecified
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-22 00:53 UTC by hanno
Modified: 2010-04-26 19:24 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
konsole (not working) and lxterminal (working) (121.89 KB, image/png)
2010-02-22 00:54 UTC, hanno
Details

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