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 1 @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 Set the blink cycle to
67 seconds. The default is 2 (1 second on, 1 second off).
70 Displays the version of Wmclock.
72 \fB\-exe\fR \fIcommand\fR
75 in the background when a mouse button is pressed over
77 See below for details.
79 \fB\-led\fR \fIcolor\fR
82 as the foreground color of the LED display.
84 may be either a named color from the rgb.txt database (for example,
85 `red' or `chartreuse') or a numeric color specification in any of the usual
86 X11 formats (for example, `#ff0000' or `rgb:7f/ff/00'). See the
88 man page for more information.
90 \fB\-monthxpm\fR \fIfilename\fR
91 Get month abbreviations from
93 which is expected to be in the XPM format. See below for details.
95 \fB\-weekdayxpm\fR \fIfilename\fR
96 Get weekday abbreviations from
98 which is expected to be in the XPM format. See below for details.
99 .\" ----------------------------------------------------------------
100 .SH INVOCATION AND EXAMPLES
102 The simplest way to start
112 displays in its own appicon, which you can place in Window Maker's dock
113 by holding down the [Alt] or [Meta] key and dragging
115 to the dock with the primary mouse button (usually the left one).
117 For a more complicated example:
121 wmclock \-12 \-led gold \-exe /usr/GNUstep/Apps/WPrefs.app/WPrefs
124 This displays 12-hour time in an amber-colored LED display, and starts
125 Window Maker's preferences utility when you click on
127 .\" ----------------------------------------------------------------
137 will run the command you specify whenever you press a mouse button
138 while the mouse cursor is over
143 function from the C library (and ultimately
145 to run the command; hence, the command must be in Bourne-shell syntax.
146 .SS Using Alternate Month and Weekday Abbreviations
154 to display month and day-of-week abbreviations in a language besides
155 the one it was compiled with, or to display them in a language that
157 does not yet support. The files you specify must be in the XPM format,
158 and they must follow the same strict size and placement as the month
159 and weekday XPMs that come in the
161 source package. Each weekday abbreviation must be 21 pixels wide and 6
162 pixels high; each month abbreviation must be 22 pixels wide and 6
163 pixels high. The month abbreviations must be arranged vertically,
164 beginning with January at the top and continuing down to December at
165 the bottom. The weekday abbreviations must also be arranged
166 vertically, beginning with Monday at the top and continuing to Sunday
169 You can find XPM files for a variety of languages in:
172 .BR "@prefix@/share/wmclock"
175 For example, to have a French display, you could use the following
180 wmclock \-monthxpm @prefix@/share/wmclock/lang.french/month.xpm \-weekdayxpm @prefix@/share/wmclock/lang.french/weekday.xpm
185 In order to maintain command-line compatibility (mostly) with
188 accepts a few options on the command line without complaining, even
189 though they don't have any effect. The options which
191 accepts in this manner are
195 Some dockable versions of
197 required one or both of these options to become properly dockable.
200 is designed for Window Maker's dock, it already displays in a shaped
201 window in its own dockable appicon.
202 .\" ----------------------------------------------------------------
206 shouldn't run a command on a single click; should use a double click
210 should use Alfredo Kojima's libdockapp library instead of inventing its
212 .\" ----------------------------------------------------------------
215 X(1), asclock(1x), wmaker(1x), system(3)
216 .\" ----------------------------------------------------------------
217 .SH COPYRIGHT AND LICENSE
219 Copyright (C) 1999 by Jim Knoble <jmknoble@pobox.com>. Significant
222 are directly derived from
224 by Beat Christen, who, along with
226 other authors, owns the copyright to those portions of
230 is licensed under the GNU General Public License, version 2, or (at
231 your option) any later version. See <http://www.gnu.org/> for more
235 Jim Knoble <jmknoble@pobox.com>
237 Beat Christen <spiff@longstreet.ch>, author of \fBasclock\fI
238 .\" ----------------------------------------------------------------
241 The software is provided ``as is'', without warranty of any kind,
242 express or implied, including but not limited to the warranties of
243 merchantability, fitness for a particular purpose and noninfringement.
244 In no event shall the author(s) be liable for any claim, damages or
245 other liability, whether in an action of contract, tort or otherwise,
246 arising from, out of or in connection with the software or the use or
247 other dealings in the software.
249 Your mileage may vary. Eat your vegetables.