2

on windows I have command

title new title name

is it possible on Ubuntu?

0

4 Answers 4

4

Use xtitle (not installed by default):

xtitle new title name
8
  • That did not work on Ubuntu 10.04. May 2, 2011 at 12:56
  • Works here on 10.04 after installing xtitle May 2, 2011 at 14:21
  • will it work with lxterminal?
    – dsaint
    May 11, 2011 at 15:17
  • I guess so. It uses a control sequence introduced by xterm and works with most terminal emulators I used so far - but I've never used lxterminal so I don't know for sure. May 11, 2011 at 16:08
  • This is the one I want but it doesn't seem to be working, at least under 11.04 - see askubuntu.com/questions/93185/…
    – user9184
    Jan 6, 2012 at 1:25
3

In 10.04 go to Edit > Profile Preferences and select the "Title and Command" tab and change:

Initial title: any_title_you_like

When title commands set their own titles: Keep initial title enter image description here

0
1

Just click Terminal > Set Title in your Terminal.

1
  • Assuming that by title you mean the text shown in the Titlebar: If you use the gnome-terminal, you can goto Menu > Terminal > Title. It will ask you to set the title for the terminal. However, the name will be lost after you close the terminal.

  • Assuming you want to change the name@hosts:~$ bit because of a mis-spelling. Well, thats a wee lil' bit complicated. There are three parts to it, your username, your hostname, and the current directory. You can change the username by executing

    usermod --login NewUserName

    You can change the hostname by editing the contents of the /etc/hostname. Just type

    sudo nano --nonewlines /etc/hostname

    And third, your current directory environment variable will keep changing according to the well, current directory :p

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .