Linked Questions

79 votes
10 answers
205k views

How to change the title of the current terminal tab using only the command line [duplicate]

None of the currently posted answers works/answers the question. As per my original question, neither setting PS1 nor PROMPT_COMMAND had any effect. Using only a command at the command prompt, how do ...
Bohemian's user avatar
  • 899
36 votes
3 answers
38k views

How to change Terminal Title in ubuntu 16.04 [duplicate]

When I was using ubuntu 14.04, it's easy to set title. Just press F2 or move mouse to top menu. But there is no menu on ubuntu 16.04 and press F2 can't change the title. What should I do?
Vikrant's user avatar
  • 363
26 votes
3 answers
41k views

How do you set the title of the active gnome-terminal from the command line? [duplicate]

Is there a way to set the gnome-terminal title from within the terminal itself without having to right click on the tab. Something like: active-terminal --title "Foo" There was a related question ...
Kit Sunde's user avatar
  • 11.1k
4 votes
3 answers
3k views

How can I programmically set the gnome-terminal title? [duplicate]

How can I programmically set the gnome-terminal title? I've tried gnome-terminal --title="bla" but this opens a new terminal window while outputting Xlib: extension "RANDR" missing on display ":0....
Kurru's user avatar
  • 251
1 vote
1 answer
1k views

Remove user and hostname from Gnome Terminal window title? [duplicate]

Does anyone know if it's possible to remove user and hostname from Gnome Terminal? I wish to only see the running command there.
orschiro's user avatar
  • 13.3k
3 votes
1 answer
1k views

Unable to change gnome-terminal tab title any standard way [duplicate]

I have 2 laptops, A and B, same OS (ubuntu 18.04). My gnome terminal tab titles on A always show current path in the tab, whereas B show it the one I tell it via the tt and ntt commands I discuss in ...
Oliver's user avatar
  • 183
0 votes
2 answers
315 views

How to change terminal title? [duplicate]

In windows, I just have to type title mytitle to change the title of the terminal. c:\title mytitle How to do it in ubuntu?
Roberto Messa's user avatar
-1 votes
1 answer
187 views

Change Terminal Name to be the Current folder Name [duplicate]

How to change the title of Terminal to be the Current folder Name? for example i'm in the folder test then the terminal title should be test as well. Note : i don't want the full path that comes ...
ismnoiet's user avatar
0 votes
0 answers
172 views

How to add a title or individual coloring to a terminal window? [duplicate]

I am working now on some really exiting project and I am using about six terminals at the same time. Normally I use Ubuntu's default terminal which is currently the GNOME Terminal 3.20.2 Sometimes I ...
eDeviser's user avatar
  • 2,119
26 votes
2 answers
49k views

Open Terminal with multiple tabs and execute application

I am new to linux shell scripting. I want to write a shell script which will open terminal with multiple tabs; it should run rtsp client app in each tab. For this, I have gone through question here ...
user172001's user avatar
12 votes
3 answers
19k views

Terminal prompt messed up after changing value of PS1

I carelessly entered a command in the terminal that should have been in a shell script: export PS1=$PATH:~/drush23/drush/ now in my terminal instead of this: ubuntu@ip-10-16-134-18:/home/ubuntu$ I ...
Moshe Shaham's user avatar
4 votes
3 answers
7k views

How to set the title in Terminal

In previous versions of Ubuntu, like 14.04, it was possible to set the title of each terminal tab via the menu: Terminal -> Set Title ... In 18.04, there is still the entry Terminal with options like ...
false's user avatar
  • 1,852
5 votes
2 answers
11k views

How to change Ubuntu's terminal name

I've been reading about this topis here and tried the solution given to change the terminal name (refer to the picture on item number 1) But none of them can change the terminal's name (item number 1)...
Sabrina's user avatar
  • 2,013
5 votes
1 answer
7k views

How to change the terminal title and the prompt path to show only the current working directory’s name? [duplicate]

I use Terminator terminal. As you can see from the screenshot below, everywhere it shows the directory names. Instead of showing whole directory names, I want it to show only the last directory name i....
asdfkjasdfjk's user avatar
7 votes
3 answers
4k views

gnome-terminal does not allow changing the title

I've selected "Replace initial title" setting in gnome-terminal's preferences, but it just shows the default title "Terminal". After reading this answer, I added this to my .bashrc: PROMPT_COMMAND='...
galymzhan's user avatar
  • 123

15 30 50 per page