Custom titles for the terminal tabs or windows
This update allows users to set custom titles for terminal windows or tabs in *gnome-terminal*. The titles can be changed directly in the *gnome-terminal* user interface.
1. What is the nature and description of the request?
The request is to include 'Title' option support for gnome-terminal windows and tabs similar to what was available in older versions of gnome-terminal as available in RHEL prior to the RHEL7.2 release.
Previous versions of gnome-terminal prior to RHEL 7.2 allowed titles to be set in terminal windows and tabs with the --title option. It was also possible to set the title on a tab by performing a right-click on a tab and selecting the 'Set Title...' option. In addition, there was also a preserve title feature that could be set via the gnome-terminal "Profile Preferences" --> "Title and Command" --> "Title: Keep initial title" selection. This was useful in conjunction with --title in many circumstances.
2. Why would you need it ? (List the business requirements here)
Used in various combinations these 3 options can address terminal managment in many situations. The above options all helped to effectively manage a large number of terminal widows/tabs over multiple workspaces. The --title option was very useful for defining predefined window/tab sets for a large number of systems and various activities. The right-click set title option allowed one to easily rename a tab with a running process so it could easily be identified, found, and tracked or to avoid accidental closure. There appears to be no viable title alternative for these use cases. Sysetem Administrators and others are often working with dozens (and dozens and dozens) of terminal windows and tabs. The system terminal is a critical application in Linux/UNIX environments especially in an enterprise environment. To perform an operation in the wrong terminal window/tab can be catastrophic.
3. How would you like to achieve this? (List the functional requirements here)
Ideally restoration of title features as found in gnome-terminal prior to the release of RHEL 7.2 (i.e., gnome-terminal-3.8.4-8.el7 or earlier). Any of the features are better than none but ideally all the title features would be restored include the profile feature related to titles.
4. For each functional requirement listed, specify how Red Hat and you can test to confirm the requirement is successfully implemented.
The '--title' option can be tested with a code block like the following:
/usr/bin/gnome-terminal --window --geometry=132x40 --profile='default' --title='host1' \
--tab --profile='site.tpreserve' --title=host2 \
--tab --profile='site.tpreserve' --title=host3 \
--tab --profile='site.tpreserve' --title=host4
The right-click 'set title' option on a tab can be tested as described above.
5. Do you have any specific timeline dependencies ?
6. Is the sales team involved in this request and do they have any additional input?
7. Would you be able to assist in testing this functionality if implemented?
Gnome rebase to 3.14 must have done this,
Here is the upstream commit to backport:
I have built gnome-terminal-3.14.3-7.el7:
The option is still deprecated, so the warning is intentional, but it is working again.
I have built gnome-terminal-3.14.3-12.el7:
It should have all the knobs that were there in RHEL 7.1 (ie. till GNOME 3.10.x).
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.