Re: Customizable wall clock for several time zones
On Sun, 22 Aug 2010 02:51:52 +0200, "C. P. Ghost" wrote: > Yes, you can do that and it works like a charm: > > #!/bin/sh > # display multiple xclock(1)s side by side > for TIMEZONE in ZONE1 ZONE2 ZONE3 ... > do > env TZ=$TIMEZONE xclock > done > > (replace ZONE1, ZONE2, ZONE3 with real time zones > from /usr/share/zoneinfo) I already thought about that solution, and using -title should be possible (as it is with oclock) to "simulate" a caption for that clock. Basically, intclock is quite fine, but I prefer round clocks, all controllable as ONE window; I already thought about merging intclock with xclock (and looking at oclock), but going with multiple xclocks will be fine, too. > You could even set the xclock(s) nicely side by side by using > the -geometry flag as in: > > env TZ=$TIMEZONE xclock -geometry "${WIDTH}x${HEIGHT}+${XOFF}+${YOFF}" > > I suggest to keep WIDTH, HEIGHT and YOFF constant, and > to increment XOFF by $WIDTH plus some small constant for > every new timezone (use 'expr' to do arithmetic). This way, > you get them all arrayed side by side. Right, I've been playing with -geometry for many years now in order to place certain little windows (without titlebar and all the stuff) into the lower left corner of my display: xbiff, xclock, xlogo, xload, xmbmon, and finally an xterm, so they are nicely placed. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Customizable wall clock for several time zones
On Sat, 21 Aug 2010 12:05:12 -0500, Adam Vande More wrote: > /usr/ports/deskutils/google-gadgets > Around the World The dependencies are scaring me off. :-/ -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Customizable wall clock for several time zones
On Sun, Aug 22, 2010 at 2:51 AM, C. P. Ghost wrote: > On Sun, Aug 22, 2010 at 1:19 AM, Gary Kline wrote: >> On Sat, Aug 21, 2010 at 05:52:24AM +0200, Polytropon wrote: >>> I'm searching for a round-clock style clock application for X, >>> and I would prefer a standalone program (not integrated with >>> KDE, Gnome, or else). It should be possible to define several >>> timezones and attach a label to each clock (which doesn't have >>> to contain the name of the time zone, but an arbitrary string). >>> >>> It should look something like this: >>> >>> []= The clock =X >>> | | >>> | / | \ / \ \ / /\ | >>> | | +- | | -+ | | + | | >>> | \/ \/ \__|_/ | >>> | BLAH MEOW DOGFOOD! | >>> +--+ >>> >>> Just as bankers and dynamical long-legged success-oriented >>> group-dependent program managers use them. :-) >>> >>> In the ports, I found intclock, but it doesn't have round clocks, >>> and additionally, it allows to add UTC, and it is shown, but upon >>> program restart, it complains that "Timezone UTC not defined.". >>> >>> There is no need for a GUI configuration tool if the use of a >>> configuration file is documented, and then just contains the >>> TZ name and the label per clock, as simple as possible. >>> >>> Does such a program already exist? >> >> >> how about using multiple instantiations of xclock? i used to have a >> script with TZ= zulu, TZ=moscow, TZ=tokyo. > > Yes, you can do that and it works like a charm: > > #!/bin/sh > # display multiple xclock(1)s side by side > for TIMEZONE in ZONE1 ZONE2 ZONE3 ... > do > env TZ=$TIMEZONE xclock Obviously, the trailing '&' is missing: env TZ=$TIMEZONE xclock & or you'd get only the first xclock > done > > (replace ZONE1, ZONE2, ZONE3 with real time zones > from /usr/share/zoneinfo) > > You could even set the xclock(s) nicely side by side by using > the -geometry flag as in: > > env TZ=$TIMEZONE xclock -geometry "${WIDTH}x${HEIGHT}+${XOFF}+${YOFF}" Here too, don't forget the trailing '&' > I suggest to keep WIDTH, HEIGHT and YOFF constant, and > to increment XOFF by $WIDTH plus some small constant for > every new timezone (use 'expr' to do arithmetic). This way, > you get them all arrayed side by side. -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Customizable wall clock for several time zones
On Sun, Aug 22, 2010 at 1:19 AM, Gary Kline wrote: > On Sat, Aug 21, 2010 at 05:52:24AM +0200, Polytropon wrote: >> I'm searching for a round-clock style clock application for X, >> and I would prefer a standalone program (not integrated with >> KDE, Gnome, or else). It should be possible to define several >> timezones and attach a label to each clock (which doesn't have >> to contain the name of the time zone, but an arbitrary string). >> >> It should look something like this: >> >> []= The clock =X >> | | >> | / | \ / \ \ / /\ | >> | | +- | | -+ | | + | | >> | \/ \/ \__|_/ | >> | BLAH MEOW DOGFOOD! | >> +--+ >> >> Just as bankers and dynamical long-legged success-oriented >> group-dependent program managers use them. :-) >> >> In the ports, I found intclock, but it doesn't have round clocks, >> and additionally, it allows to add UTC, and it is shown, but upon >> program restart, it complains that "Timezone UTC not defined.". >> >> There is no need for a GUI configuration tool if the use of a >> configuration file is documented, and then just contains the >> TZ name and the label per clock, as simple as possible. >> >> Does such a program already exist? > > > how about using multiple instantiations of xclock? i used to have a > script with TZ= zulu, TZ=moscow, TZ=tokyo. Yes, you can do that and it works like a charm: #!/bin/sh # display multiple xclock(1)s side by side for TIMEZONE in ZONE1 ZONE2 ZONE3 ... do env TZ=$TIMEZONE xclock done (replace ZONE1, ZONE2, ZONE3 with real time zones from /usr/share/zoneinfo) You could even set the xclock(s) nicely side by side by using the -geometry flag as in: env TZ=$TIMEZONE xclock -geometry "${WIDTH}x${HEIGHT}+${XOFF}+${YOFF}" I suggest to keep WIDTH, HEIGHT and YOFF constant, and to increment XOFF by $WIDTH plus some small constant for every new timezone (use 'expr' to do arithmetic). This way, you get them all arrayed side by side. -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Customizable wall clock for several time zones
On Sat, Aug 21, 2010 at 05:52:24AM +0200, Polytropon wrote: > I'm searching for a round-clock style clock application for X, > and I would prefer a standalone program (not integrated with > KDE, Gnome, or else). It should be possible to define several > timezones and attach a label to each clock (which doesn't have > to contain the name of the time zone, but an arbitrary string). > > It should look something like this: > > []= The clock =X > | | > | / | \/ \ \/ /\ | > | | +- | | -+ | | + | | > | \/\/\__|_/ | > | BLAH MEOWDOGFOOD! | > +--+ > > Just as bankers and dynamical long-legged success-oriented > group-dependent program managers use them. :-) > > In the ports, I found intclock, but it doesn't have round clocks, > and additionally, it allows to add UTC, and it is shown, but upon > program restart, it complains that "Timezone UTC not defined.". > > There is no need for a GUI configuration tool if the use of a > configuration file is documented, and then just contains the > TZ name and the label per clock, as simple as possible. > > Does such a program already exist? how about using multiple instantiations of xclock?i used to have a script with TZ= zulu, TZ=moscow, TZ=tokyo. > > > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Customizable wall clock for several time zones
On Fri, Aug 20, 2010 at 10:52 PM, Polytropon wrote: > I'm searching for a round-clock style clock application for X, > and I would prefer a standalone program (not integrated with > KDE, Gnome, or else). It should be possible to define several > timezones and attach a label to each clock (which doesn't have > to contain the name of the time zone, but an arbitrary string). > > It should look something like this: > >[]= The clock =X >| | >| / | \/ \ \/ /\ | >| | +- | | -+ | | + | | >| \/\/\__|_/ | >| BLAH MEOWDOGFOOD! | >+--+ > > Just as bankers and dynamical long-legged success-oriented > group-dependent program managers use them. :-) > > In the ports, I found intclock, but it doesn't have round clocks, > and additionally, it allows to add UTC, and it is shown, but upon > program restart, it complains that "Timezone UTC not defined.". > > There is no need for a GUI configuration tool if the use of a > configuration file is documented, and then just contains the > TZ name and the label per clock, as simple as possible. > > Does such a program already exist > /usr/ports/deskutils/google-gadgets Around the World -- Adam Vande More ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Customizable wall clock for several time zones
in message <20100821055224.ec9f0d12.free...@edvax.de>, wrote Polytropon thusly... > > I'm searching for a round-clock style clock application for X, > and I would prefer a standalone program (not integrated with > KDE, Gnome, or else). It should be possible to define several > timezones and attach a label to each clock ... > []= The clock =X > | | > | / | \/ \ \/ /\ | > | | +- | | -+ | | + | | > | \/\/\__|_/ | > | BLAH MEOWDOGFOOD! | > +--+ You could place multiple x11-clocks/rclock instances side by side with different time zones (-adjust option) to partially reach there, as it does not allow to set the title (I only tested -title option). - parv -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Customizable wall clock for several time zones
I'm searching for a round-clock style clock application for X, and I would prefer a standalone program (not integrated with KDE, Gnome, or else). It should be possible to define several timezones and attach a label to each clock (which doesn't have to contain the name of the time zone, but an arbitrary string). It should look something like this: []= The clock =X | | | / | \/ \ \/ /\ | | | +- | | -+ | | + | | | \/\/\__|_/ | | BLAH MEOWDOGFOOD! | +--+ Just as bankers and dynamical long-legged success-oriented group-dependent program managers use them. :-) In the ports, I found intclock, but it doesn't have round clocks, and additionally, it allows to add UTC, and it is shown, but upon program restart, it complains that "Timezone UTC not defined.". There is no need for a GUI configuration tool if the use of a configuration file is documented, and then just contains the TZ name and the label per clock, as simple as possible. Does such a program already exist? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"