After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 728148 - Tab titles not setting with -t option
Tab titles not setting with -t option
Status: RESOLVED DUPLICATE of bug 720693
Product: gnome-terminal
Classification: Core
Component: general
3.12.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-04-14 06:15 UTC by Anton Sudak
Modified: 2014-04-14 08:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Anton Sudak 2014-04-14 06:15:17 UTC
I have script that launches gnome-terminal with few tabs
load_server_list
i=0
cmd="$(which gnome-terminal) --geometry=158x53 --maximize"
while [ $i -lt ${#servers[@]} ]; do
	if ${autorun[i]}; then
		cmd="$cmd --tab -t '${descriptions[i]}' -e '$DIRNAME/conshell.sh ${servers[i]}'"
	fi
	i=$((i+1))
done

eval $cmd

with gnome-termonal 3.10 this script sets tab titles properly, but with 3.12 titles are blank. Looks like gnome-terminal ignore -t flag and and tries to take title from shell. But in my case I use custom script instead shell and title stays blank.
Comment 1 Debarshi Ray 2014-04-14 08:07:35 UTC
You could modify conshell.sh to call: echo -ne "\033]0;FOO\a"

*** This bug has been marked as a duplicate of bug 720693 ***