How to show CLI application name in window title?
So, I'm curious if it is possible (and how, obviously) to show a CLI application in the terminal title bar (similar to how every non-CLI app does? I typically use gnome-terminal
, which has an option to show the application where necessary, but xterm
seems to exhibit the same behavior, i.e., nothing is displayed. This would be helpful when using things like htop
and slurm
plus a standard terminal in stacking or tabbed layout.