Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rename tab in MobaXterm for session duration

How can we rename tabs in MobaXTerm for the entire session duration? At the moment, I can right-click and rename the tabs, but as soon as I press enter to get command prompt, MobaXTerm resets tab name to its original default. I have tried changing PS1 env variable with no effect. Please help.

like image 903
charlie Avatar asked Apr 30 '15 09:04

charlie


1 Answers

I haven't tried this myself but when you create a profile for a new ssh session, there is a tab "Bookmark settings" and within this tab there is a check box named "Lock terminal title." According to the manual:

Lock terminal title

Terminal title will be set to the session name

If you check this option, any attempt by the shell to set tab title will fail. Uncheck this option if you want to allow the shell to change tab title.

like image 185
ks2000 Avatar answered Sep 22 '22 07:09

ks2000