XFCE oddity ....

doug doug at fledge.watson.org
Wed Aug 20 15:48:46 UTC 2014


On Wed, 20 Aug 2014, William A. Mahaffey III wrote:

> .... I am running XFCE under FBSD 9.3, w/ xfwm4 window manager, all box-stock 
> XFCE. I use rxvt terminals running tcsh for CLI work, usually have *many* 
> open at one time. I have the following tcsh alias set:
>
> cwdcmd  'echo -n "\033]2;${HOST}:\057$cwd\007\033]1;$cwd:t\007"'
>
> Under my old desktop (FC14, Gnome desktop, rxvt terminals, tcsh), this would 
> set the title bar of the window to '<hostname>:current directory', and the 
> panel marker similarly, worked AOK. It is only partially working under 
> FBSD/XFCE, however. Whenever I cd from one dir to another, nothing happens. 
> Indeed, most of my terminals just say 'rxvt' in their title bar & panel 
> marker. However, if I SSH to another machine, or to my ISP (They give you 
> shell account on their server :-) ), the title bar & panel marker are 
> correctly updated. What gives here ? The fact that it works sometimes 
> indicates that my setting for the alias is OK, but XFCE or FVWM4 isn't 
> responding correctly .... Bug ? TIA ....
>
I have been using this since 3.5:

   set prompt="%B%{\e]2\;%n@%m %l %~%#^g\e]1\;%n@%m^g\r%}%m\:%~%#%b "

still works. I use a custom /etc/csh.cshrc file so it is window manager 
independent. I took a shot at translating this using the man page a couple of 
years ago.


More information about the freebsd-questions mailing list