GNOME Bugzilla – Bug 706816
tab titles remain empty in ostree
Last modified: 2014-04-20 18:21:52 UTC
I'm trying 3.9.90 in ostree - first of all, why did the 'new tab' menuitem get lost ? that was a little confusing, in particular since 'close tab' is still there. After figuring out that Ctrl-T still works, I opened a few tabs and found that the all had blank titles. Also in the tabs menu: a bunch of blank menuitems. That can't be right...
possible this is related to that vte.sh snipplet - ostree may not handle that right. But still, showing blank menuitems is just a bug. 'Tab 1', 'Tab 2', etc would be much better
(In reply to comment #0) > first of all, why did the 'new tab' menuitem get > lost ? that was a little confusing, in particular since 'close tab' is still > there. I've renamed close tab/window to close terminal/close all terminals now on master. > After figuring out that Ctrl-T still works, Yes, Ctrl-Shift-T is still the shortcut to 'open a new terminal in a new tab'. > I opened a few tabs and > found that the all had blank titles. Also in the tabs menu: a bunch of blank > menuitems. > > That can't be right... That's not intended. I don't see that here; is ostree doing something special wrt bash's PS1 or PROMPT_COMMAND ?
Is this still happening? And if so, what's ostree doing with PS1 or PROMPT_COMMAND which usually set the title?
PROMPT_COMMAND is not set in Continuous because for some reason /etc/profile is not being executed.
The easy workaround is to go to Profile Preferences -> Title & Command and turn on "Run command as a login shell". That will force the bash (and sh) to read /etc/profile. However that is not needed on Fedora 20 and makes me wonder what else could be different between the two systems. Oh, by the way, the default shell in Continuous is /bin/sh as opposed to Fedora.
I added fallback to 'Terminal' as tab title, like the window title already does.