fookb(1)
π fookb β the Xkb state indicator that's literally your keyboard's main character β¨
okay bestie, so fookb (that's manual page fookb(1), in the General Commands Manual section) is this adorable little Xkb state indicator with optional Window Maker support, and honestly? it's giving keyboard icon energy and I'm obsessed π
β¨ SYNOPSIS β¨
fookb [options]
πΈ DESCRIPTION πΈ
so basically fookb is an Xkb state indicator, and what it does is display the icon that corresponds to the number of the Xkb locked group π. you can also use mouse-clicks to change the Xkb locked group with your mouse, iconic. and on top of that, fookb can be configured to execute a program whenever the group changes β like, it'll run a whole command for you, periodt.
ngl, the fookb man page is based on the WMMail.app man page, but the program itself was written from scratch π.
and if you wanna use fookb with the Window Maker Dock? just drag the fookb icon onto the Window Maker Dock π«Ά β that works if fookb was compiled with Window Maker support, iykyk.
π OPTIONS π
β οΈ NB! Command line parameters take precedence over config file! like, the command line wins, no cap.
also important, bestie: all the icons should be of the same size or fookb will refuse to run π. and if you use icons bigger than 64x64, fookb will warn you, but it'll try to run anyway β so brave of it fr fr.
--icon1β the icon to show for the 1st Xkb group πΈ--icon2β the icon to show for the 2nd Xkb group π¦--icon3β the icon to show for the 3rd Xkb group π--icon4β the icon to show for the 4th Xkb group β--iconboomβ the icon to show when the Xkb system goes crazy π (yes really, that's what the man page says, and honestly? relatable)-d,--displayβ the X display to use (normally you don't need this, it's just there for the vibes)
π CONFIGURATION FILE π
so the config file is a single PropList dictionary, which is itself made up of several PropList key-value pairs π. here are the keys it recognizes:
Icon1Filename (mandatory) β an XPM file containing an icon for the 1st XKB group.Icon2Filename (mandatory) β an XPM file containing an icon for the 2nd XKB group.Icon3Filename (mandatory) β an XPM file containing an icon for the 3rd XKB group.Icon4Filename (mandatory) β an XPM file containing an icon for the 4th XKB group.IconBoomFilename (mandatory) β an XPM file containing an icon for "broken Xkb" π β please look in the BUGS section below, bestie, it explains everything.Sound(Yes|No) β if this is set to"Yes",fookbwill run the command from the"Command"value (see below π). if this parameter isn't defined, you'll get a (non-fatal) error message. in any other case, the command will not be run. that's it, that's the rule.- *
Command*command_to_run** β this command gets run if the XKB locked group is changed <purple>and</purple>"Sound"is set to"Yes"`.
π EXAMPLES π
here's an example config file, look at her go:
{
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";
}
π¦ FILES π¦
~/.fookbβ fookb defaults π
π BUGS π
okay so sometimes fookb receives a message about changing XKB group, but message.state.group does not point to any existing XKB group. in this case, fookb will show the IconBoom picture (from the config file) π. iconic workaround honestly.
and as far as the author knows, the only way to look at this bug is to run vmware. yeah. that's the vibe.
β VERSION β
this man page is [hopefully] up-to-date for version 4.1 of fookb β¨
π AUTHORS π
fookbis (c) 1998-2004 Alexey Vyskubov<alexey@mawhrin.net>π- this manpage was written by Alexey Vyskubov
<alexey@mawhrin.net>π
and that's the whole page, bestie!! this was the fookb(1) General Commands Manual, dated September 2017, for fookb β go forth and slay your Xkb groups π
β¨π¦
π¦ where this page comes from
- debian bookworm: fookb 4.1-3 Β· Artistic-1.0-Perl OR GPL-2.0-or-later
- debian trixie: fookb 4.1-3 Β· Artistic-1.0-Perl OR GPL-2.0-or-later
- ubuntu jammy: fookb 4.1-2 Β· Artistic-1.0-Perl OR GPL-2.0-or-later
- ubuntu noble: fookb 4.1-3 Β· Artistic-1.0-Perl OR GPL-2.0-or-later
- ubuntu questing: fookb 4.1-3
- ubuntu resolute: fookb 4.1-3build1 Β· Artistic-1.0-Perl OR GPL-2.0-or-later
- ubuntu stonking: fookb 4.1-3build1 Β· Artistic-1.0-Perl OR GPL-2.0-or-later
- Copyright (c) 1998-2004 Alexey Vyskubov <alexey@mawhrin.net>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms