[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#708388: xfce4-terminal: Dynamic titling doesn't work



Control: tags -1 moreinfo unreproducible
Control: severity -1 wishlist

PS1 matters indeed. This is where the dynamic title is set. xterm and
its clones recognize a few OSC control sequences, such as \033]0 or
\033]2, the former sets both icon name and window title to the text
following the control sequence, while the latter only sets the window
title.

Bash, the default shell on Debian, is shipped with its default
.bashrc, which sets
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" for
xterm. The relevant part here is between the \e]0; ... \a control
sequences. \a is the bell character that terminates the OSC control
sequence.

Make sure to return to defaults or adjust the text to show to your
liking. Compare PS1 on both machines and correct the broken one
appropriately.


Reply to: