Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Oct 2008 23:00:02 +0200
From:      cpghost <cpghost@cordula.ws>
To:        "Aryeh M. Friedman" <aryeh.friedman@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: stupid xfce clock question
Message-ID:  <20081007210002.GB961@phenom.cordula.ws>
In-Reply-To: <48E9CEB8.4090406@gmail.com>
References:  <48E9CEB8.4090406@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081007210002.GB961>