It's a little tricky to do what you want, but you can change the Konsole title bar. Switch to:
Settings > Edit current profile > Tabs > Tab title format
and change it to %w , which means the window title set by the shell. I think you need to close Konsole and reopen it for the changes to take effect.
In any case, go to the prompt and execute the exec command:
OUTPUT=`whoami`; echo -ne "\033]2;$OUTPUT\007"
and so!
In this example, the window title is temporarily set to whatever is displayed by whoami.
karlphillip
source share