From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 20:59:29 2008 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 7532B10656A2 for ; Tue, 7 Oct 2008 20:59:29 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.freebsd.org (Postfix) with ESMTP id 180E88FC16 for ; Tue, 7 Oct 2008 20:59:29 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from phenom.cordula.ws (phenom [192.168.254.60]) by fw.farid-hajji.net (Postfix) with ESMTP id 3CCEE35E2C; Tue, 7 Oct 2008 22:59:27 +0200 (CEST) Date: Tue, 7 Oct 2008 23:00:02 +0200 From: cpghost To: "Aryeh M. Friedman" Message-ID: <20081007210002.GB961@phenom.cordula.ws> References: <48E9CEB8.4090406@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48E9CEB8.4090406@gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: stupid xfce clock question 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: Tue, 07 Oct 2008 20:59:29 -0000 On Mon, Oct 06, 2008 at 04:39:20AM -0400, Aryeh M. Friedman wrote: > I work remotely with a company that is across the international date > line from me and I can do the math in my head but want to know if it is > possible to add a clock to my xfce panel that shows the time their (and > keep the one that has my time on it) It's not as elegant as an additional clocklet in a task bar, but how about running multiple instances of xclock instead? #!/bin/sh # tzxclock -- run a timezoned instance of xclock env TZ=$1 xclock -digital -twentyfour -title $1 That wouldn't depend on the specifics of the window manager, and can still be customized with multiple flags like -fn, -fg, -bg, -geometry, -strftime etc... Regards, -cpghost. -- Cordula's Web. http://www.cordula.ws/