Results 1 to 9 of 9

Thread: Terminal title

  1. #1
    Join Date
    Jan 2011
    Location
    England
    Beans
    15
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Unhappy Terminal title

    Hey,

    Is there a way to change the terminal title without using using the command line interface?

    Even better would be a way to hide the terminal window but not close it.

    GNOME terminal btw
    Last edited by Lism; January 4th, 2011 at 09:48 PM.

  2. #2
    Join Date
    Dec 2010
    Beans
    26
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Terminal title

    Right click inside the terminal, choose Profiles, then Profile Preferences, then the 2nd tab 'Title and Command' - note the drop-down box under Title.

    What exactly would you like to do with hiding the terminal? If you want a terminal you can bring up anywhere, hide when you don't want it, but keep its state while hidden, there are ways to do this.
    Last edited by KJ KJ KJ; January 4th, 2011 at 11:00 PM.

  3. #3
    Join Date
    Jul 2005
    Location
    England
    Beans
    Hidden!

    Re: Terminal title

    Use Alt+F2 and enter gconf-editor. In the window that appears navigate to gnome-terminal->profiles->Default and then use the title and title_mode keys as shown in screenshot.

    The terminal title in the top bar will then show Gnome-terminal - user@host:~

    Is that what you meant by terminal title?

    EDIT:-

    Silly me! I didn't think about KJ's method. It does the same thing, but now you know two ways to do it.

    I also forgot the screenshot; now added.
    Attached Images Attached Images
    Last edited by ajgreeny; January 4th, 2011 at 11:34 PM.
    DISTRO: Xubuntu 12.04-64bit --- Code-tags --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo

  4. #4
    Join Date
    Jan 2011
    Location
    England
    Beans
    15
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Terminal title

    Yes, like in windows you can enter:

    Code:
    title "my_title"
    I want to be able to do that but from the command line.

    See, i've created a launcher from the desktop to launch Spotify in WINE, as if it is a windows installation. I want a command to add to the launcher command so that the terminal is called spotify too. Just like you can in a windows batch file.

    Like I said, a way to hide the terminal from the task bar would be better.
    Last edited by Lism; January 5th, 2011 at 03:01 PM.

  5. #5
    Join Date
    Oct 2010
    Beans
    12
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Terminal title

    I hope you don't mind me butting in on this thread but I'm looking for something similar.

    In Windows when you telnet via the command prompt the title changes to the device you are connected to. Is there anyway for terminal to show this. I manage switches for a living and am often connected to a few at a time so this would be helpful for me.

  6. #6
    Join Date
    Jan 2011
    Location
    England
    Beans
    15
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Terminal title

    Yeah, I work with many different terminal windows and I want this unused one to either go away or be named.

  7. #7
    Join Date
    Dec 2010
    Beans
    26
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Terminal title

    Quote Originally Posted by claydon View Post
    I hope you don't mind me butting in on this thread but I'm looking for something similar.

    In Windows when you telnet via the command prompt the title changes to the device you are connected to. Is there anyway for terminal to show this. I manage switches for a living and am often connected to a few at a time so this would be helpful for me.
    It's a mission, but you should be able to do it.

    http://www.ibm.com/developerworks/li.../l-tip-prompt/
    and, for the ultimate in details:
    http://tldp.org/HOWTO/Bash-Prompt-HOWTO/

  8. #8
    Join Date
    Dec 2010
    Beans
    26
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Terminal title

    Quote Originally Posted by Lism View Post
    I want a command to add to the launcher command so that the terminal is called spotify too.
    Code:
    gnome-terminal --title=Spotify
    Quote Originally Posted by Lism View Post
    Like I said, a way to hide the terminal from the task bar would be better.
    OK, you'll have to do some reading and some shell script programming, but it's do-able

    http://www.semicomplete.com/projects/xdotool/xdotool

    You can install it on Ubuntu.

  9. #9
    Join Date
    Jan 2011
    Location
    England
    Beans
    15
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Terminal title

    Thanks a lot KJ!

    Works sort of, i'm gonna look into the window hiding option.

    Thanks again.

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
  •