I've put a little bash script into my .bashrc
based on this post:
How to change Terminal Title in ubuntu 16.04
It works great, at morning I start some terminals, one is called System
other is for Development
, etc.. I am using gnome-terminal
. I am also using tint2
, so all my terminals are on the bottom taskbar.
It is great to flag my terminals to distinguish them. But when I run midnight commander, it overwrites my given titles. Titles will be: mc[username@machine-name]
When I close mc, the titles are ok (what I've set before).
Is it possible to force mc
somehow to not overwrite my original titles?
mc
? Or do you want help to fix it? (I don't know how fix the title, while mc is running.) – sudodus Mar 08 '18 at 16:17username@machine-name
. I runset-title xxx
so the title now isxxx
. Run mc, and title is:mc[username@machine-name]
. Exit mc, and title isxxx
. What I want is to keepxxx
while I do not close terminal. – vaso123 Mar 08 '18 at 16:21