2

Sometimes I'm using a lot of terminals for server communication, and what boders me is that sometimes I'm lost, so I want to organize my terminal windows by name or tag or something that will make a difference betwen terminal A and terminal B.

Now I have something like this:

enter image description here

Any suggestion?

mirsad
  • 194
  • Are the server names always the same then? Like its 6 connections and 6 terminals all to the same location? –  Jun 04 '16 at 13:53
  • 2
    This might be helpful, there still might be a better way. http://askubuntu.com/questions/22413/how-to-change-gnome-terminal-title –  Jun 04 '16 at 13:55
  • Server names (hostname) are different, but if I run for example htop, then I can not see hostname. – mirsad Jun 04 '16 at 14:02
  • Related: http://askubuntu.com/questions/527083/identify-the-server-im-working-at – muru Jun 05 '16 at 17:14

2 Answers2

2

First I've tried with this, but it's not anymore supported:

gnome-terminal --title="SOME TITLE HERE"

Option "--title" is no longer supported in this version of gnome-terminal.

So I've solved with this: echo -ne '\033]0;New title\007'

mirsad
  • 194
  • 1
    You can also look up how to change the title depending on which directory or application it's currently running. This would be – earthmeLon Jun 05 '16 at 20:45
1

You could use terminator. It does support names for terminal windows. You can install terminator by using sudo apt-get install teminator