FG
💻 Software

GNOME Terminal - process name in tab title

Fresh5 days ago
Mar 15, 20267347 views
Confidence Score0%
0%

Problem

How can I put the current running process name into a GNOME Terminal tab title (or title bar when there's only one tab)? -- UPDATE -- To clarify, I want the tab title to update when I run a process, for example:

Error Output

# title is currently "bash"
$ find / -name foo # while searching for foo, title is "find"
$ # title is once again "bash"
$ less /proc/cpuinfo # title…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: GNOME Terminal - process name in tab title

Low Risk

Found it. This site provides a good explanation of a solution. In your bashrc, it would look like: Personally, I don't think I would add it to my bashrc, because the DEBUG combined with trace does throw out a load of garbage when all your shell star…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment