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
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.
-
Canonical Collaborates with Qualcomm on New Venture
This new joint effort is geared toward bringing Ubuntu and Ubuntu Core to Qualcomm-powered devices.
-
Kodi 21.0 Open-Source Entertainment Hub Released
After a year of development, the award-winning Kodi cross-platform, media center software is now available with many new additions and improvements.
-
Linux Usage Increases in Two Key Areas
If market share is your thing, you'll be happy to know that Linux is on the rise in two areas that, if they keep climbing, could have serious meaning for Linux's future.
-
Vulnerability Discovered in xz Libraries
An urgent alert for Fedora 40 has been posted and users should pay attention.
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs
-
Juno Computers Launches Another Linux Laptop
If you're looking for a powerhouse laptop that runs Ubuntu, the Juno Computers Neptune 17 v6 should be on your radar.