From owner-freebsd-questions@FreeBSD.ORG Sun Jun 7 14:11:52 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20414106564A for ; Sun, 7 Jun 2009 14:11:52 +0000 (UTC) (envelope-from nvass9573@gmx.com) Received: from mail.gmx.com (unknown [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id 68E748FC0A for ; Sun, 7 Jun 2009 14:11:51 +0000 (UTC) (envelope-from nvass9573@gmx.com) Received: (qmail invoked by alias); 07 Jun 2009 14:11:49 -0000 Received: from unknown (EHLO [192.168.254.1]) [91.140.104.119] by mail.gmx.com (mp-eu005) with SMTP; 07 Jun 2009 16:11:49 +0200 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX19cjxhQiJpcs0gOiWpj9xgtK+C1scMBPhZgB6wurz XCONLb68qQ9u0A Message-ID: <4A2BCA42.7090204@gmx.com> Date: Sun, 07 Jun 2009 17:10:10 +0300 From: Nikos Vassiliadis User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Daniel Underwood References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.63 Cc: freebsd-questions@freebsd.org Subject: Re: Set Terminal "title" in xfce to pwd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jun 2009 14:11:52 -0000 Daniel Underwood wrote: > How can I change the Terminal title (the title shown on open instances > of Terminal on the panel in xfce) to display *only* the present > working directory. Currently they all show "Terminal - daniel@bsdbox: > ~", for example. That's shell dependent. You can change an xterm's title by printing a specific character sequence. For example: printf '\033]0;%s\007' 'The title goes here' Then you have to alter the string - to include your working directory - every time you change a line. Check the following page for your shell: http://www.faqs.org/docs/Linux-mini/Xterm-Title.html HTH, Nikos