xfce set title on the fly

Lorenzo Sutton lorenzofsutton at gmail.com
Fri Oct 25 09:59:42 CEST 2019

Assuming you are using BASH...
As stolen from most .bachrc default file, you could use this:

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

and of course make a script or ad a function to your .bashrc e.g.

Hope this helps.

On 25/10/19 07:24, Geoffrey Leach wrote:
> Is there a way to set the title of an xfce terminal "on the fly"?
> For example, a command foo such that
> 	%foo 'bar'
> sets the terminal title to 'bar'
> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> https://mail.xfce.org/mailman/listinfo/xfce
> http://www.xfce.org

More information about the Xfce mailing list