Results 1 to 5 of 5

Thread: gnome-terminal: how to name the Window (not a tab)

  1. #1
    Join Date
    Aug 2009
    Beans
    27

    Question gnome-terminal: how to name the Window (not a tab)

    Hi all,

    I've seen questions similar to this posted in many places, but not answering this exact query.

    I know how to set the Title of an individual tab in gnome-terminal, so that when that tab is selected the Window takes on that title (generally right-click on the tab and use "Set Title..."; xterm -t foo, as is suggested in some places, doesn't seem to work).

    It would be nice not to have to name each of my tabs separately though.

    Is there a way to set the name of a gnome-terminal Window, irrespective of the names of the terminal tabs?

    I looked my CompizConfig Settings Manager as well, but couldn't see anything relevant.

    Cheers!

  2. #2
    Join Date
    Nov 2010
    Location
    Berlin, Germany
    Beans
    4,534
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: gnome-terminal: how to name the Window (not a tab)

    "Edit -> Profile Preferences -> Title and Command":

    • Set "Initial title" how you want it.
    • Change "When terminal commands set their own titles" to "Keep initial title".

    Notice that the names of the individual tabs will be the same then, but it seems that you are fine with that.

    Greetings.

  3. #3
    Join Date
    Aug 2009
    Beans
    27

    Re: gnome-terminal: how to name the Window (not a tab)

    This doesn't get me precisely what I'm looking for, as it's reliant on using profiles - in order to give one name to window A with one set of tabs, and another name to window B with another set of tabs, I have to use a different profile for each window.

    I was hoping to avoid mucking about with profiles - admittedly not that much of a hassle, but a simple "name this window 'foo'" command would have been preferable.

    Still, the problem is solved acceptably for the time being, until I stop whining and add the feature I want to gnome-terminal myself

    Thanks for the pointer.

  4. #4
    Join Date
    Jun 2011
    Location
    The Shadow Gallery
    Beans
    6,807

    Re: gnome-terminal: how to name the Window (not a tab)

    Quote Originally Posted by doubi View Post
    This doesn't get me precisely what I'm looking for, as it's reliant on using profiles - in order to give one name to window A with one set of tabs, and another name to window B with another set of tabs, I have to use a different profile for each window.

    I was hoping to avoid mucking about with profiles - admittedly not that much of a hassle, but a simple "name this window 'foo'" command would have been preferable.

    Still, the problem is solved acceptably for the time being, until I stop whining and add the feature I want to gnome-terminal myself

    Thanks for the pointer.

    terminal>set title

    Edit: i see you already said you had done that
    Feel Free to Bitcoin Tip: 135Rp4pwwYTHEJ4u8bxKaDQiC91N9LUoV2

    Backtrack - Giving machine guns to monkeys since 2006
    Kali-Linux - Adding a grenade launcher to the machine guns since 2013

  5. #5
    Join Date
    Nov 2010
    Location
    Berlin, Germany
    Beans
    4,534
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: gnome-terminal: how to name the Window (not a tab)

    There is a command line option for setting the title of the invoked terminal window, but unfortunately this only affects the first created tab, any further tab opened through the menu would have the title specified in the profile settings.

    Anyway, this is how the command would look like (if you don't use spaces, no quotation marks are needed):
    Code:
    gnome-terminal --title="Set what you want."
    For this to work, you still need to change the profile setting "When terminal commands set their own titles" to "Keep initial title", as described previously.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •