Ubuntu

Tab names can't always be set via --title

Reported by Bryce Harrington on 2009-01-09
2
Affects Status Importance Assigned to Milestone
GNOME Terminal
New
Medium
gnome-terminal (Ubuntu)
Low
Ubuntu Desktop Bugs
Lucid
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.

Matthew Copple (mcopple) wrote :

Thank you for reporting this behavior. What version of Ubuntu are you using, and which version of gnome-terminal?

Thanks!

Changed in gnome-terminal:
status: New → Incomplete

Oh, sorry for not including that. This is current jaunty with latest
gnome-terminal up to date yesterday:

gnome-terminal:
  Installed: 2.24.1.1-0ubuntu2
  Candidate: 2.24.1.1-0ubuntu2
  Version table:
 *** 2.24.1.1-0ubuntu2 0
        500 http://se.archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

On Fri, Jan 09, 2009 at 02:53:31AM -0000, Matthew Copple wrote:
> Thank you for reporting this behavior. What version of Ubuntu are you
> using, and which version of gnome-terminal?
>
> Thanks!
>
> ** Changed in: gnome-terminal (Ubuntu)
> Status: New => Incomplete
>
> --
> Tab names can't always be set via --title
> https://bugs.launchpad.net/bugs/315301
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in ???gnome-terminal??? source package in Ubuntu: Incomplete
>
> 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.

Matthew Copple (mcopple) on 2009-01-09
Changed in gnome-terminal:
status: Incomplete → Confirmed
Pedro Villavicencio (pedro) wrote :

thanks for the report, I've sent it upstream at: http://bugzilla.gnome.org/show_bug.cgi?id=567158 .

Changed in gnome-terminal:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: Confirmed → Triaged
Changed in gnome-terminal:
status: Unknown → New
Changed in gnome-terminal:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.