2017-09-10 01:24:17 +00:00
|
|
|
.\" Copyright (c) 1998-2004 Alexey Vyskubov <alexey@mawhrin.net>
|
|
|
|
.\"
|
|
|
|
.\" This is free documentation; you can redistribute it and/or
|
|
|
|
.\" modify it under the terms of the Artistic License
|
|
|
|
.\" This manual is distributed in the hope that it will be useful,
|
|
|
|
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
2017-09-10 01:24:32 +00:00
|
|
|
.TH fookb 1 "September 2017"
|
2017-09-10 01:24:17 +00:00
|
|
|
.SH NAME
|
|
|
|
fookb \- Xkb state indicator with optional Window Maker support
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B fookb [options]
|
|
|
|
|
|
|
|
.SH DESCRIPTION
|
|
|
|
\fBfookb\fP is a Xkb state indicator. It displays
|
|
|
|
the icon corresponding to the number of Xkb locked group. You may use
|
|
|
|
mouse-clicks to change Xkb locked group with mouse. Additionally,
|
|
|
|
\fBfookb\fP can be configured to execute a program on changing group.
|
|
|
|
.P
|
|
|
|
\fBfookb\fP man page is based on \fBWMMail.app\fP man page. Program
|
|
|
|
was written from scratch.
|
|
|
|
.P
|
|
|
|
To use \fBfookb\fP with the Window Maker Dock, simply drag the
|
2017-09-10 01:24:24 +00:00
|
|
|
\fBfookb\fP icon to the Window Maker Dock (if \fBfookb\fP was compiled
|
2017-09-10 01:24:17 +00:00
|
|
|
with Window Maker support).
|
|
|
|
|
|
|
|
.SH OPTIONS
|
|
|
|
.TP
|
2017-09-10 01:24:32 +00:00
|
|
|
NB! Command line parameters take precedence over config file!
|
2017-09-10 01:24:17 +00:00
|
|
|
.TP
|
2017-09-10 01:24:32 +00:00
|
|
|
All the icons should be of the same size or fookb will refuse to run.
|
2017-09-10 01:24:17 +00:00
|
|
|
fookb will warn you if you use icons of size more than 64x64, but it will try
|
|
|
|
to run anyway.
|
|
|
|
.TP
|
2017-09-10 01:24:32 +00:00
|
|
|
.B --icon1
|
|
|
|
Icon to show for the 1st Xkb group
|
2017-09-10 01:24:17 +00:00
|
|
|
.TP
|
2017-09-10 01:24:32 +00:00
|
|
|
.B --icon2
|
|
|
|
Icon to show for the 2nd Xkb group
|
2017-09-10 01:24:17 +00:00
|
|
|
.TP
|
2017-09-10 01:24:32 +00:00
|
|
|
.B --icon3
|
|
|
|
Icon to show for the 3rd Xkb group
|
2017-09-10 01:24:17 +00:00
|
|
|
.TP
|
2017-09-10 01:24:32 +00:00
|
|
|
.B --icon4
|
|
|
|
Icon to show for the 4th Xkb group
|
2017-09-10 01:24:17 +00:00
|
|
|
.TP
|
2017-09-10 01:24:32 +00:00
|
|
|
.B --iconboom
|
|
|
|
Icon to show when Xkb system goes crazy
|
2017-09-10 01:24:17 +00:00
|
|
|
.TP
|
2017-09-10 01:24:32 +00:00
|
|
|
.B -d,--display
|
|
|
|
X display to use (normally not needed)
|
2017-09-10 01:24:17 +00:00
|
|
|
|
2017-09-10 01:24:32 +00:00
|
|
|
.SH CONFIGURATION FILE
|
2017-09-10 01:24:17 +00:00
|
|
|
The configuration file consist of a single PropList dictionary, which
|
|
|
|
in turn is composed of several PropList key\-value pairs. The
|
|
|
|
recognized keys is:
|
|
|
|
.TP
|
|
|
|
.B Icon1 Filename (mandatory)
|
|
|
|
XPM file contains an icon for 1st XKB group.
|
|
|
|
.TP
|
|
|
|
.B Icon2 Filename (mandatory)
|
|
|
|
XPM file contains an icon for 2nd XKB group.
|
|
|
|
.TP
|
|
|
|
.B Icon3 Filename (mandatory)
|
|
|
|
XPM file contains an icon for 3rd XKB group.
|
|
|
|
.TP
|
|
|
|
.B Icon4 Filename (mandatory)
|
|
|
|
XPM file contains an icon for 4th XKB group.
|
|
|
|
.TP
|
|
|
|
.B IconBoom Filename (mandatory)
|
|
|
|
XPM file contains an icon for "broken Xkb". Please look in
|
|
|
|
BUGS section.
|
|
|
|
.TP
|
|
|
|
.B Sound (Yes|No)
|
2017-09-10 01:24:24 +00:00
|
|
|
\fBfookb\fP will run command from "Command" value (see below), if this
|
|
|
|
parameter is set to "Yes". You'll receive (non-fatal) error message if
|
2017-09-10 01:24:17 +00:00
|
|
|
this parameter is not defined. In any other case command will not be
|
|
|
|
run.
|
|
|
|
.TP
|
|
|
|
.B Command command_to_run
|
2017-09-10 01:24:24 +00:00
|
|
|
This command will be run if XKB locked group is changed and "Sound" is
|
2017-09-10 01:24:17 +00:00
|
|
|
set to "Yes".
|
|
|
|
|
|
|
|
.SH EXAMPLES
|
|
|
|
Here is an example of configuration file.
|
|
|
|
.P
|
|
|
|
.nf
|
|
|
|
{
|
|
|
|
Icon1 = "/usr/local/share/fookb/icon1.xpm";
|
|
|
|
Icon2 = "/usr/local/share/fookb/icon2.xpm";
|
|
|
|
Icon3 = "/usr/local/share/fookb/icon3.xpm";
|
|
|
|
Icon4 = "/usr/local/share/fookb/icon4.xpm";
|
|
|
|
IconBoom = "/usr/local/share/fookb/crash.xpm";
|
|
|
|
Sound = "Yes";
|
|
|
|
Command = "/usr/bin/play /usr/local/share/fookb/click.au";
|
|
|
|
}
|
|
|
|
.fi
|
|
|
|
|
|
|
|
.SH FILES
|
|
|
|
.TP
|
|
|
|
.B ~/.fookb
|
2017-09-10 01:24:32 +00:00
|
|
|
\fBfookb\fP defaults
|
2017-09-10 01:24:17 +00:00
|
|
|
|
|
|
|
.SH BUGS
|
|
|
|
Sometimes \fBfookb\fP receives message about changing XKB group, but
|
|
|
|
message.state.group does not point to any existing XKB group. In this
|
|
|
|
case \fBfookb\fP will show IconBoom (from config file) picture.
|
|
|
|
.P
|
|
|
|
As far as I know the only way to look at this bug is to run vmware.
|
|
|
|
|
|
|
|
.SH VERSION
|
2017-09-10 01:24:32 +00:00
|
|
|
This man page is [hopefully] up-to-date for version @PACKAGE_VERSION@ of \fBfookb\fP.
|
2017-09-10 01:24:17 +00:00
|
|
|
|
|
|
|
.SH AUTHORS
|
|
|
|
.P
|
|
|
|
\fBfookb\fP is (c) 1998-2004 Alexey Vyskubov <alexey@mawhrin.net>.
|
|
|
|
.P
|
|
|
|
This manpage was written by Alexey Vyskubov <alexey@mawhrin.net>.
|