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 "10 Jan 2002" "fookb" "FOOcrosoft"
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 or X resources!
31 All the icons should be of the same size or fookb will refuse to run. If you
32 use Windowmaker-enabled version of fookb (windowmaker dockable applet) then
33 fookb will warn you if you use icons of size more than 64x64, but it will try
48 .SH CONFIGURATION FILE (for libWUtil-enabled version)
49 The configuration file consist of a single PropList dictionary, which
50 in turn is composed of several PropList key\-value pairs. The
53 .B Icon1 Filename (mandatory)
54 XPM file contains an icon for 1st XKB group.
56 .B Icon2 Filename (mandatory)
57 XPM file contains an icon for 2nd XKB group.
59 .B Icon3 Filename (mandatory)
60 XPM file contains an icon for 3rd XKB group.
62 .B Icon4 Filename (mandatory)
63 XPM file contains an icon for 4th XKB group.
65 .B IconBoom Filename (mandatory)
66 XPM file contains an icon for "broken Xkb". Please look in
70 \fBfookb\fP will run command from "Command" value (see below), if this
71 parameter is set to "Yes". You'll receive (non-fatal) error message if
72 this parameter is not defined. In any other case command will not be
75 .B Command command_to_run
76 This command will be run if XKB locked group is changed and "Sound" is
81 NB! Parameters in PropList config file take precedence over X resources!
83 .B fookb.icon1 Filename
85 .B fookb.icon2 Filename
87 .B fookb.icon3 Filename
89 .B fookb.icon4 Filename
91 .B fookb.iconBoom Filename
95 .B fookb.command Command
98 Here is an example of configuration file.
102 Icon1 = "/usr/local/share/fookb/icon1.xpm";
103 Icon2 = "/usr/local/share/fookb/icon2.xpm";
104 Icon3 = "/usr/local/share/fookb/icon3.xpm";
105 Icon4 = "/usr/local/share/fookb/icon4.xpm";
106 IconBoom = "/usr/local/share/fookb/crash.xpm";
108 Command = "/usr/bin/play /usr/local/share/fookb/click.au";
112 Here is an example of app-defaults file.
115 fookb.icon1: /usr/local/share/fookb/icon1.xpm
116 fookb.icon2: /usr/local/share/fookb/icon2.xpm
117 fookb.icon3: /usr/local/share/fookb/icon3.xpm
118 fookb.icon4: /usr/local/share/fookb/icon4.xpm
119 fookb.iconBoom: /usr/local/share/fookb/crash.xpm
121 fookb.command: /home/bgates/bin/playmssound
126 .B ~/GNUstep/Defaults/FOOkb
127 \fBfookb\fP defaults (for Window Maker enabled version).
130 \fBfookb\fP defaults (for Window Maker disabled version).
133 Sometimes \fBfookb\fP receives message about changing XKB group, but
134 message.state.group does not point to any existing XKB group. In this
135 case \fBfookb\fP will show IconBoom (from config file) picture.
137 As far as I know the only way to look at this bug is to run vmware.
140 This man page is [hopefully] up-to-date for version 3.1 of \fBfookb\fP.
144 \fBfookb\fP is (c) 1998-2004 Alexey Vyskubov <alexey@mawhrin.net>.
146 This manpage was written by Alexey Vyskubov <alexey@mawhrin.net>.