right now I am using an one-line perl code to change titles of my terminal bars,
print("\e]0;@ARGV\7");
but every time after I ssh to another remote machine, the title will be modified by the host (by which I'm not particularly bothered). But after I exit from the connection, the modified title remains. Is there a way to fix this? essentially I want a fixed title for my terminals when operating locally.
I primarily use xfce terminal and terminator under either CentOS or Debian. Thanks.
EDIT
Another subtlety is that, rather having all terminals the same name, I would prefer to have the freedom to edit their titles on-the-fly but only forbid SSH session from modifying what I edited.