I'm trying to open up a few terminal tabs in gnome-terminal, and so far I've managed to do something, but I'm stuck now.
So, I have the following requirement:
- Open tabs titled "X" and "Y"
- Execute some commands
- Keep the tabs open and ready for further use; keep the title.
So far, I managed to meet some of the requirements, but not all of them:
gnome-terminal --tab -t "X" -e "bash" --tab -t "Y" -e "top"
This opens two tabs:
- "X" (and then changes the title to the default title)
- "Y", but the tab closes as soon as I quit
Is there a way to open up a tab, launch
bash, but not change the title? I've tried Google, but gave up.
EDIT: It doesn't has to be a command.