[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]
    Search the FAQ Archives

Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Single Page

Top Document: comp.windows.x Frequently Asked Questions (FAQ) 3/7
Previous Document: 51) Why can't I override translations? Only the first item works. (sic)
Next Document: 53) I have xmh, but it doesn't work. Where can I get MH?


52) How can I have a clock show different timezones?



One solution is xchron, in Volume 6 of comp.sources.x, which can show the
time for timezones other than the local one.

sunclock on ftp.x.org displays a world map with sun/dark areas and local and
UTC time.

The OpenWindows clock has a TimeZone property.  Modifications to the

Xaw clock widget to support hour and minute offsets were posted by David
Herron (david@twg.com).

A patch for the clock coming with the Xaw3D widgets introduces resources
hourOffset, minuteOffset, gmt; it can be found at
ftp.wu-wien.ac.at:pub/src/X11/wafe/xaw3d.Clock.patch.

Alternatively, you can probably set the timezone in the shell from which you
invoke the xclock or oclock, or use a script similar to this:

	#!/bin/sh 
	TZ=PST8PDT xclock -name "La-La" 2> /dev/null &
	TZ=EST5EDT xclock -name "Nyah-Nyah" 2> /dev/null &



Top Document: comp.windows.x Frequently Asked Questions (FAQ) 3/7
Previous Document: 51) Why can't I override translations? Only the first item works. (sic)
Next Document: 53) I have xmh, but it doesn't work. Where can I get MH?

Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Single Page


[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
faq%craft@uunet.uu.net (X FAQ maintenance address)

Last Update September 05 2008 @ 00:16 AM

© 2008 FAQS.ORG. All rights reserved.