Some Terminals support setting the title like echo -ne "\033]0;$(whoami)\007" I'm doing that by COMMAND_PROMPT which works in KDEs Konsole but gives weird characters on Terminal. So far I disabled that part for Terminal since I did not find a proper way to check before printing such sequences. Anyway it would be nice to support setting the title of a tab dynamically like that.
I'm hardly trying to replace KDE konsole by XFCE Terminal. There are only a few issues missing for me, this is one: Konsole-4 for example has a configurable "tab title format": Program Name: %n Current directory (short): %d Current directory (long): %D Window title set by shell: %w Session number: %# User name: %u %w is the only I'm using here since I set the title dynamically by $PROMPT_COMMAND.
Currently the title section of Terminal settings has "Initial title" and "Dynamically-set title" but only applies to the window title. I'm rather pointing to tab titles which have no user setting at all at the moment.
Sorry, this seems to work now. The tab title can be set dynamically by escape sequence. Maybe there was something wrong with the sequence or with the font set. If there are no plans to implement the other variables such as %d, please close this issue.