This repository has been archived by the owner. It is now read-only.

xkb-layout-monitor

Development moved to other repo. See www.entropic.se for details.

xkb_layout_monitor

Continually monitors changing of X11 keymap and prints the keymap on a new line on stdout.

xkb_layout_monitor was made specifically for the tint2 panel, but might also work for other panels or information-displays which can monitor stdout.

Building

You can build either with static or dynamic linking.

Static will include all needed libraries in the finished executable, and it will therefore be larger. But it will work on other systems than which it is built on, without having to install any extra libraries.

Dynamic needs the required libraries (and correct versions of them) to be installed on any computers the application should be run on.

Static linking

Dependencies for building:

  • Podman

(Docker should probably also work with minor changes to the Makefile, but it's untested.)

Run make static or make static-release to build the binary.

Dynamic linking

Dependencies for building:

Run make or make release to build the binary.

Installation

Copy bin/xkb_layout_monitor to a directory in your path, like $HOME/.local/bin (for the current user) or /usr/local/bin (for system-wide use).

Contributors

Created by Tomas Åkesson tomas@entropic.se

Inspired by https://github.com/xkbmon/xkbmon by Sergey Vlasov

See LICENSE for license details.

Project homepage: https://gitlab.com/entropic-software/xkb-layout-monitor

Repository

xkb-layout-monitor

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 0
  • over 1 year ago
  • July 28, 2023
License

MIT License

Links
Synced at

Sun, 22 Dec 2024 21:02:24 GMT

Languages