It depends on which system you connect to. If you connect to a system which doesn’t know how to set the tittle bar, then it isn’t going to be set. Fedora systems have a shell variable named PROMPT_COMMAND
which does the magic thing to modify the title bar.
The OP describes the problem as a regression.
This implies it worked correctly before updating.
If you add
unset PROMPT_COMMAND
to .bash_profile
on the remote system, you can see that the tittle bar is not updated. I tested and confirmed that this happens with Live system of Fedora 39 as well as Live system of Fedora 40. If you revert that change to .bash_profile
the title bar is updated, also in the current version of Fedora 40.
The OP was seeing that when connection to a Solaris system, and I would expect that this has never worked.
I guess it is a not solved issue.
Yes, it is reproducible.
I installed a fresh Fedora 40 in “Boxes”. It worked smoothly. I “dnf update -y”, and it stopped working. I tried that twice. No manual changes whatsoever.
This issue is dated back 4 years as I saw it there.
Try this:
sudo dnf downgrade vte\*
I tried it and it worked like a charm.
After downgrade, the below packages are like:
$ rpm -qa|grep vte
vte-profile-0.74.2-4.fc40.x86_64
vte291-0.74.2-4.fc40.x86_64
They were 0.76.3.
Any idea where to go from here?
I do not know if setting the title the way it used to do is considered a feature or just a nice to have subject to change.
Having your own scripts that you control that set the title reliably seems the most robust thing to do.
I guess this is a bug.
How can we transfer this case to gnome-terminal developers?
Red Hat Bugzilla – Bug 2297024 Submitted.
I use zsh
. PROMPT_COMMAND
is not set in zsh
, but there is a precmd(){}
function.
Check if this update fixes your issue:
FEDORA-2024-92affc3339 — bugfix update for gnome-terminal — Fedora Updates System
Problem is now solved after updating to gnome-terminal-3.50.1-8.fc40 today.
I issued sudo dnf update. 2 packages were updated among other packages: gnome-terminal and gnome-terminal-nautilus.
rpm -qi gnome-terminal still shows version 3.50.1, and not 3.50.1-8.
rpm -qi gnome-terminal shows:
Name : gnome-terminal
Version : 3.50.1
Release : 8.fc40
The 8 is part of the Release number. If you leave off the -i, you get the version and release together:
$ rpm -q gnome-terminal
gnome-terminal-3.50.1-8.fc40.x86_64
That’s fine with me.
Solved.