Advanced Keyboard Daemon is a small and efficient keyboard daemon for X11 written in C++17.
- Remember different keyboard layouts and groups for each window.
- Switch layouts by shortcut.
- Layout configuration.
- Print group to
stdout
on change (or just once and exit). - Low memory consumption (~350 KB).
Read man akd
for more information or pass -h
/ --help
as argument.
Note: We use X11 naming convention: group is the keyboard language, layout is the set of languages.
Arch Linux: boost cmake libx11
git clone https://aur.archlinux.org/akd.git
cd akd
makepkg -si
You can build Advanced Keyboard Daemon by using the following commands:
mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=Release ..
cmake --build .
You will then get a binary named akd
.
You can use example scripts in contrib/
directory to add a keyboard layout indicator to your i3bar
, if you use i3status
as the status generator. For more information on how they work refer to i3status docs.
Also, the scripts should be easily adaptable for other text-based status generators.