XKBIND(1)
π XKBIND π β the General Commands Manual one, section 1
okay so picture this: it's xkbind(1) and it's literally the most low-key iconic little X utility you've never met. let's get into it π«Ά
β¨ NAME β¨
xkbind β X Keyboard Extension Indicator for the X Window System π
πΈ SYNOPSIS πΈ
xkbind -help
xkbind -version
xkbind [-display displayname] [-force] [-nodetach] [-defgrp group]
[-deflbl label] [-label0 label] [-label1 label] [-label2 label] [-label3
label] [-iname <name list>] [-iclass <class list>] [-ireverse]
[-inowild]
like, that's the whole vibe check right there π
π¦ DESCRIPTION π¦
so xkbind (the X Keyboard Extension Indicator, if you're being formal) is a small and light indicator of your keyboard layout β that's your XKB group β for the X Window System. it shows the current keyboard layout in the titles of top-level windows. slay.
and here's the part that's giving main character energy: xkbind lets you simulate a separate keyboard layout for each handled window, and it plays nice with most window managers. no cap. π
xkbind exits 0 on success, and greater than 0 if an error occurs. periodt.
π OPTIONS π
okay bestie, xkbind accepts a bunch of options, and most of them can be dropped either on the command line, in the user's $HOME/.xkbindrc, $HOME/.Xdefaults (or $HOME/.Xresources), or in the system-wide configuration file. full rundown below, no skips π«Ά
the command line option is listed first, with the corresponding X resource name (if any) in parentheses afterward. and listen β options specified on the command line have the highest priority. also very important: the -version and -help options are interpreted even if xkbind can not open the display. they're built different.
-helpβ print a short help message tostderrand exit.-versionβ print a version number ofxkbindtostderrand exit.-forceβ do not allowxkbindto automatically check for the existence of its own copy already running on the specified X server.-nodetachβ do not detach as a background process.-displaydisplayname (display) β the X server to use. this option overrides the contents of theDISPLAYenvironment variable.-defgrpgroup (defgroup) β group number thatxkbindinitially binds to each handled window.-deflbllabel (label.default) β the default value for optionslabel.group[0-3].-label[0-3]label (label.group[0-3]) β a label string for the specified keyboard group.-iname<name list> (ignore.name) β space- or tab-separated list of window names (WM_CLASS(res_name)property) that should be ignored byxkbind.-iclass<class list> (ignore.class) β space- or tab-separated list of window classes (WM_CLASS(res_class)property) that should be ignored byxkbind.-reverse(ignore.reverse) β indicates that the "ignore list" in optionsignore.nameandignore.classshould be interpreted as an "accept list".-nowild(ignore.usewild) β disable pattern matching while searching in window lists.
π RESOURCES π
the format of the option in the X resources files is "Xkbind.option: value", where the option name is the one specified below. iykyk π
displayβ the X server to use. the default is the contents of environment variableDISPLAY.defgroupβ group number thatxkbindinitially binds to each handled window. the default is the current group when the program starts.label.defaultβ the default value for optionslabel.group[0-3]. it defaults itself to the empty string.label.group[0-3]β a label string for the specified keyboard group. the default is the value of thelabel.defaultoption.ignore.nameβ space- or tab-separated list of window names (WM_CLASS(res_name)property) that should be ignored byxkbind.ignore.classβ space- or tab-separated list of window classes (WM_CLASS(res_class)property) that should be ignored byxkbind.ignore.reverseβ specifies whether or not an "ignore list" in optionsignore.nameandignore.classshould be interpreted as an "accept list". the default is"False".ignore.usewildβ specifies whether or not symbols'*','?'and'\'in the name and class lists should be interpreted in the special way (like in the shell pattern matching). the default is"True".
π SIGNALS π
SIGALRMSIGVTALRMSIGHUPSIGPROF
xkbind ignores these signals. like, it literally does not care. π
SIGINTSIGTERMSIGABRT
xkbind performs cleanup and normal exit. very demure, very mindful. π§
π ENVIRONMENT π
DISPLAYβ default host and display number.
β FILES β
xkbind reads configuration options from the following files in the order of priority:
$HOME/.xkbindrcβ user's private configuration file.$HOME/.Xresourcesor$HOME/.Xdefaultsβ user's X defaults file./etc/local/lib/xkbind/app-defaults/Xkbindβ system-wide X defaults file. the actual pathname may differ on your system.
π BUGS π
Compount text encoding of international characters in label strings is not implemented. (yes, that's the real wording, i'm not touching it π)
π AUTHORS π
Copyright (C) 2004 CHG
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program 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. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
okay that's the whole page bestie, and for the cute little sign-off: this is Version 2010.05.20, dated Feb 2011, filed under XKBIND(1) in the General Commands Manual. obsessed with her, honestly π
πβ¨
π¦ where this page comes from
- debian bookworm: xkbind 2010.05.20-1+b2
- debian trixie: xkbind 2010.05.20-1+b3
- ubuntu jammy: xkbind 2010.05.20-1build1
- ubuntu noble: xkbind 2010.05.20-1build1
- ubuntu questing: xkbind 2010.05.20-1build1
- ubuntu resolute: xkbind 2010.05.20-1.1 Β· GPL-2.0-or-later
- ubuntu stonking: xkbind 2010.05.20-1.1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms