contrib: add a VT layout indicator driven by keyboard LED locks

Debugging XKB-derived console layouts is awkward once group switching is
implemented through the VT lock bits. dumpkeys shows the loaded tables,
but it does not show which group state is active right now, and probing
by typing sample letters is slow and error-prone.

Add a small proof-of-concept helper that infers the current layout from
the kbd-shiftllock and kbd-shiftrlock LED triggers and displays the
result directly on the active virtual console. The helper auto-detects
usable LED devices, binds the required triggers, and restores their
previous settings on exit.

Signed-off-by: Alexey Gladkov <legion@kernel.org>
1 file changed
tree: 3912c5e0087c49c2ceb0e89904fa68c57a1dc85d
  1. .github/
  2. config/
  3. contrib/
  4. data/
  5. docs/
  6. m4/
  7. po/
  8. src/
  9. tests/
  10. .clang-format
  11. .gitignore
  12. AUTHORS
  13. autogen.sh
  14. ChangeLog
  15. configure.ac
  16. CREDITS
  17. INSTALL
  18. LICENSE
  19. Makefile.am
  20. Makefile.common
  21. NEWS
  22. README.md
README.md

KBD (Linux keyboard tools) CI

This package contains tools for managing Linux console (Linux console, virtual terminals, keyboard, etc.) – mainly, what they do is loading console fonts and keyboard maps.

This distribution contains no binaries - the sources depend on the kernel version - compile them yourself.

The home site of this package:

Mailing list

To protect subscribers from spam, the mailing list requires a subscription.

Bug reporting

Report problems with this package to the mailing list or directly to the Alexey Gladkov <gladkov.alexey@gmail.com>.

Source code

The latest stable version of kbd can always be found on:

Web interface:

Versioning:

  • Standard releases: <major>.<minor>[.<maint>]

    • major -- fatal and deep changes;
    • minor -- typical release with new features;
    • maint -- bug fixes.
  • Development releases: <major>.<minor>-rc<N>

To summarize, the stable release is 2.1.0 while 2.0.9x is a pre-releases.

Git repository:

Git Branches: git branch -a

  • master branch

    • current development.
    • the source for stable releases when deemed ready.
  • for-master branch

    • unstable changes for master. These changes can be reversed or rolled back.

Tags: git tag

  • a new tag object is created for every release.
  • tag name: v<version>.
  • all tags are signed by the maintainer's PGP key.

See also:

NLS (PO translations)

PO files are maintained by: https://translationproject.org/domain/kbd.html

License

Kbd is licensed under the GNU General Public License (GPL), version 2, or at your option any later version.