1 .\" wmclock.man: manual page for wmclock -*- nroff -*-
2 .\" created 1999-Apr-09 jmk
4 .\" by Jim Knoble <jmknoble@pobox.com>
5 .\" Copyright (C) 1999 Jim Knoble
6 .\" Based on asclock.man by Dan Weeks.
10 .\" The software is provided "as is", without warranty of any kind,
11 .\" express or implied, including but not limited to the warranties of
12 .\" merchantability, fitness for a particular purpose and
13 .\" noninfringement. In no event shall the author(s) be liable for any
14 .\" claim, damages or other liability, whether in an action of
15 .\" contract, tort or otherwise, arising from, out of or in connection
16 .\" with the software or the use or other dealings in the software.
23 .\" ----------------------------------------------------------------
24 .TH wmclock 1x "@DATE@" "Version @VERSION@"
25 .\" ----------------------------------------------------------------
27 wmclock \- A dockable clock for the Window Maker window manager
28 .\" ----------------------------------------------------------------
31 \fBwmclock\fP [{\-12|\-24|\-year}] [\-noblink] [\-version] [\-exe \fIprogram\fP]
32 [\-led \fIcolor\fP] [\-monthxpm \fIfilename\fP] [\-weekdayxpm
34 .\" ----------------------------------------------------------------
38 is an applet which displays the date and time in a dockable tile in the
39 same style as the clock from the NEXTSTEP(tm) operating system.
41 is specially designed for the Window Maker window manager, by Alfredo
42 Kojima, and features multiple language support, twenty-four-hour and
43 twelve-hour (am/pm) time display, and, optionally, can run a
44 user-specified program on a mouse click.
48 a similar clock for the AfterStep window manager.
49 .\" ----------------------------------------------------------------
52 \fB\-12\fR or \fB\-24\fR
53 Display the time in either twelve-hour format (with am/pm) or
54 twenty-four-hour format. Defaults to twenty-four-hour display.
57 Display the current year in the LED display instead of the time.
60 The separator between the hours and minutes in the time display blinks
61 by default. This option turns off the blinking and displays a steadily
62 lit separator instead.
65 Displays the version of Wmclock.
67 \fB\-exe\fR \fIcommand\fR
70 in the background when a mouse button is pressed over
72 See below for details.
74 \fB\-led\fR \fIcolor\fR
77 as the foreground color of the LED display.
79 may be either a named color from the rgb.txt database (for example,
80 `red' or `chartreuse') or a numeric color specification in any of the usual
81 X11 formats (for example, `#ff0000' or `rgb:7f/ff/00'). See the
83 man page for more information.
85 \fB\-monthxpm\fR \fIfilename\fR
86 Get month abbreviations from
88 which is expected to be in the XPM format. See below for details.
90 \fB\-weekdayxpm\fR \fIfilename\fR
91 Get weekday abbreviations from
93 which is expected to be in the XPM format. See below for details.
94 .\" ----------------------------------------------------------------
95 .SH INVOCATION AND EXAMPLES
97 The simplest way to start
107 displays in its own appicon, which you can place in Window Maker's dock
108 by holding down the [Alt] or [Meta] key and dragging
110 to the dock with the primary mouse button (usually the left one).
112 For a more complicated example:
116 wmclock \-12 \-led gold \-exe /usr/GNUstep/Apps/WPrefs.app/WPrefs
119 This displays 12-hour time in an amber-colored LED display, and starts
120 Window Maker's preferences utility when you click on
122 .\" ----------------------------------------------------------------
132 will run the command you specify whenever you press a mouse button
133 while the mouse cursor is over
138 function from the C library (and ultimately
140 to run the command; hence, the command must be in Bourne-shell syntax.
141 .SS Using Alternate Month and Weekday Abbreviations
149 to display month and day-of-week abbreviations in a language besides
150 the one it was compiled with, or to display them in a language that
152 does not yet support. The files you specify must be in the XPM format,
153 and they must follow the same strict size and placement as the month
154 and weekday XPMs that come in the
156 source package. Each weekday abbreviation must be 21 pixels wide and 6
157 pixels high; each month abbreviation must be 22 pixels wide and 6
158 pixels high. The month abbreviations must be arranged vertically,
159 beginning with January at the top and continuing down to December at
160 the bottom. The weekday abbreviations must also be arranged
161 vertically, beginning with Monday at the top and continuing to Sunday
164 You can find XPM files for a variety of languages in:
167 .BR /usr/share/wmclock/
170 For example, to have a French display, you could use the following
175 wmclock \-monthxpm /usr/share/wmclock/lang.french/month.xpm \-weekdayxpm /usr/share/wmclock/lang.french/weekday.xpm
180 In order to maintain command-line compatibility (mostly) with
183 accepts a few options on the command line without complaining, even
184 though they don't have any effect. The options which
186 accepts in this manner are
190 Some dockable versions of
192 required one or both of these options to become properly dockable.
195 is designed for Window Maker's dock, it already displays in a shaped
196 window in its own dockable appicon.
197 .\" ----------------------------------------------------------------
201 shouldn't run a command on a single click; should use a double click
205 should use Alfredo Kojima's libdockapp library instead of inventing its
207 .\" ----------------------------------------------------------------
210 X(1), asclock(1x), wmaker(1x), system(3)
211 .\" ----------------------------------------------------------------
212 .SH COPYRIGHT AND LICENSE
214 Copyright (C) 1999 by Jim Knoble <jmknoble@pobox.com>. Significant
217 are directly derived from
219 by Beat Christen, who, along with
221 other authors, owns the copyright to those portions of
225 is licensed under the GNU General Public License, version 2, or (at
226 your option) any later version. See <http://www.gnu.org/> for more
230 Jim Knoble <jmknoble@pobox.com>
232 Beat Christen <spiff@longstreet.ch>, author of \fBasclock\fI
233 .\" ----------------------------------------------------------------
236 The software is provided ``as is'', without warranty of any kind,
237 express or implied, including but not limited to the warranties of
238 merchantability, fitness for a particular purpose and noninfringement.
239 In no event shall the author(s) be liable for any claim, damages or
240 other liability, whether in an action of contract, tort or otherwise,
241 arising from, out of or in connection with the software or the use or
242 other dealings in the software.
244 Your mileage may vary. Eat your vegetables.