The gnome-terminal tab's title is dynamically set by the command assigned to the environment variable PROMPT_COMMAND. For example on my system I have
Code:
$ echo $PROMPT_COMMAND
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}"; echo -ne "\007"'
this will set the terminal and tab titles to something like
Code:
colucix@hostname:~/some/dir
If you want to one or more tabs with a fixed title, you have to create one or more different Profiles and unset the dynamic creation of the title for each of them. To do this, just open a Terminal and from the menu Edit --> Profiles choose "New". Give a profile name, click on "Create" then edit the profile by selecting the "Title and Commands" tab. In the "Initial Title" box put your custom title, then chose "Isn't displayed" in the "Dynamically-set title" list. Close.
The process above will create the file
Code:
$HOME/.gconf/apps/gnome-terminal/profiles/NAME_OF_THE_PROFILE/%gconf.xml
that is the configuration file - in XML format - which describes the profile's settings. Finally to open a terminal with two tabs and a custom title, just do
Code:
gnome-terminal --tab-with-profile=NAME_OF_FIRST_PROFILE --tab-with-profile=NAME_OF_SECOND_PROFILE
where you will put the proper name(s) of the newly created profile(s). Hope this helps.