
答案1
首先我嘗試過這個,但它不再受支援:
gnome-terminal --title="SOME TITLE HERE"
Option "--title" is no longer supported in this version of gnome-terminal.
所以我已經解決了這個:echo -ne '\033]0;New title\007'
答案2
你可以使用terminator
.它確實支援終端機視窗的名稱。您可以使用以下命令安裝終結者sudo apt-get install teminator