[Konsole-devel] [Bug 125796] Konsole tab titles don't refresh themselves automatically (without a user action)

Philippe Gassmann phil at anyware-tech.com
Tue May 16 07:33:06 UTC 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=125796         




------- Additional Comments From phil anyware-tech com  2006-05-16 09:33 -------
Here is my script used to automatically set the title of Konsole (I used zsh as shell) : 
if [ $TERM = 'xterm' ]; then
                precmd () { print -Pn "\e]0;%~\a" }
                preexec () { print -Pn "\e]0;[$1]%~\a" }
fi
When I start a command, it wrote the name of the command in the window title, at the end of the command, just the current directory is displayed.

In Konsole, I activated the option : "Set tab title to match window title"

I open two tabs in Konsole, in the first one, I execute "sleep 10" ( the tab title is set to "[sleep 10]~ - Shell No. 1") then, I activate the second tab and wait for 10 seconds. After that the sleep command ended, the tab title should return to "~ - Shell No.2". It does not happen like that : it is returning to the right title only when I activate the tab.



More information about the konsole-devel mailing list