Modern app for programmable keyboards and input devices, built by Ergohaven.
Entropy is a desktop app with a modern, minimalist, and intuitive interface for configuring programmable input devices running Vial-QMK or Vial-RMK firmware: split keyboards, macropads, trackballs, touchpad modules, and other hardware that exposes keyboard-style firmware features through HID.
It is designed to feel direct and predictable: connect a device, pick it from the device list, and work through layout, keycodes, macros, lighting, pointing controls, and firmware settings from one coherent interface.
- Modern, minimalist, intuitive design for complex device configuration
- Complete Vial workflow: layouts, keycodes, macros, combos, tap dance, key overrides, RGB, pointing controls, and firmware settings
- Support for keyboards, macropads, trackballs, touchpads, encoders, displays, and modular input devices
- Text Expander for local shortcuts from programmable devices
- Firmware-native Universal Symbols for consistent EN/RU punctuation
- Fast keycode picker with layouts, symbols, modifiers, macros, and smart filtering
- Custom names for layers, combos, macros, tap dance entries, and other device objects
- Live Features as a built-in qmk-hid-host replacement for firmware host data
- Matrix Tester and Layout Indicator for testing and daily layer visibility
- Layer hover preview, encoder controls, custom labels, and multilingual legends
- Advanced pages for Auto Shift, Mouse Keys, Tap-Hold, One Shot, Grave Escape, Magic, Layer LEDs, touchpad settings, and modules
- Light/dark themes, accent color, UI scaling, settings import/export, and tray mode
- Linux udev helper plus optional IBus integration for Text Expander
| Platform | Status | Package |
|---|---|---|
| Linux x86_64 | Primary target | AppImage, deb, rpm, Arch package |
| Windows x86_64 | Release target | Portable EXE |
| macOS arm64 (Apple Silicon) | Release target | DMG |
| macOS x86_64 (Intel) | Release target | DMG |
Public builds are published for Linux, Windows, and macOS. The macOS release workflow uses a stable project-owned self-signed certificate, not Apple Developer ID signing or notarization. Existing older releases are unsigned/ad-hoc signed; the stable identity applies only to releases built with this workflow.
Release builds are published on the GitHub Releases page:
Tagged releases prepared with the current workflow provide these files
(VERSION is the release number, for example 0.6):
entropy-vVERSION-x86_64.AppImage— portable Linux appentropy-vVERSION-amd64.deb— Debian/Ubuntu packageentropy-vVERSION-x86_64.rpm— Fedora/openSUSE packageentropy-vVERSION-x86_64.pkg.tar.zst— Arch packageentropy-vVERSION-windows-x86_64.exeentropy-vVERSION-macos-arm64.dmgentropy-vVERSION-macos-x86_64.dmg
Older releases may not include the Linux packages. Install packages with your system package manager; the in-app updater continues to select the AppImage.
Stable tags such as v0.6 prepare a regular GitHub release as a draft for
maintainer verification before publication. Tags with a suffix, such as
v0.6-rc.1, prepare the same artifacts as a prerelease draft.
Windows builds are unsigned for now, so Windows SmartScreen may warn before launching the app.
With Homebrew, install the app from Ergohaven's tap:
brew install --cask ergohaven/tap/entropyHomebrew selects the Apple Silicon or Intel DMG automatically. To update, quit Entropy with ⌘Q, then run:
brew update
brew upgrade --cask ergohaven/tap/entropyHomebrew does not bypass Gatekeeper. If macOS blocks the first launch, follow the Open Anyway instructions below. Existing layouts and settings are kept.
For a manual installation:
Use macos-arm64 for Apple Silicon or macos-x86_64 for Intel. Self-signing
preserves the app's permission identity across updates; it does not remove
Gatekeeper warnings or provide Apple notarization.
- Open the
.dmgand drag Entropy.app onto Applications in the same window. - Eject the disk image, then open Entropy from Applications.
- If macOS blocks it, click Done, open System Settings → Privacy & Security, scroll to Security, and click Open Anyway. Confirm opening Entropy.
- For Text Expander, allow Entropy in Accessibility and Input Monitoring under Privacy & Security. Fully quit with ⌘Q and reopen Entropy.
To update, quit Entropy with ⌘Q, open the new DMG, and drag Entropy onto Applications, choosing Replace. Eject the image and launch the installed app. Use Open Anyway again if macOS asks. Do not toggle, remove, or re-add existing Accessibility/Input Monitoring grants during a normal update. The first move from an older unsigned/ad-hoc build may require granting access once to the new stable identity.
On the Text Expander setup page, the main button opens the missing permission's
settings, then offers Restart capture once both permissions are granted.
If System Settings shows access enabled but Entropy still reports it missing,
fully quit Entropy, remove its outdated entry from the affected permission list,
add /Applications/Entropy.app again, and reopen it. Firmware-native Universal
Symbols do not require these Text Expander permissions.
- Download the build for your platform from GitHub Releases
- Connect a Vial-compatible device
- On Linux, install device access rules if Entropy cannot open the device and install the IBus backend if you want Text Expander on Linux
- Launch Entropy
- Select the device from the top-left device dropdown
- Edit layers, keycodes, advanced firmware features, or app settings
- Save/write changes when the edited feature requires it
Follow the firmware instructions for your model
and export a .entlayout backup before flashing. Update every component with its
matching image from the same release.
After copying a UF2 image, the NRF52BOOT drive disconnects automatically as the
device restarts. macOS may report Disk Not Ejected Properly. That notification
alone does not mean the flash failed or that all components were updated. Check
the connected device's firmware version in About device after it restarts;
the primary's version does not verify a peripheral half. An actual copy/write
failure or a device that does not restart still needs investigation.
RMK 0.3.0 resets settings and Bluetooth pairings when upgrading from 0.2.0. After updating all parts, follow the model's reset/pairing instructions and restore the saved layout. See the RMK 0.3.0 release notes.
When only one keyboard is connected, Entropy opens it automatically, even if a different keyboard was saved previously. With several connected devices, choose the startup behavior under Multiple devices in Entropy settings:
- Startup screen keeps the device picker open until you choose a keyboard.
- A preferred keyboard opens automatically when it is among the connected devices. If it is absent or cannot be uniquely identified, Entropy shows the device picker instead of choosing another keyboard.
The startup screen is the default for multiple devices. The same rules apply when Entropy starts at login. A one-device fallback does not replace the saved preference for future launches with multiple devices.
A launch argument overrides the saved preference for that launch:
entropy --device "Phenom Mini"
entropy --minimized --device e126:0071The filter accepts a case-insensitive part of the reported product name, a hex
VID:PID, or an exact HID path, using the same rules as layout export.
Empty and repeated --device filters are rejected.
Entropy connects only when exactly one device matches. While the target is
missing or ambiguous, the picker remains available and discovery continues.
A manual choice ends startup selection for that session. The saved preference
uses device identity rather than the HID path, so USB re-enumeration does not
lose it; indistinguishable devices still require a manual choice.
Close an already-running Entropy before using --device for GUI startup.
The argument does not switch devices in an existing instance (exit status 3).
Scripts and backup jobs can save a keyboard's .entlayout without opening a
window:
entropy --export-layout k04.entlayout
entropy --export-layout - --device "K:04 (Qube)" > k04.entlayoutThe file is the same one Layout → Export layout writes. --device picks
the keyboard when several are attached, by a part of its name, a hex VID:PID
such as e126:0071, or its HID path; --timeout (seconds, default 60) bounds
both the wait for a Bluetooth keyboard to be discovered and its loading.
When Entropy is already running, it owns the keyboard, so on Linux and macOS the export asks that instance for the layout over a socket private to the user. The running Entropy lends its connection to the same read-only export, even while its window is in the background; its own writes wait until the export is done. On Windows, close the Entropy window first.
Device backups include compatible module settings, layer and Bluetooth profile
colors, LED brightness and timeout, and QMK RGBLight or VialRGB lighting settings
when successfully read from the keyboard. Import reports unsupported or
incompatible settings; older backups leave settings they do not contain unchanged.
Entropy application preferences use the separate .entsettings export.
Before a resident-layout import changes the keyboard, Entropy writes and fully flushes a complete recovery backup, then publishes it without replacing an existing backup. Any reported creation, write, flush or publication error refuses the import. Unix also synchronizes the captured chain of newly created directory entries. Windows uses file-level flushes without elevation, UAC or a volume-wide flush; it does not guarantee that a newly created backup path survives sudden power loss or an OS crash. This limited Windows namespace risk is intentional; file-level success is not a claim of power-loss certification.
The export is read-only: the HID transport refuses every command that would change the keyboard. It writes only a complete snapshot of one connection: if a section fails to load or the keyboard reconnects midway, nothing is written. A file destination is replaced atomically, so a failed run keeps the previous backup.
Exit status: 0 exported, 1 export failed, 2 no or ambiguous keyboard,
3 another Entropy instance is running and did not answer, 4 incomplete (the missing sections
are logged), 64 usage error.
Vial devices use hidraw access on Linux. If your device appears but cannot be opened, use Entropy device access → Install rules in Entropy settings, or install the included udev rule manually from a source checkout:
./linux/udev/install-vial-rules.shReplug the device after installing the rule.
On Linux, Entropy uses IBus for Text Expander input. Use the Install IBus action in Entropy settings to install the bundled Entropy IBus engine. The AppImage includes the installer and engine, so a separate source checkout is not required.
IBus itself and its Python bindings must still be installed by the system package manager. On Debian/Ubuntu-like systems:
sudo apt-get install ibus python3-gi gir1.2-ibus-1.0After installation, restart IBus if Entropy did not do it automatically, then add an Entropy Text Expander layout as an input source in your desktop input settings.
A flake is included. Run without installing:
nix run github:ergohaven/entropyThe in-app setup actions cannot work on NixOS: Entropy device access → Install rules
writes to /etc/udev/rules.d, and IBus loads engines only from its own store
path, so a copy under ~/.local/share is never picked up. Use the NixOS module
instead, which covers both declaratively:
{
inputs.entropy.url = "github:ergohaven/entropy";
outputs = { nixpkgs, entropy, ... }: {
nixosConfigurations.myhost = nixpkgs.lib.nixosSystem {
modules = [
entropy.nixosModules.default
{ programs.entropy.enable = true; }
];
};
};
}This installs the app and the Vial hidraw udev rule. Nothing else is touched: no input method is enabled or selected on your behalf.
Text Expander needs the Entropy IBus engine, which is opt-in and expects IBus to be the input method you already run:
{
programs.entropy = {
enable = true;
ibus.enable = true;
};
i18n.inputMethod = {
enable = true;
type = "ibus";
};
}Enabling programs.entropy.ibus while some other input method is active only
produces a warning — the engine is never loaded in that case. Universal Symbols
need no input method at all on firmware that exposes native RMK key actions.
After rebuilding, add Entropy Text Expander — or a layout-specific variant, e.g. Entropy Text Expander EN — as an input source. Entropy detects an engine registered this way and replaces the Install IBus action with Reload IBus registry: a daemon started before the rebuild still serves its old registry, so the new layouts show up only after it reloads (or after you log out and back in).
programs.entropy.group (default entropy) is the dedicated group the udev
rule grants access to. It is created automatically. Active local sessions
normally receive access through uaccess; add users that also need direct
hidraw access outside the active seat (for example over SSH) explicitly:
users.users.alice.extraGroups = [ "entropy" ];nixpkgs ships its own programs.entropy module around pkgs.ergohaven-entropy.
Both declare the same option, so this module disables the nixpkgs one
(disabledModules) and takes over: it follows the version in this repository
and exposes package, group and the ibus options. Use one or the other,
not both — importing this module is what makes the choice.
A homeManagerModules.default is also available, but the udev rule needs root,
so it only covers the app and the IBus engine, and its IBus registration works
only under standalone home-manager.
Development shell with the toolchain and native dependencies:
nix developUniversal Symbols are native RMK firmware actions for punctuation that should produce the same character in English and Russian layouts. Supported firmware tracks the active EN/RU layout and emits ordinary HID key presses, so assigned symbols work without Entropy or another background service.
When Entropy is running, the existing Layout Sync bridge reports the active OS layout to the keyboard and corrects firmware state after layout changes made by the operating system. Manual Toggle, Sync, English, and Russian actions remain available for fully autonomous use.
Entropy shows the Universal Symbols picker section only when connected firmware advertises this capability. The catalog intentionally contains only punctuation implemented by the firmware; the former Unicode typography, arrows, math, and currency extras are not exposed.
Entropy currently communicates with Vial-compatible HID devices. Its UI is designed for programmable keyboards and adjacent input devices such as macropads, trackballs, touchpads, and encoder/display modules when those features are exposed by firmware.
Best-tested hardware is Ergohaven hardware and Vial-compatible QMK/RMK-style devices. Firmware support varies by device; Entropy hides firmware-gated pages when the connected device does not expose the required capability.
Not in scope for this release:
- Browser-only configuration
- Mobile platforms
Want Entropy to show another language's key legends, or a variant such as Russian Typewriter? Contribute a TOML profile through a pull request. Accepted profiles are built into the next application build; installed apps do not import or load external TOML files.
In App Settings, Primary layout is always English. Secondary layout selects an additional layout family, or None for English only. Layout variant selects a concrete variant within that family. Currently, the additional profile is Russian → Standard; other choices appear only when their real key tables are contributed.
- Fork this repository and copy key_legends/ru.toml to
key_legends/<stable-id>.toml. Each file describes one concrete variant - Keep
schema_version = 2and set a uniqueidmatching the filename without.toml. Use lowercase ASCII letters, digits, hyphens or underscores, starting with a letter. Keep IDs stable after publication - Choose the family and variant:
- New secondary layout: set a new
family_id, localized family names (name_en,name_ru) andshort_name. Give its first variant a uniquevariant_id, localized variant names anddefault_variant = true - New variant of an existing family: keep that family's
family_id, names andshort_name, but choose a newvariant_idand variant names. Setdefault_variant = falseunless deliberately changing the default. Exactly one profile per family must be the default
- New secondary layout: set a new
- Remove the copied
[legacy]section. Replace the[keys]entries with the actual legends and Shift symbols for the intended layout. Entries refer to HID usage IDs, not physical positions on a particular keyboard - Build and run Entropy using the development instructions. The build discovers profiles automatically and rejects invalid data. No Rust or menu-list edits are needed for an ordinary new profile
- Select the family and variant in App Settings. Check the keyboard view, picker/search, Shift-number symbols and image export, including font coverage for the proposed script
- Open a pull request describing the exact layout and OS variant, with a source for the mapping and screenshots of App Settings, the keyboard view, picker and number-row symbols
See the profile format and contributor guide for required metadata, entry kinds, validation rules and compatibility details.
These profiles change displayed legends only. They do not change OS input, translate the interface, reprogram the keyboard or add layouts to firmware screens. A TOML profile does not provide a font or implement an input method.
Install a stable Rust toolchain, then build the desktop app:
cargo run
cargo build --releaseLinux builds require native GUI/HID dependencies. On Debian/Ubuntu-like systems:
sudo apt-get install \
libhidapi-dev \
libudev-dev \
libxcb-render0-dev \
libxcb-shape0-dev \
libxcb-xfixes0-dev \
libxkbcommon-dev \
libssl-dev \
libgtk-3-devLinux packages — .deb, .rpm, Arch .pkg.tar.zst and the AppImage — are built
with go-task. See BUILD.md for the full
reference:
task prepare
task linux:allBuild a macOS app bundle and DMG on macOS:
scripts/build_macos_app.shBuild a Windows release binary from Linux with the GNU target:
cargo build --release --target x86_64-pc-windows-gnuEntropy is licensed under GPL-3.0-or-later. See LICENSE.




