FOSSPicks
Keyboard configurator
KMonad
A little while ago, we looked at a keyboard configuration utility called Chrysalis that lets you modify the keyboard layout and layer functionality of Kaleidoscope-powered open source keyboards. It's a brilliant tool for people who type a lot, but its effectiveness is restricted to a small set of keyboards, including the Keyboardio Model 01, the Atreus, Dygma's Raise, the ErgoDox EZ, and other keyboards wired like the original ErgoDox. KMonad is another keyboard configuration tool, only this time targeting keyboards using the super-powerful and more populous Quantum Mechanical Keyboard Firmware. It even includes support for the aforementioned ErgoDox EZ. While it officially supports only a handful of keyboards (pun intended), the community maintains support for dozens more.
You've probably guessed by now that KMonad isn't a KDE application. It actually takes its name from the minimal window manager, xmonad, with the implication being that KMonad manages your keyboard rather than your X windows. This kind of DIY attitude toward both the hardware and the firmware obviously requires some serious commitment, which is just as well. KMonad is written in Haskell and requires some serious installation patience to build from source, which is currently the only way to get hold of it. The tool itself is equally minimal on the command line. With the binary in your path, you run it with a single argument pointing to a configuration file. KMonad will then sit between the raw keyboard inputs and the kernel, so you're able to almost completely manipulate and transform the input events before they're passed to your user-level operating system. There's an excellent syntax document included with the package that explains everything you can do with the configuration file, which includes aliases, layers, and macros. It's powerful and tricky but capable of building almost any keyboard configuration you can imagine.

Project Website
https://github.com/david-janssen/kmonad/
Recipe manager
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Direct Download
Read full article as PDF:
Price $2.95
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Find SysAdmin Jobs
News
-
OpenMandriva Lx 23.03 Rolling Release is Now Available
OpenMandriva "ROME" is the latest point update for the rolling release Linux distribution and offers the latest updates for a number of important applications and tools.
-
CarbonOS: A New Linux Distro with a Focus on User Experience
CarbonOS is a brand new, built-from-scratch Linux distribution that uses the Gnome desktop and has a special feature that makes it appealing to all types of users.
-
Kubuntu Focus Announces XE Gen 2 Linux Laptop
Another Kubuntu-based laptop has arrived to be your next ultra-portable powerhouse with a Linux heart.
-
MNT Seeks Financial Backing for New Seven-Inch Linux Laptop
MNT Pocket Reform is a tiny laptop that is modular, upgradable, recyclable, reusable, and ships with Debian Linux.
-
Ubuntu Flatpak Remix Adds Flatpak Support Preinstalled
If you're looking for a version of Ubuntu that includes Flatpak support out of the box, there's one clear option.
-
Gnome 44 Release Candidate Now Available
The Gnome 44 release candidate has officially arrived and adds a few changes into the mix.
-
Flathub Vying to Become the Standard Linux App Store
If the Flathub team has any say in the matter, their product will become the default tool for installing Linux apps in 2023.
-
Debian 12 to Ship with KDE Plasma 5.27
The Debian development team has shifted to the latest version of KDE for their testing branch.
-
Planet Computers Launches ARM-based Linux Desktop PCs
The firm that originally released a line of mobile keyboards has taken a different direction and has developed a new line of out-of-the-box mini Linux desktop computers.
-
Ubuntu No Longer Shipping with Flatpak
In a move that probably won’t come as a shock to many, Ubuntu and all of its official spins will no longer ship with Flatpak installed.