Bug 63249

Summary: Konsole title should only be the user title
Product: [Applications] konsole Reporter: Josh Berry <des>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: wishlist CC: robertknight, thoane
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Josh Berry 2003-08-25 17:51:51 UTC
Version:            (using KDE KDE 3.1.3)
Installed from:    Gentoo Packages
Compiler:          gcc 3.2.3 
OS:          Linux

Right now, in addition to displaying any "user" title information (e.g. "user@host: pwd"), konsole also displays its session name, and program name.  (e.g. "user@host: pwd - Shell - Konsole")

It would be nice to have an option that turns this off...something that allows me to limit the title to what I want it to be (just "user@host: pwd").

Seeing " - Shell - Konsole" is rather annoying, and not really useful to me when I look at a window title to determine what the window is.
Comment 1 Kurt Hindenburg 2004-02-04 18:58:05 UTC
http://kde.ground.cz/tiki-index.php has an example on how to alter the konsole title using PS1.
It should be easy to google for more examples.

PS1=$PS1"\[\e]30;\w\a\]" will add the working directory.
Comment 2 Ashar Voultoiz 2005-01-14 05:41:22 UTC
keeping konsole title minimal would be great.
Comment 3 Josh Berry 2005-08-03 02:11:41 UTC
This bug has been sitting here since 2003.  Does anyone actually care about it anymore or can I close it and get it off my buglist?
Comment 4 Ashar Voultoiz 2005-08-03 03:52:48 UTC
I do care. That's one of the reasons that make me use another terminal
emulator for now despite konsole having better performances.
Comment 5 Josh Berry 2005-08-03 05:13:58 UTC
I'll leave it open then.

I do think KDE needs to follow the standard being set by xterm and the others (i.e. PS1="\e]0;title\007").  I shouldn't have to send a special, KDE-specific escape sequence to get the title to display the way I want it to.

I just hope some developer pays attention for 4.0... ;)
Comment 6 Robert Knight 2006-08-16 01:22:34 UTC
Fixed for KDE 4.  If the terminal program has set a title then that is all that is displayed, otherwise the session title is displayed.  

This matches behaviour of xterm, gnome-terminal.
Comment 7 Christopher Layne 2007-11-02 11:23:09 UTC
Just found this bug, after having submitted a patch for KDE3. If people are interested in patching their KDE3 builds until KDE4 arrives, here's the patch:

http://bugs.kde.org/show_bug.cgi?id=151735