Xfce Forum

Sub domains
 

You are not logged in.

#1 2014-10-07 11:54:05

slugman
Member
Registered: 2014-10-07
Posts: 1

Terminal Tab Name

Is there a way to update the tab name without using the gui, i.e. from the terminal? For example, is there a variable I can simply echo a tab name I see fit within a console?

I tried searching the forum for an answer to this question. I found the following post but I'm not sure if its related:

https://forum.xfce.org/viewtopic.php?id=8025 .

XFCE: 4.10
Slackware 14.1 64

Last edited by slugman (2014-10-07 11:54:55)

Offline

#2 2014-10-07 13:54:32

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,000

Re: Terminal Tab Name

Yes, that post is related. You can change the tab name by manually issuing the PROMPT_COMMAND variable, like:

PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'

...or as a template:

PROMPT_COMMAND='echo -ne "\033]0;YOUR TITLE HERE\007"'

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Board footer

Powered by FluxBB