Tab names can't always be set via --title
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNOME Terminal |
Expired
|
Medium
|
|||
gnome-terminal (Ubuntu) |
Triaged
|
Low
|
Ubuntu Desktop Bugs | ||
Lucid |
Won't Fix
|
Low
|
Ubuntu Desktop Bugs |
Bug Description
Binary package hint: gnome-terminal
If I run gnome-terminal like this:
cp ~/.bashrc ~/.bashrc-orig
cp /etc/skel/.bashrc ~
gnome-terminal --active --title "Default" --tab --title "Bash" -e "bash" --tab --title "Emacs" -e "emacs" --tab --title "NoRC" -e "bash --norc"
The third and fourth tabs show up named correctly, "Emacs" and "NoRC".
If I append "unset PS1" to the end of the .bashrc, it makes all the tabs show up properly. Of course, then I only get the default command line prompts in the session.
The expected behavior (IMHO) is that if --title is explicitly set on the command line, then it should be used preferentially to the prompt.
My use case is I start up gnome-terminal from ~/.xsession pre-seeded with multiple tabs each running a different command, and I like to name each tab to differentiate them.
Changed in gnome-terminal: | |
status: | Incomplete → Confirmed |
Changed in gnome-terminal: | |
status: | Unknown → New |
Changed in gnome-terminal: | |
importance: | Unknown → Medium |
Changed in gnome-terminal: | |
status: | New → Expired |
Thank you for reporting this behavior. What version of Ubuntu are you using, and which version of gnome-terminal?
Thanks!