Re: FVWM: title bar

From: Thomas Adam <thomas_adam_at_bonbon.net>
Date: Mon, 2 Aug 2004 22:37:14 +0100

On Mon, 2 Aug 2004 14:30:58 -0700 (PDT)
m p <mzp3769_at_yahoo.com> wrote:

> Hello,
> how display xterm name on the title bar and icon
> instead
> of user name and path,
> ie instead of
>
> USER on machine: /path
>
> get just xterm name.
>
> This used to work in twm with command
> xterm ... -n NAME -T NAME but not in fvwm2

This is probably a facet of how your shell handles the $PROMPT_COMMAND .
In my ~/.bashrc I have:

``
   # If this is an xterm set the title to user_at_host:dir
    case $TERM in
    #xterm*)
    # PROMPT_COMMAND='echo -ne "\033]0;${USER}_at_${HOSTNAME}:
${PWD}\007"' # ;;
    *)
        ;;
    esac
''

Change that as appropriate.

-- Thomas Adam

--
"Thomas is the kinda guy who'd happily write his own OS if it came to
it." -- Richard Gellman, via IRC.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon Aug 02 2004 - 16:40:31 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:57 BST