[Xfce-bugs] [Bug 1633] New: xfterm4 shouldn't set title to "Terminal" for xfce-extra/terminal if not explicitly required

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Mon Apr 3 10:23:56 CEST 2006


Do NOT reply to this email.  To make further comments on this bug, use
the URL below:
http://bugzilla.xfce.org/show_bug.cgi?id=1633

           Summary: xfterm4 shouldn't set title to "Terminal" for xfce-
                    extra/terminal if not explicitly required
           Product: Xfce
           Version: unknown
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: Medium
         Component: xfce-utils
        AssignedTo: xfce-bugs at xfce.org
        ReportedBy: hongqn at gmail.com


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"


-- 
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Xfce-bugs mailing list