! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfterm4 shouldn't set title to "Terminal" for xfce-extra/terminal if not expl...
Status:
RESOLVED: WONTFIX
Product:
Xfce-utils
Component:
General

Comments

Description Qiangning Hong 2006-04-03 08:23:55 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; zh-CN; rv:1.8.0.1) Gecko/20060322 Firefox/1.5.0.1
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; zh-CN; rv:1.8.0.1) Gecko/20060322 Firefox/1.5.0.1

When TERMCMD is set to "Terminal" and barely run "xfterm4" without any argument, the xfterm4 script will pass the argument "-T Terminal" to xfce-extra/terminal (i.e. the os-cillation one).  This argument will set the terminal title to "Terminal" FOREVER, making the programs running in the terminal cannot change the terminal title, until you clear the "Terminal" text manually from the menu "Terminal->Set Title...".

In my gentoo environment, if I execute Terminal directly, I can see my pwd in the terminal title, very handy.  But if I execute xfterm4, I had to clear the title manually to see the pwd.  So I think it should be improved.

I've made a patch for this, very ugly, and only works for xfce4-extra/terminal (because I have never used other terminals ;).  Hope some skilled ones work out a better one:)

Reproducible: Always

Steps to Reproduce:
1. export PROMPT_COMMAND='echo -ne "\033]0;${PWD/$HOME/~}\007"
2. run xfterm4
3. check the terminal title

Actual Results:  
"Terminal"

Expected Results:  
"~/path/of/pwd - Terminal"
Comment 1 Qiangning Hong 2006-04-03 08:25:03 CEST
Created attachment 492 
xfterm4-no-preset-title.patch
Comment 2 Benedikt Meurer editbugs 2006-04-03 23:12:00 CEST
Makes sense IMHO. I also find the preset title very annoying.
Comment 3 Harold Aling 2007-09-23 19:42:08 CEST
(In reply to comment #2)
> Makes sense IMHO. I also find the preset title very annoying.
> 

Is this fixed in the current version?
Comment 4 Nick Schermer editbugs 2014-12-03 09:19:27 CET
Close bug reports of archived products.

Bug #1633

Reported by:
Qiangning Hong
Reported on: 2006-04-03
Last modified on: 2014-12-03

People

Assignee:
Xfce Bug Triage
CC List:
1 user

Version

Attachments

xfterm4-no-preset-title.patch (1.01 KB, patch)
2006-04-03 08:25 CEST , Qiangning Hong
no flags

Additional information