gnome-terminal commands in a script doesn't name tabs
by JockVSJock from LinuxQuestions.org on (#5M1CH)
Using RHEL8 with gnome-terminal v3.28.2.
I've created a simple script that will open multiple tabs that should label the tabs, however for some reason the tabs don't get re-labeled with the custom titles that I want (I'm only doing two tabs at this point since it isn't working).
There was an example from Stack Exchange that I tried to emulate:
https://unix.stackexchange.com/quest...-multiple-tabs
Here is my code
Code:#!/bin/bash
gnome-terminal 2&>1 \
--tab --title="home" \
--tab -t "ansible" \
# --tab -t "podman" \
# --tab -t "server_a" \
# --tab -t "server_b" \
# --tab -t "server_c" \
# --tab -t "server_d" \
# --tab -t "server_e" \I've tried using both -t and --title and not able to get either one working...Wondering if others have tried.


I've created a simple script that will open multiple tabs that should label the tabs, however for some reason the tabs don't get re-labeled with the custom titles that I want (I'm only doing two tabs at this point since it isn't working).
There was an example from Stack Exchange that I tried to emulate:
https://unix.stackexchange.com/quest...-multiple-tabs
Here is my code
Code:#!/bin/bash
gnome-terminal 2&>1 \
--tab --title="home" \
--tab -t "ansible" \
# --tab -t "podman" \
# --tab -t "server_a" \
# --tab -t "server_b" \
# --tab -t "server_c" \
# --tab -t "server_d" \
# --tab -t "server_e" \I've tried using both -t and --title and not able to get either one working...Wondering if others have tried.