1 .\" Copyright (c) 1998-2004 Alexey Vyskubov <alexey@mawhrin.net>
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the Artistic License
5 .\" This manual is distributed in the hope that it will be useful,
6 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
7 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
8 .TH fookb 1 "September 2017"
10 fookb \- Xkb state indicator with optional Window Maker support
15 \fBfookb\fP is a Xkb state indicator. It displays
16 the icon corresponding to the number of Xkb locked group. You may use
17 mouse-clicks to change Xkb locked group with mouse. Additionally,
18 \fBfookb\fP can be configured to execute a program on changing group.
20 \fBfookb\fP man page is based on \fBWMMail.app\fP man page. Program
21 was written from scratch.
23 To use \fBfookb\fP with the Window Maker Dock, simply drag the
24 \fBfookb\fP icon to the Window Maker Dock (if \fBfookb\fP was compiled
25 with Window Maker support).
29 NB! Command line parameters take precedence over config file!
31 All the icons should be of the same size or fookb will refuse to run.
32 fookb will warn you if you use icons of size more than 64x64, but it will try
36 Icon to show for the 1st Xkb group
39 Icon to show for the 2nd Xkb group
42 Icon to show for the 3rd Xkb group
45 Icon to show for the 4th Xkb group
48 Icon to show when Xkb system goes crazy
51 X display to use (normally not needed)
53 .SH CONFIGURATION FILE
54 The configuration file consist of a single PropList dictionary, which
55 in turn is composed of several PropList key\-value pairs. The
58 .B Icon1 Filename (mandatory)
59 XPM file contains an icon for 1st XKB group.
61 .B Icon2 Filename (mandatory)
62 XPM file contains an icon for 2nd XKB group.
64 .B Icon3 Filename (mandatory)
65 XPM file contains an icon for 3rd XKB group.
67 .B Icon4 Filename (mandatory)
68 XPM file contains an icon for 4th XKB group.
70 .B IconBoom Filename (mandatory)
71 XPM file contains an icon for "broken Xkb". Please look in
75 \fBfookb\fP will run command from "Command" value (see below), if this
76 parameter is set to "Yes". You'll receive (non-fatal) error message if
77 this parameter is not defined. In any other case command will not be
80 .B Command command_to_run
81 This command will be run if XKB locked group is changed and "Sound" is
85 Here is an example of configuration file.
89 Icon1 = "/usr/local/share/fookb/icon1.xpm";
90 Icon2 = "/usr/local/share/fookb/icon2.xpm";
91 Icon3 = "/usr/local/share/fookb/icon3.xpm";
92 Icon4 = "/usr/local/share/fookb/icon4.xpm";
93 IconBoom = "/usr/local/share/fookb/crash.xpm";
95 Command = "/usr/bin/play /usr/local/share/fookb/click.au";
105 Sometimes \fBfookb\fP receives message about changing XKB group, but
106 message.state.group does not point to any existing XKB group. In this
107 case \fBfookb\fP will show IconBoom (from config file) picture.
109 As far as I know the only way to look at this bug is to run vmware.
112 This man page is [hopefully] up-to-date for version @PACKAGE_VERSION@ of \fBfookb\fP.
116 \fBfookb\fP is (c) 1998-2004 Alexey Vyskubov <alexey@mawhrin.net>.
118 This manpage was written by Alexey Vyskubov <alexey@mawhrin.net>.