Skip to content

Latest commit

 

History

History
3092 lines (2259 loc) · 113 KB

USER_MANUAL.md

File metadata and controls

3092 lines (2259 loc) · 113 KB

Voxtype User Manual

Parakeet Ultra

Parakeet Ultra is Moondream's post-trained Parakeet v3 checkpoint, not another engine. The model picker offers F16 (1,256,724,448 bytes), Q8_0 (740,363,168 bytes) and Q4_K_M (486,280,096 bytes). New compatible GGUF selections recommend parakeet-ultra-Q8_0.gguf. Existing explicit v3, custom and supported legacy ONNX/MIGraphX choices are retained. Switching back to a previously configured Parakeet model is not an automatic Ultra migration.

Download deliberately, then choose the model in CLI, terminal or graphical settings:

voxtype setup --download --model parakeet-ultra-Q8_0.gguf
voxtype config set parakeet.model parakeet-ultra-Q8_0.gguf
voxtype config set engine parakeet

F16 and Q4_K_M use the corresponding exact filenames. GGUF support and its matching worker are required; ONNX-only builds retain their supported ONNX default. Saving settings never downloads weights. Ultra recognizes the same 25 European languages as v3 automatically; it does not expose a language hint, translation or streaming control. The tray therefore correctly shows its language as automatic and read-only. Upstream inference-pipeline features are not implied by the weights.

Ultra downloads come from Voxtype's model mirror at models.voxtype.io, like every other model, with pinned size and SHA-256 checks. See model provenance for where the weights originate, attribution and CC-BY-4.0 terms.

Handy GGUF model families

The gguf engine exposes five cleared, checksum-pinned Q8 checkpoints through the same isolated transcribe.cpp worker used by Cohere and Parakeet GGUF: Qwen3 ASR 0.6B and 1.7B, Moonshine Streaming Small, GigaAM v3, and Nemotron 3.5 ASR. Use voxtype setup model or an engine/model picker to download and select one; selection writes its architecture and compatible language hint together with the model name.

These checkpoints currently run after recording stops. Native streaming is not implemented, even for models with “streaming” in their published name, and an explicit streaming request is rejected instead of silently downgraded. GigaAM is Russian-only. Japanese Moonshine Base and SenseVoice conversions are held out of public downloads until their separate license gates are cleared.

Switching Parakeet or Cohere backends

The graphical and terminal model pickers offer checkpoints supported by the current binary. GGUF checkpoints require the matching voxtype-gguf-worker. An old ONNX model can remain in a per-engine table after switching away from that engine. Switching back validates the pair before saving: a compatible installed model is required, and nothing is downloaded automatically. In the terminal Engine section, choose the model before saving if the retained choice is incompatible. A missing model produces a download/selection requirement, not a successful setup or an engine-only restart.

Working explicit ONNX/MIGraphX setups stay unchanged in legacy-capable builds. Save operations preserve unrelated settings and comments. Finish the current dictation or meeting before explicitly restarting to apply an engine change.

Model upgrade offers

When a better replacement exists for the model you use, voxtype offers it in the tray menu, the Settings Engine section and the Waybar tooltip ("Model update available"). Nothing changes until you accept. There are two kinds of offer:

Current model Offer
parakeet-tdt-0.6b-v3, parakeet-tdt-0.6b-v3-int8 (ONNX) Parakeet Ultra (recommended), or the same model as parakeet-tdt-0.6b-v3-Q8_0.gguf
parakeet-tdt-0.6b-v3-*.gguf Parakeet Ultra
parakeet-tdt-0.6b-v2, parakeet-tdt-0.6b-v2-int8 (ONNX) Parakeet Ultra
cohere-transcribe-q4f16, -q4, -int8 (ONNX) cohere-transcribe-03-2026-Q4_K_M.gguf
cohere-transcribe-fp16 (ONNX) cohere-transcribe-03-2026-Q8_0.gguf

A format update redownloads the model you already use in the GGUF format, for better performance. Parakeet Ultra is a different model that covers the same 25 European languages as Parakeet v3. Streaming setups ([parakeet] streaming = true or parakeet-unified-en-0.6b) get no offer, because GGUF models do not stream yet. Offers only appear when this build includes the GGUF runtime for the engine.

From a terminal:

voxtype setup migrate                          # show offers for the current model
voxtype setup migrate --accept parakeet-ultra  # download, verify, switch, restart
voxtype setup migrate --decline                # keep the current model
voxtype setup migrate --cleanup                # remove the old ONNX models' files
voxtype setup migrate --json                   # the status object, for scripts

Accepting shows the download size and asks before downloading (--yes skips the question). The download is checked against its pinned sha256, then engine and model are switched in one validated write and a running daemon is restarted. If anything fails, including a cancelled download, config.toml is left exactly as it was and the offer stays available. Your old models' files are kept until voxtype has transcribed successfully with the new model; after that voxtype setup migrate --cleanup deletes every ONNX model of that engine from the models directory, not only the one you switched from.

Moving to GGUF is one way. For Parakeet and Cohere, whose model lists hold both ONNX and GGUF checkpoints, Settings and the TUI list ONNX models only while one is configured, and only that one. Once you are on a GGUF model the ONNX entries are gone from the list. They can still be selected from the command line until voxtype 2.0 removes ONNX support, for example voxtype config set parakeet.model parakeet-tdt-0.6b-v3.

Declining records your answer in ~/.local/state/voxtype/model_upgrade.json, never in config.toml. The offer stays listed, marked declined, so you can still accept it later, and the tooltip line goes away.

Models that run on ONNX Runtime also carry a notice: ONNX support is removed in voxtype 2.0. The notice gives the command that pins voxtype to the current version for your install method, for example IgnorePkg = voxtype-bin in /etc/pacman.conf on Arch, sudo apt-mark hold voxtype on Debian and Ubuntu, or sudo dnf versionlock add voxtype on Fedora.

Voxtype is a push-to-talk voice-to-text tool for Linux. Optimized for Wayland, works on X11 too. This manual covers everything you need to know to use Voxtype effectively.

OSD style picker

The graphical OSD section obtains its choices from voxtype info styles --json, not a hard-coded renderer enum. Installed packages include Capsule, Aura, Halo, Shell Line, Shell Dots and the four Showcase styles, alongside Default and Aegis HUD. Package values remain canonical hyphenated names; the picker displays readable labels. A user-installed package shadows a shipped package with the same name.

Each shipped recipe also has a selectable package with the same palette, layout, frame and visual layers. Picking a style changes osd.style; screen position and other explicit user settings remain independent. Applying a full recipe through setup osd --recipe remains a separate operation. The local installer adds missing style packages/recipes without replacing existing custom packages. This does not implement live preview while editing settings.

Quick language selection

Open the microphone menu and choose Language. The submenu identifies the configured default engine/checkpoint and checks the saved next-dictation choice. Known Cohere Transcribe checkpoints offer their 14 explicit language hints, not Auto. Known local multilingual Whisper checkpoints offer their supported language vocabulary and Auto; English-only checkpoints are read-only. Unknown/custom checkpoints, remote/CLI Whisper backends and engines without a verified hint control show an explanation instead of a misleading universal language list.

Selecting a language saves only that engine's canonical language key. Comments, other engines, model/backend choices, profiles and Text Cleanup settings are preserved. The daemon consumes the change at the next idle boundary and rebuilds its cached transcribers, including resident workers. An in-flight utterance keeps its original configuration and is neither canceled nor restarted. The next model load can be colder after a language change. The menu updates only after successful save and readback; a failure keeps the prior choice and shows an explanation.

This controls the configured default checkpoint, not a temporary record --model override. Other engines retain their independent hints, and profile processing is unchanged. Startup CLI/environment overrides still apply on a later daemon start; a successful explicit tray selection controls the current daemon immediately at its next safe boundary. Generic config set edits do not imply a full hot reload. If the file's engine/model no longer matches the daemon, the tray rejects the change rather than changing the wrong checkpoint.

For this native ItemIsMenu=true route, repeated-click menu toggling belongs to the tray host. The current Omarchy host always reopens the same menu; the local candidate includes a separately tested minimal host patch, not an automatic shell customization. An app-owned Omarchy compact panel/bar widget could instead own its toggle, as Superwhisper does; that alternative is not implemented here. Only the explicit Settings row opens the full application.

Native system tray (Linux)

The tray is enabled by default and remains visible while idle. Opt out with voxtype config set tray.enabled false, then restart Voxtype when ready. It shows recording, transcribing, and failed-dictation states without relying on audio feedback.

Clicking the icon opens a compact native menu without launching settings or closing the tray drawer. Choose the explicit Settings gear row for the full settings frontend. The menu shows live status. There is one recording control, Start Recording / Stop Recording, and Cancel is available while recording or transcribing. Starting another recording is disabled during inference. The tray uses the existing daemon control protocol, not a second recording daemon.

The tray and desktop entry share voxtype-configure-launcher: it prefers the available integrated Quickshell frontend, then a separately installed graphical settings desktop entry, then the terminal TUI. The current source ships no GTK settings application; voxtype-osd-gtk4 is an OSD, not settings. On a headless host, run voxtype configure directly in your terminal. Concurrent app-open requests are coalesced, and Quickshell uses idempotent open rather than toggle.

Which OSD frontend runs

New installs use [osd] frontend = "auto", which runs the Quickshell OSD where Quickshell and a Wayland session are available, GTK4 otherwise, and the native frontend as a last resort. Quickshell styles from the style picker apply only to the Quickshell OSD.

voxtype setup osd --status          # configured frontend, active frontend, and why
voxtype setup osd --status --json   # the same for scripts and the Settings panel

If your config names gtk4 or native and Quickshell can run, the Settings panel offers to switch, at the top of its OSD and Engine sections. Switch runs voxtype setup osd --use-auto and restarts voxtype. Not now runs voxtype setup osd --dismiss-offer, and the panel stops asking. From the command line:

voxtype setup osd --use-auto && systemctl --user restart voxtype   # switch
voxtype setup osd --dismiss-offer                                  # keep your frontend

The dismissal is stored in ~/.local/state/voxtype/osd-offer.json, not in config.toml, and --use-auto clears it again. If you pick a style in the panel while another OSD is in use, the panel also sets the frontend to auto when Quickshell is available and tells you so. If Quickshell is not available, it changes nothing and says why.

A setting left unset shows "default" in the Settings panel. For example, parakeet.threads unset uses 4 threads.

Omarchy Settings panel

The deb, rpm and AUR packages include a Settings panel for Omarchy's shell, installed at /usr/share/voxtype/omarchy-plugin/io.voxtype.settings. Nothing is written to your home directory at install time. The first time the voxtype daemon starts on Omarchy, it links the panel into ~/.config/omarchy/plugins/io.voxtype.settings and enables it. Open it with omarchy-shell shell toggle io.voxtype.settings '{}', or choose Settings in the voxtype tray menu.

The link points at the packaged copy, so the panel updates with voxtype. After a package upgrade, restart the daemon (systemctl --user restart voxtype) and Omarchy loads the new panel without a shell restart.

To link the panel by hand, or check its state:

voxtype setup omarchy
voxtype setup omarchy --status

If you installed the panel earlier with omarchy plugin add, voxtype leaves that copy alone, and it does not update with voxtype. The panel offers to switch, or run voxtype setup omarchy --replace. Your copy is moved to a hidden backup beside it (~/.config/omarchy/plugins/.io.voxtype.settings.backup-<time>), not deleted.

If you installed the panel before voxtype 1.2.1, the daemon shows a one-time desktop notification the first time it finds your copy, because older copies cannot offer the switch themselves. Newer copies show a Switch banner at the top of the panel. Choose Not now (or run voxtype setup omarchy --dismiss-copy) to stop the banner offering it for that copy. voxtype setup omarchy --replace still works later, and a new copy offers the switch again.

To remove the panel, run voxtype setup omarchy --remove (or omarchy plugin remove io.voxtype.settings). The daemon does not add it back; run voxtype setup omarchy to get it again. To stop the daemon from linking the panel at all, set [omarchy] link_settings_plugin = false (see the configuration guide).

When the configured Parakeet model is a .gguf file, the panel and voxtype configure hide Decoder type, which only applies to ONNX models.

The engine list at the top of the Engine section only browses another engine's models. Use on an installed model of any engine switches the engine and the model together, so you can move between engines from the panel, for example from Parakeet to an Omnilingual model, or back to Parakeet Ultra after trying a GGUF model. From a terminal, the same switch is voxtype config select-model <engine> <model>. An engine your build of voxtype was compiled without lists no models to use, and select-model refuses it with the command that gets you a build that includes it.

Coding agent setup skill

If you use a coding agent such as Claude Code, Codex, Gemini CLI, OpenCode, Cursor, GitHub Copilot or Goose, Voxtype can install a skill that teaches it to configure Voxtype for your machine:

voxtype setup skill

Then ask your agent to "set up voxtype for this machine". It inspects your hardware, asks which languages you dictate and whether battery life matters, and suggests an engine, model, GPU acceleration, thread count, memory settings and output mode. On an older install it also points out settings your config is missing that new installs get. It shows you the plan and asks before changing your config or running anything with sudo.

The command installs the skill for every agent it finds: Claude Code in ~/.claude/skills, and the others in ~/.agents/skills. Use --target claude, --target agents or --target all to choose. The skill is built into the voxtype binary, so run voxtype setup skill again after upgrading. voxtype setup skill --status and voxtype setup check tell you when the installed copy is out of date, and voxtype setup skill --remove uninstalls it.

If you edit the installed SKILL.md, voxtype notices. It asks before replacing or removing your copy, and when it can't ask (no terminal) it leaves the file alone. --force replaces it without asking. The same applies if a different skill already sits at that path.

Table of Contents


Getting Started

After installation, you need to complete the initial setup:

# 1. Ensure you're in the input group
groups | grep input

# 2. Run the setup wizard
voxtype setup --download

# 3. Start voxtype
voxtype

The setup command will:

  • Check all dependencies
  • Verify permissions
  • Download the default Whisper model (base.en)
  • Create your configuration file

Basic Usage

The Push-to-Talk Workflow

  1. Start the daemon: Run voxtype in a terminal (or enable the systemd service)
  2. Hold your hotkey: Default is ScrollLock
  3. Speak clearly: Talk at a normal pace
  4. Release the hotkey: Your speech is transcribed
  5. Text appears: Either typed at cursor or copied to clipboard

Example Session

$ voxtype
[INFO] Voxtype v0.1.0 starting...
[INFO] Using model: base.en
[INFO] Hotkey: SCROLLLOCK
[INFO] Output mode: type (fallback: clipboard)
[INFO] Ready! Hold SCROLLLOCK to record.

# User holds ScrollLock and says "Hello world"
[INFO] Recording started...
[INFO] Recording stopped (1.2s)
[INFO] Transcribing...
[INFO] Transcribed: "Hello world"
[INFO] Typed 11 characters

Commands

voxtype or voxtype daemon

Run the voice-to-text daemon. This is the main mode of operation.

voxtype                     # Run with defaults
voxtype -v                  # Verbose output
voxtype -vv                 # Debug output
voxtype --clipboard         # Force clipboard mode
voxtype --model small.en    # Use a different model
voxtype --hotkey PAUSE      # Use different hotkey

voxtype transcribe <file>

Transcribe an audio file without running the daemon.

voxtype transcribe recording.wav
voxtype --model large-v3 transcribe interview.wav  # Use specific model

Supported formats: WAV (16-bit PCM, 16kHz mono recommended)

voxtype setup

Check dependencies and optionally download models.

voxtype setup              # Check dependencies only
voxtype setup --download   # Download default model (base.en)
voxtype setup model        # Interactive model selection
voxtype setup vad          # Download the Silero VAD model
voxtype setup onnx         # Switch between Whisper and ONNX engines

voxtype config

Display the current configuration.

voxtype config

voxtype configure

Open an interactive terminal UI for editing every voxtype option. The TUI edits ~/.config/voxtype/config.toml directly, preserves comments and unknown fields, and validates the file before swapping it in. Saving a change that would break the daemon's parser leaves the on-disk file untouched and reports the parse error.

voxtype configure

The TUI is also surfaced as a .desktop entry, so it shows up in Walker, fuzzel, rofi, KRunner, and GNOME Activities as "Voxtype Configuration". The launcher script picks the first available terminal emulator ($TERMINAL, then ghostty / alacritty / kitty / foot / wezterm / konsole / xterm / xfce4-terminal) and sets the window class to voxtype so compositors can float it.

Sections

Section What it covers
General Active engine, variant binary, daemon status, hardware-aware variant recommendation
Engine Per-engine tuning for Whisper / Parakeet / Moonshine / SenseVoice / Paraformer / Dolphin / Omnilingual / Cohere
Hotkey PTT key, mode (PTT vs toggle), cancel key, modifier key, evdev-listener toggle
Audio Input device, max recording length, MPRIS pause/ducking, audio feedback theme/volume
Output Mode (type/clipboard/paste/file), driver order, auto-submit, post-process command
Text Cleanup Independent deterministic stages, opt-in LARD cleanup/model path, learned punctuation/casing, smart auto-submit, replacements editor
VAD Silero VAD enable, backend (auto/energy/whisper), threshold
Meeting Meeting mode enable, speaker diarization, audio source (mic/system/both)
Notifications Desktop notifications for recording start/stop and transcription
Waybar Status integration: icon theme + per-state icon overrides
Advanced GPU isolation, on-demand model loading, flash attention, eager processing, GPU device

Keyboard

Global         Tab / Esc focus toggle    ?  help overlay   q quit
Sidebar        ↑↓ / jk navigate          Enter / → / l open section
Section form   ↑↓ navigate fields        ←→ / hl cycle value
               Space toggle              Enter / i edit text field
               s save                    r revert
Text editor    type insert               ←→ / Home / End / Ctrl-A/E
               Backspace / Delete        Ctrl-W delete word
               Ctrl-U clear              Enter commit / Esc cancel

Press ? from anywhere in the TUI for the same reference as a popup.

Hardware-aware recommendations

The General section detects your CPU (AVX2 / AVX-512) and GPU (NVIDIA / AMD), then marks the recommended variant for each engine family with ★. The About pane explains the choice ("AMD GPU detected. The MIGraphX execution provider is new… ONNX (AVX-512) on CPU is the safe default.").

When you switch the engine on the Engine page, the TUI also picks the matching binary variant if one is needed. An explicit Parakeet ONNX model requires an ONNX variant. A Cohere or Parakeet GGUF model stays on the running binary when its GGUF client is compiled in, including the Vulkan variant. The actual symlink change runs through pkexec so you get the standard polkit prompt.

Compositor binding awareness

If you have the evdev listener disabled and rely on compositor bindings, the Hotkey screen scans ~/.config/hypr/*.conf, ~/.config/sway/config*, and ~/.config/niri/config.kdl for any voxtype record / voxtype meeting bindings, lists them in the About pane, and suggests config-format-specific snippets for any standard role you haven't bound (cancel, toggle, meeting start/stop). Suggestions skip key combos already in use by other actions.

voxtype status

Query the daemon's current state (for Waybar/Polybar integration).

voxtype status                      # Basic status (text format)
voxtype status --format json        # JSON output for Waybar
voxtype status --follow             # Continuously output on state changes
voxtype status --format json --extended  # Include model, device, backend, upgrade offers
voxtype status --format json --icon-theme nerd-font  # Use specific icon theme

Options:

Option Description
--format text Human-readable output (default)
--format json JSON output for status bars
--follow Watch for state changes and output continuously
--extended Include model, device, backend and model_upgrade in JSON output
--icon-theme THEME Override icon theme (emoji, nerd-font, material, etc.)

Example JSON output with --extended:

{
  "text": "🎙️",
  "class": "idle",
  "tooltip": "Voxtype ready\nModel: base.en\nDevice: default\nBackend: CPU (AVX-512)",
  "model": "base.en",
  "device": "default",
  "backend": "CPU (AVX-512)",
  "model_upgrade": null
}

model_upgrade is null unless there is an upgrade offer, an ONNX removal notice or a previous model to clean up. Otherwise it holds the same object as voxtype setup migrate --json: schema, current (engine, model, format), offers (each with id, kind, engine, model, title, detail, download_bytes, recommended and declined), removal_notice and cleanup. While an offer is open the tooltip ends with "Model update available".

For a GGUF model, backend describes the transcribe.cpp worker that serves it, for example GGUF Vulkan (transcribe.cpp) or GGUF CPU (transcribe.cpp), rather than the main binary's variant. With gguf_backend = "auto" the Vulkan or CPU detail appears once the worker has loaded the model.

voxtype setup gpu

Manage GPU acceleration backends.

voxtype setup gpu            # Show current backend status
voxtype setup gpu --enable   # Switch to Vulkan GPU backend (requires sudo)
voxtype setup gpu --disable  # Switch back to CPU backend (requires sudo)

voxtype setup dms

Install a status widget for DankMaterialShell (KDE Plasma alternative shell).

voxtype setup dms              # Show setup instructions
voxtype setup dms --install    # Install the QML widget plugin
voxtype setup dms --uninstall  # Remove the widget
voxtype setup dms --qml        # Output raw QML content

See With DankMaterialShell for details.

voxtype setup quickshell

Install the Quickshell QML tree so voxtype-osd-quickshell (and the optional [osd] frontend = "quickshell" config setting) can find it. This is needed if you installed voxtype from source or from a .deb/.rpm package that didn't drop the QML files into /usr/share/voxtype/. The AUR packages already install the system-wide copy, but you can still run this command to put a per-user copy under $XDG_DATA_HOME/voxtype/quickshell/ for customization.

voxtype setup quickshell                       # Install QML + symlink the bridge
voxtype setup quickshell --target DIR          # Install QML to a custom location
voxtype setup quickshell --source DIR          # Override the source tree (default: auto-detect)
voxtype setup quickshell --force               # Overwrite an existing install
voxtype setup quickshell --print-bindings      # Print the bindings only, do not copy
voxtype setup quickshell --bridge PATH         # Override the audio-bridge source binary
voxtype setup quickshell --bridge-target PATH  # Override the audio-bridge symlink location
voxtype setup quickshell --skip-bridge         # Skip the audio-bridge symlink entirely

The default QML target is $XDG_DATA_HOME/voxtype/quickshell/ (or ~/.local/share/voxtype/quickshell/ if XDG_DATA_HOME is unset). The launcher searches that path first, then /usr/share/voxtype/quickshell/.

The command also symlinks voxtype-audio-bridge into $XDG_BIN_HOME/voxtype-audio-bridge (or ~/.local/bin/voxtype-audio-bridge) so the QML waveform can spawn the sidecar via a normal PATH lookup. The AUR voxtype-bin package installs the bridge under /usr/lib/voxtype/voxtype-audio-bridge, which is not on the default PATH; the symlink is what makes the waveform light up after install. Pass --skip-bridge if you already have the bridge on PATH and don't want a per-user symlink, or --bridge-target to point the symlink at a different user-owned directory. Writing outside of $HOME is refused unless --force is also passed.

The command prints Hyprland, Sway, and River keybinding examples that toggle the Wave 2 engine-picker and meeting-controls panels via flag files under $XDG_RUNTIME_DIR/voxtype/. The OSD itself does not need a keybinding; it activates automatically when the daemon enters the recording state.

While you record, the Quickshell HUD shows a live waveform and the elapsed time. Near audio.max_duration_secs the clock turns into a countdown (amber, then red for the last 5 seconds), so a long dictation is not cut off by surprise. The engine and model serving the recording appear briefly when it starts. While transcribing, the waveform becomes a slow ripple. When the session ends, the HUD confirms the result for a moment (a check with the number of characters, or "No speech detected", "Transcription failed", and so on) before it fades out. Cancelled recordings and --no-osd recordings show no result.

Quickshell also supports OSD customization through [osd]:

[osd]
frontend = "quickshell"
style = "default"      # built-in style, package name, or package path
# palette = "omarchy" # omit for auto, or force active Omarchy theme colors
layout = "compact"    # compact, wide, minimal, pill, shell, tile, orb, custom

[osd.frame]
background = "none"   # semantic role, literal color, or none
border = "none"       # state, semantic role, literal color, or none
glow = true

No-code visual recipes live under [[osd.visual.layers]] and can combine layers such as shadow, pulse, bars, waveform, ring, meter, icon, and label. Colors are semantic Omarchy tokens by default (accent, background, foreground, success, warning, error). layout changes the outer frame: strip-style layouts use compact, wide, minimal, pill, or shell, while tile and orb create non-strip OSD frames. [osd.frame] can remove or recolor the host background and border without changing QML. The styling system was contributed by OldJobobo (#501).

style also accepts a style package: a directory containing a voxtype-osd.toml manifest and optionally custom QML. Package names resolve against ~/.config/voxtype/osd/, ~/.local/share/voxtype/osd/, and /usr/share/voxtype/osd/, so installing a shared package is copying its directory into ~/.config/voxtype/osd/ and setting style to the directory name. voxtype info styles lists everything the search currently finds. Packaged installs ship example styles under /usr/share/voxtype/osd/ and recipe presets under /usr/share/voxtype/osd-recipes/; the source tree keeps them in examples/osd-packages/ alongside examples/osd-recipes/. Recipes are plain [osd] config presets rather than installable packages. Apply one with voxtype setup osd --recipe <name>, which writes its keys into your config without duplicating any that are already there and prints each changed key with its previous value; --dry-run previews the change and voxtype setup osd --list shows what's installed. For a quiet HUD, the capsule, shell-line, shell-dots, aura, and halo recipes show only the state, your live voice level, and the clock; the showcase-* recipes layer more instruments. shell-line keeps Capsule's flowing lines, while shell-dots uses Aura's voice-assistant dots. Both follow Omarchy Shell's corner rounding, popup border, monospace text, and spacing instead of the fully rounded pill shape. Their theme background stays steady, with no glow or dimming between words. Recipes resolve against ~/.config/voxtype/osd-recipes/, ~/.local/share/voxtype/osd-recipes/, and /usr/share/voxtype/osd-recipes/, and --recipe also accepts a path to a .toml file. While developing a package, set plugin_path to your working directory; it takes priority over the search paths so edits apply on the next OSD launch. Package QML is trusted code and is not sandboxed.

All of these keys work with voxtype config set, the voxtype configure TUI's OSD section, and the config file:

voxtype info styles
voxtype setup osd --recipe showcase-bars --dry-run
voxtype setup osd --recipe showcase-bars
voxtype config set osd.style aegis-hud
voxtype config set osd.plugin_path ~/dev/my-style
voxtype config unset osd.plugin_path

See CONFIGURATION.md for the full recipe and package reference.

voxtype record

Control recording from external sources (compositor keybindings, scripts).

voxtype record start                # Start recording (sends SIGUSR1 to daemon)
voxtype record start --file=out.txt # Write transcription to a file
voxtype record start --file         # Write to file_path from config
voxtype record stop                 # Stop recording and transcribe (sends SIGUSR2 to daemon)
voxtype record toggle               # Toggle recording state
voxtype record cancel               # Cancel recording or transcription in progress

Model override: Use --model to specify which model to use for this recording:

voxtype record start --model large-v3-turbo  # Use a specific model
voxtype record stop                          # Transcribes with the model specified at start

The override works on any engine, and it can name another engine's model: with Parakeet as your engine, voxtype record start --model large-v3-turbo transcribes that one recording with Whisper. Use the names voxtype info models shows (other engines use directory-form names such as moonshine-base or cohere-transcribe-q4f16). The model has to be downloaded; an unknown or missing model fails with an error sound and notification instead of quietly using your default model. The daemon keeps the override model loaded next to your default model for the next override, unless on_demand_loading is set. Streaming engines transcribe an override recording in one pass at stop rather than live.

With Whisper as your engine, a Whisper override must be configured as model, secondary_model, or listed in available_models. See Multi-Model Configuration for setup.

Output mode override: Use --type, --clipboard, or --paste to override the output mode:

voxtype record start --clipboard  # Output to clipboard instead of typing
voxtype record toggle --paste     # Use paste mode for this recording

File output: The --file flag writes transcription to a file instead of typing or using clipboard. Use --file=path.txt for a specific file, or --file alone to use file_path from config. By default, the file is overwritten on each transcription. To append instead, set file_mode = "append" in your config file:

[output]
file_mode = "append"

For persistent file output without the CLI flag, use mode = "file" with file_path in your config. See Configuration Reference for details.

This command is designed for use with compositor keybindings (Hyprland, Sway) instead of the built-in hotkey detection. See Compositor Keybindings for setup instructions.

voxtype meeting

Continuous meeting transcription with chunked processing and speaker diarization. See Meeting Mode for full details.

voxtype meeting start                  # Start a meeting
voxtype meeting start --title "Title"  # Start with a title
voxtype meeting stop                   # Stop the meeting
voxtype meeting pause                  # Pause recording
voxtype meeting resume                 # Resume recording
voxtype meeting status                 # Show current meeting status
voxtype meeting list                   # List past meetings
voxtype meeting export latest          # Export transcript (markdown)
voxtype meeting summarize latest       # Generate AI summary

Configuration

Configuration file location: ~/.config/voxtype/config.toml

Full Configuration Reference

[hotkey]
# The key to hold for push-to-talk recording
# Common choices: SCROLLLOCK, PAUSE, RIGHTALT, F13-F24
key = "SCROLLLOCK"

# Optional modifier keys that must be held with the main key
# Examples: ["LEFTCTRL"], ["LEFTCTRL", "LEFTALT"]
modifiers = []

# Enable built-in hotkey detection (default: true)
# Set to false when using compositor keybindings (Hyprland, Sway) instead
# enabled = true

[audio]
# Audio input device
# "default" uses the system default microphone
# List devices with: pactl list sources short
device = "default"

# Sample rate in Hz (whisper expects 16000)
sample_rate = 16000

# Maximum recording duration in seconds (safety limit)
# Recording automatically stops and transcribes after this time
max_duration_secs = 60

# Optional media behavior while recording
# pause_media pauses MPRIS players; duck_media lowers active stream volume
# pause_media = false
# duck_media = false
# duck_media_volume_percent = 70

[whisper]
# Model to use for transcription
# Options: tiny, tiny.en, base, base.en, small, small.en, medium, medium.en, large-v3
# .en models are English-only but faster/smaller
# Can also be an absolute path to a .bin model file
model = "base.en"

# Language for transcription
# "en" for English, "auto" for auto-detection
# See: https://github.com/openai/whisper#available-models-and-languages
language = "en"

# Translate non-English speech to English
translate = false

# Number of CPU threads for inference
# Omit to auto-detect optimal thread count
# threads = 4

# Load model on-demand (saves memory/VRAM, slight delay per recording)
# on_demand_loading = true

[output]
# Primary output mode
# "type" - Simulates keyboard input at cursor (wtype/dotool/ydotool)
# "clipboard" - Copies text to clipboard (requires wl-copy)
# "paste" - Copies to clipboard then simulates Ctrl+V (for non-US keyboard layouts)
mode = "type"

# Fall back to clipboard if typing fails
fallback_to_clipboard = true

# Delay between typed characters in milliseconds
# 0 = fastest, increase if characters are dropped
type_delay_ms = 0

[output.notification]
# Show notification when recording starts (hotkey pressed).
# Stays on screen until the recording ends.
on_recording_start = false

# Show notification when recording stops (transcription begins)
on_recording_stop = false

# Show notification with transcribed text
on_transcription = true

Cloud Backend: Soniox

For a cloud streaming alternative to the local engines above, voxtype supports Soniox. Different trade-off space: paid SaaS, no local model, 60+ languages with strong Hungarian/EU coverage, sub-second partials at the cursor.

Soniox ships in every release binary. Set SONIOX_API_KEY and:

engine = "soniox"

[hotkey]
mode = "toggle"   # required when streaming (default)

[soniox]
language_hints = ["en"]

See SONIOX.md for the full reference (realtime vs async modes, performance tips with dotoold, privacy considerations).

Creating a Custom Configuration

# Copy the default config
cp /etc/voxtype/config.toml ~/.config/voxtype/config.toml

# Or generate one
mkdir -p ~/.config/voxtype
voxtype config > ~/.config/voxtype/config.toml

Using a Custom Config File

voxtype -c /path/to/my/config.toml

Configuration Priority

Settings are applied in layers, with later layers overriding earlier ones:

  1. Built-in defaults (lowest priority)
  2. Config file (~/.config/voxtype/config.toml)
  3. Environment variables (VOXTYPE_*)
  4. CLI flags (highest priority)

Every config file option has a corresponding VOXTYPE_* environment variable and CLI flag. See voxtype --help for the full list of CLI flags, and CONFIGURATION.md for the full list of environment variables.

# Override model and auto-submit via environment
VOXTYPE_MODEL=large-v3-turbo VOXTYPE_AUTO_SUBMIT=true voxtype

# Override via CLI flags (takes priority over env vars and config file)
voxtype --model large-v3-turbo --auto-submit

Per-recording overrides are available on record start and record toggle:

# Auto-submit just this recording (even if config has auto_submit = false)
voxtype record start --auto-submit

# Disable auto-submit just this recording (even if config has auto_submit = true)
voxtype record toggle --no-auto-submit

# Suppress the on-screen display for just this recording
voxtype record start --no-osd

--no-osd hides the OSD for that recording only and leaves osd.enabled in config.toml untouched. It exists for programs that drive dictation and draw their own UI: without it, the only way to suppress the overlay is to rewrite the user's config and restart the daemon. Both OSD frontends honor it, and the daemon still reports the real state, so Waybar and voxtype status are unaffected.


Hotkeys

Supported Keys

Any key supported by the Linux evdev system can be used as a hotkey:

Key Event Name
Scroll Lock SCROLLLOCK
Pause/Break PAUSE
Right Alt RIGHTALT
Right Ctrl RIGHTCTRL
F13-F24 F13, F14, ... F24
Media MEDIA
Record RECORD
Insert INSERT
Home HOME
End END
Page Up PAGEUP
Page Down PAGEDOWN
Delete DELETE
Caps Lock* CAPSLOCK

*Note: Using Caps Lock may interfere with normal typing.

Finding Key Names

Use evtest to find the event name of any key:

sudo evtest
# Select your keyboard device
# Press the key you want to use
# Look for "KEY_XXXXX" - use the part after KEY_

Numeric Keycodes

If your key isn't in the built-in list, you can specify it by numeric keycode. Use a prefix to indicate which tool you got the number from, since wev/xev and evtest report different numbers for the same key (XKB keycodes are offset by 8 from kernel keycodes):

[hotkey]
key = "WEV_234"      # XKB keycode from wev/xev (KEY_MEDIA)
key = "EVTEST_226"   # Kernel keycode from evtest (KEY_MEDIA)
key = "WEV_0xEA"     # Hex also works

Prefixes: WEV_, X11_, XEV_ (XKB keycode), EVTEST_ (kernel keycode).

Using Modifier Keys

Require modifier keys to be held along with your hotkey:

[hotkey]
key = "SCROLLLOCK"
modifiers = ["LEFTCTRL"]  # Ctrl+ScrollLock

Available modifiers:

  • LEFTCTRL, RIGHTCTRL
  • LEFTALT, RIGHTALT
  • LEFTSHIFT, RIGHTSHIFT
  • LEFTMETA, RIGHTMETA (Super/Windows key)

Profile Modifiers

Map modifier keys to named profiles for different post-processing per recording. Hold a profile modifier while pressing the hotkey to activate that profile:

[hotkey]
key = "SCROLLLOCK"

[hotkey.profile_modifiers]
RIGHTSHIFT = "translate"

[profiles.translate]
post_process_command = "my-cleanup.sh --translate-en"
post_process_timeout_ms = 10000

With this config, bare ScrollLock uses default post-processing, while Right Shift + ScrollLock translates to English. See Configuration - profile_modifiers for details.

When using compositor keybindings instead of evdev, use voxtype record start --profile <name> to achieve the same effect.


Compositor Keybindings

If you prefer to use your compositor's native keybindings instead of voxtype's built-in hotkey detection, you can disable the internal hotkey and trigger recording via CLI commands.

Why Use Compositor Keybindings?

  • No input group membership required - Voxtype's evdev-based hotkey detection requires being in the input group
  • Native feel - Use familiar keybinding configuration patterns
  • Modifier support - Use any key combination your compositor supports (e.g., Super+V)

Setup

  1. Disable the internal hotkey in ~/.config/voxtype/config.toml:

    [hotkey]
    enabled = false
  2. Ensure state file is enabled (required for toggle mode, enabled by default):

    state_file = "auto"
  3. Configure your compositor keybindings (see examples below).

Hyprland

Hyprland supports key release events via bindr, enabling push-to-talk:

# Push-to-talk (hold to record, release to transcribe)
bind = , SCROLL_LOCK, exec, voxtype record start
bindr = , SCROLL_LOCK, exec, voxtype record stop

# Or with a modifier
bind = SUPER, V, exec, voxtype record start
bindr = SUPER, V, exec, voxtype record stop

# Toggle mode (press to start/stop)
bind = SUPER, V, exec, voxtype record toggle

Sway

Sway supports key release events via --release:

# Push-to-talk
bindsym Scroll_Lock exec voxtype record start
bindsym --release Scroll_Lock exec voxtype record stop

# With a modifier
bindsym $mod+v exec voxtype record start
bindsym --release $mod+v exec voxtype record stop

# Toggle mode
bindsym $mod+v exec voxtype record toggle

River

River supports key release events via -release in riverctl map. Add these to your ~/.config/river/init:

# Push-to-talk (hold to record, release to transcribe)
riverctl map normal None Scroll_Lock spawn 'voxtype record start'
riverctl map -release normal None Scroll_Lock spawn 'voxtype record stop'

# With a modifier
riverctl map normal Super V spawn 'voxtype record start'
riverctl map -release normal Super V spawn 'voxtype record stop'

# Toggle mode (press to start/stop)
riverctl map normal Super V spawn 'voxtype record toggle'

KDE Plasma (KWin)

KDE Plasma uses KWin as its compositor. KWin does not support key-release events, so push-to-talk (hold to record) is not available. Use toggle mode instead (press once to start recording, press again to stop).

  1. Open System Settings > Shortcuts > Custom Shortcuts.
  2. Click Edit > New > Global Shortcut > Command/URL.
  3. Name it something like "Voxtype Toggle".
  4. On the Trigger tab, click the button and press your desired key combination (e.g., Meta+V).
  5. On the Action tab, set the command to:
    voxtype record toggle
    
  6. Click Apply.

Then disable the built-in hotkey in ~/.config/voxtype/config.toml:

[hotkey]
enabled = false

Restart the voxtype daemon after changing the config.

Other Compositors/Desktops

For other compositors without key release support (GNOME, etc.), use toggle mode:

# Generic: bind this to your preferred key
voxtype record toggle

Trade-offs

Approach Pros Cons
Built-in hotkey (evdev) Universal, no config needed Requires input group
Compositor keybindings Native feel, no input group Compositor-specific config

Modifier Key Issues

If you use a multi-key combination (e.g., SUPER+CTRL+X) and release keys slowly, the typed output may trigger compositor shortcuts instead of inserting text. See Output Hooks (Compositor Integration) for an automatic fix.


Canceling Transcription

You can cancel recording or transcription at any time. When canceled, no text is output.

With Compositor Keybindings

Use voxtype record cancel bound to a key (typically Escape):

Hyprland (in your submap):

bind = , Escape, exec, voxtype record cancel
bind = , Escape, submap, reset

Sway (in your mode):

bindsym Escape exec voxtype record cancel; mode "default"

River:

riverctl map voxtype_suppress None Escape spawn "voxtype record cancel"
riverctl map voxtype_suppress None Escape enter-mode normal

If you use voxtype setup compositor, these bindings are generated automatically.

With Evdev Hotkeys

Configure a cancel key in your ~/.config/voxtype/config.toml:

[hotkey]
key = "SCROLLLOCK"
cancel_key = "ESC"  # Press Escape to cancel

Any valid evdev key name works. Common choices:

  • ESC - Escape key
  • BACKSPACE - Backspace key
  • F12 - Function key

What Gets Canceled

  • During recording: Audio capture stops, recorded audio is discarded
  • During transcription: Transcription is aborted, no text is output
  • While idle: No effect

Transcription Engines

Voxtype supports seven speech-to-text engines. Whisper uses whisper.cpp and works with any binary variant. The other six engines run via ONNX Runtime and require an ONNX binary variant (voxtype-*-onnx-*).

Engine Best For GPU Required Languages
Whisper (default) Most users, multilingual Optional (faster with GPU) 99+ languages
Parakeet Fast CPU inference, English Optional (CUDA available) English only
Moonshine Very fast CPU inference, small models No English + multilingual variants
SenseVoice Multilingual CTC, emotion/event detection No Chinese, English, Japanese, Korean, Cantonese
Paraformer Chinese + English dictation No Chinese (with English code-switching)
Dolphin Dictation-optimized, fast CTC No Chinese + English
Omnilingual Broadest language coverage in ONNX engines No 50+ languages
Cohere #1 Open ASR Leaderboard accuracy Optional (CUDA via cohere-cuda) Arabic, German, English, Spanish, French, Hindi, Italian, Japanese, Korean, Dutch, Portuguese, Russian, Turkish, Chinese (14)

Selecting an Engine

Via config file (~/.config/voxtype/config.toml):

# Default - use Whisper
engine = "whisper"

# ONNX engines (require onnx binary variant)
engine = "parakeet"
engine = "moonshine"
engine = "sensevoice"
engine = "paraformer"
engine = "dolphin"
engine = "omnilingual"
engine = "cohere"

Via CLI flag (overrides config):

voxtype --engine whisper daemon
voxtype --engine parakeet daemon
voxtype --engine moonshine daemon
voxtype --engine sensevoice daemon
voxtype --engine paraformer daemon
voxtype --engine dolphin daemon
voxtype --engine omnilingual daemon
voxtype --engine cohere daemon

Valid --engine values: whisper, parakeet, moonshine, sensevoice, paraformer, dolphin, omnilingual, cohere.

Switching to an ONNX Engine

All engines except Whisper require an ONNX binary variant. Use the setup command to switch:

voxtype setup onnx --enable    # Switch to ONNX binary
voxtype setup onnx --disable   # Switch back to Whisper binary
voxtype setup onnx --status    # Show current backend

Whisper (Default)

Whisper is OpenAI's speech recognition model, running locally via whisper.cpp. It offers:

  • Excellent accuracy across many languages
  • Multiple model sizes (tiny to large)
  • GPU acceleration via Vulkan (AMD/Intel) or CUDA (NVIDIA)
  • Active community and frequent updates

This is the recommended engine for most users.

Parakeet

On GGUF-capable builds, first selecting Parakeet uses parakeet-tdt-0.6b-v3-Q8_0.gguf; first selecting Cohere uses cohere-transcribe-03-2026-Q4_K_M.gguf. The CLI (voxtype config set engine parakeet or cohere), TUI, and schema-backed settings agree on these defaults. Download the selected model with voxtype setup model or voxtype setup --download --model <name>. GGUF inference requires the matching voxtype-gguf-worker, with Vulkan support for GPU use.

Existing explicit ONNX models, including Parakeet MIGraphX and streaming configurations, remain unchanged. Selecting an engine again does not replace its saved model. Migrating to GGUF requires deliberately selecting a GGUF model; Parakeet GGUF does not support streaming = true. Builds without the corresponding GGUF feature keep the legacy model default. The initial default engine remains Whisper.

Parakeet is NVIDIA's FastConformer-based ASR model. It offers:

  • Very fast CPU inference (30x realtime on AVX-512)
  • Good accuracy for English dictation
  • Proper punctuation and capitalization
  • No GPU required (though CUDA acceleration available)

Requirements:

  • An ONNX-enabled binary (voxtype-*-onnx-*)
  • The Parakeet model downloaded (~600MB)
  • English-only use case

Configuration:

engine = "parakeet"

[parakeet]
model = "parakeet-tdt-0.6b-v3"  # or "parakeet-tdt-0.6b-v3-int8"
# model_type = "tdt"            # "tdt" (recommended) or "ctc", auto-detected if omitted
# on_demand_loading = false
# streaming = true              # type text as you speak; requires toggle activation

Streaming dictation (experimental): set [parakeet] streaming = true and voxtype types text incrementally while you speak. Streaming requires [hotkey] mode = "toggle" (or a compositor binding that calls voxtype record toggle). Synthetic key events from streaming output disrupt libinput's tracking of held physical keys on Wayland compositors, so a held PTT key never fires its release event. The daemon auto-promotes push-to-talk to toggle at startup when streaming is enabled and logs a warning.

See PARAKEET.md for detailed setup instructions.

Moonshine

Moonshine is an encoder-decoder transformer model running via ONNX Runtime. It offers:

  • Very fast CPU inference (0.09s for 4s audio on Ryzen 9 9900X3D)
  • Small model sizes (tiny: 100MB, base: 237MB)
  • English models are MIT-licensed; multilingual models (Japanese, Mandarin, Korean, Arabic) use a community license
  • Outputs lowercase without punctuation

Requirements:

  • An ONNX-enabled binary (voxtype-*-onnx-*)
  • A Moonshine model downloaded to ~/.local/share/voxtype/models/

Configuration:

engine = "moonshine"

[moonshine]
model = "base"        # "tiny" (27M params) or "base" (61M params)
quantized = true      # Use quantized models for faster inference (default: true)
# threads = 4         # CPU threads (omit for auto-detect)
# on_demand_loading = false

See MOONSHINE.md for detailed setup instructions.

SenseVoice

SenseVoice is Alibaba's FunAudioLLM CTC encoder-only model. It offers:

  • Multilingual support: Chinese, English, Japanese, Korean, Cantonese
  • Automatic language detection
  • Inverse text normalization (adds punctuation)
  • Emotion and audio event detection

Requirements:

  • An ONNX-enabled binary (voxtype-*-onnx-*)
  • The SenseVoice model downloaded

Configuration:

engine = "sensevoice"

[sensevoice]
model = "sensevoice-small"  # Default model
language = "auto"           # "auto", "zh", "en", "ja", "ko", "yue"
use_itn = true              # Inverse text normalization (punctuation)
# threads = 4
# on_demand_loading = false

Paraformer

Paraformer is a FunASR CTC encoder model optimized for Chinese with English code-switching. It offers:

  • Fast non-autoregressive inference
  • Good accuracy for Chinese dictation

Requirements:

  • An ONNX-enabled binary (voxtype-*-onnx-*)
  • The Paraformer model downloaded

Configuration:

engine = "paraformer"

[paraformer]
model = "paraformer-zh"  # Default model
# threads = 4
# on_demand_loading = false

Dolphin

Dolphin is a dictation-optimized CTC encoder model. It offers:

  • Fast inference tuned for dictation workflows
  • CTC architecture for low-latency output

Requirements:

  • An ONNX-enabled binary (voxtype-*-onnx-*)
  • The Dolphin model downloaded

Configuration:

engine = "dolphin"

[dolphin]
model = "dolphin-base"  # Default model
# threads = 4
# on_demand_loading = false

Omnilingual

Omnilingual is a FunASR CTC encoder model with the broadest language coverage among the ONNX engines. It offers:

  • Support for 50+ languages
  • Good accuracy across diverse language families

Requirements:

  • An ONNX-enabled binary (voxtype-*-onnx-*)
  • The Omnilingual model downloaded

Configuration:

engine = "omnilingual"

[omnilingual]
model = "omnilingual-large"  # Default model
# threads = 4
# on_demand_loading = false

Cohere Transcribe

Cohere Transcribe is an encoder-decoder ASR model from Cohere Labs running via transcribe.cpp for GGUF files or ONNX Runtime for legacy model directories. It currently sits at #1 on the Open ASR Leaderboard. It offers:

  • Best-in-class accuracy on a wide range of audio (5.42 average WER on the leaderboard)
  • Support for 14 languages with a single model
  • Whisper-style task tokens for punctuation, capitalization, and inverse text normalization
  • Optional CUDA acceleration via the cohere-cuda feature

The trade-off: it's the largest model voxtype ships at ~3.1 GB on disk for the int8 quantization. Plan accordingly on laptops with limited storage.

Requirements:

  • An ONNX-enabled binary (voxtype-*-onnx-*)
  • ~3.1 GB free disk space for the model
  • The Cohere Transcribe model downloaded (voxtype setup model, then pick the Cohere section)

Configuration:

engine = "cohere"

[cohere]
model = "cohere-transcribe-int8"  # Default model
language = "en"                    # One of: ar, de, en, es, fr, hi, it, ja, ko, nl, pt, ru, tr, zh
# threads = 4
# on_demand_loading = false

Supported languages:

Arabic (ar), German (de), English (en, default), Spanish (es), French (fr), Hindi (hi), Italian (it), Japanese (ja), Korean (ko), Dutch (nl), Portuguese (pt), Russian (ru), Turkish (tr), Mandarin Chinese (zh).

Installing:

voxtype setup model      # Pick the Cohere section, confirm the size warning

The download fetches the encoder/decoder ONNX graphs, their weight sidecars and tokens.txt from Voxtype's model mirror at models.voxtype.io, checking each file's SHA-256. The files are mirrored from onnx-community/cohere-transcribe-03-2026-ONNX (Apache 2.0).


Multi-Model Support

Voxtype can manage multiple Whisper models, letting you switch between them on the fly. Use a fast model for everyday dictation and a more accurate model when precision matters.

Configuration

[hotkey]
model_modifier = "LEFTSHIFT"  # Hold Shift + hotkey for secondary model

[whisper]
model = "base.en"                    # Primary model (fast, always loaded)
secondary_model = "large-v3-turbo"   # Secondary model (accurate, on-demand)
available_models = ["medium.en"]     # Additional models for CLI access
max_loaded_models = 2                # Keep up to 2 models in memory
cold_model_timeout_secs = 300        # Evict unused models after 5 minutes

Using Multiple Models

With hotkey modifier (evdev mode):

  • Normal hotkey press → uses primary model (base.en)
  • Hold Shift + hotkey → uses secondary model (large-v3-turbo)

With CLI (compositor keybindings):

# Use primary model
voxtype record start

# Use secondary model
voxtype record start --model large-v3-turbo

# Use any available model
voxtype record start --model medium.en

Memory Management

Voxtype caches loaded models to avoid reload delays:

  • max_loaded_models: Maximum models to keep in memory (default: 2)
  • cold_model_timeout_secs: Auto-evict unused models after this time (default: 300s)
  • Primary model is never evicted
  • Models load in the background while you speak

Example: Speed vs Accuracy

[hotkey]
key = "SCROLLLOCK"
model_modifier = "LEFTSHIFT"

[whisper]
model = "tiny.en"                   # Lightning fast for quick notes
secondary_model = "large-v3-turbo"  # High accuracy when needed

[audio.feedback]
enabled = true  # Helpful audio cues when switching models

Improving Transcription Accuracy

Whisper sometimes mistranscribes uncommon words—technical terms, proper nouns, company names, or domain-specific jargon. The initial_prompt feature lets you provide hints that improve accuracy for these cases.

When to Use initial_prompt

Use initial_prompt when you regularly dictate content containing:

  • Technical jargon: Kubernetes, PostgreSQL, TypeScript, systemd
  • Product/company names: Voxtype, Hyprland, Waybar, wtype
  • People's names: Especially non-English names that Whisper might mishear
  • Acronyms: API, CLI, LLM, CI/CD
  • Domain-specific terms: Medical, legal, or scientific vocabulary

Configuration

Add to your ~/.config/voxtype/config.toml:

[whisper]
model = "base.en"
initial_prompt = "Technical discussion about Rust, TypeScript, and Kubernetes."

The prompt doesn't need to be a complete sentence. A list of expected terms works well:

# Software development
initial_prompt = "Voxtype, Hyprland, Waybar, Sway, wtype, ydotool, systemd."

# Medical dictation
initial_prompt = "Medical notes: hypertension, myocardial infarction, CT scan, MRI."

# Meeting context
initial_prompt = "Meeting with Zhang Wei, François Dupont, and Priya Sharma."

CLI Override

Override the prompt for a single session:

voxtype --initial-prompt "Discussion about Terraform and AWS Lambda" daemon

Tips

  • Keep prompts short—a sentence or list of terms is sufficient
  • Update the prompt when your context changes (different project, client, or domain)
  • Combine with a larger model (small.en or medium.en) for best results on difficult vocabulary
  • The prompt guides Whisper's expectations but doesn't guarantee exact transcription

Whisper Models

Model Comparison

Model Size Download RAM Usage Speed WER*
tiny.en 39 MB Fast ~400 MB ~10x realtime ~10%
base.en 142 MB Fast ~500 MB ~7x realtime ~8%
small.en 466 MB Medium ~1 GB ~4x realtime ~6%
medium.en 1.5 GB Slow ~2.5 GB ~2x realtime ~5%
large-v3 3.1 GB Slow ~4 GB ~1x realtime ~4%

*WER = Word Error Rate (lower is better)

Choosing a Model

  • tiny.en: Best for low-end hardware, quick notes, or when speed is critical
  • base.en: Best balance for most users (recommended default)
  • small.en: When you need better accuracy but have decent hardware
  • medium.en: For professional transcription on modern hardware
  • large-v3: Maximum accuracy, multilingual support, requires significant RAM

English vs Multilingual

  • .en models: English-only, faster, more accurate for English
  • Non-.en models: Multilingual support, slightly slower

Using Custom Models

Point to any whisper.cpp compatible model:

[whisper]
model = "/path/to/my/custom-model.bin"

Remote Whisper Servers

Voxtype can offload transcription to a remote server running whisper.cpp or any OpenAI-compatible Whisper API. This feature was designed for users who self-host Whisper servers on their own hardware (e.g., a home GPU server), but it can also connect to cloud-based services.

Privacy Notice

When using remote transcription, your audio is transmitted over the network to the configured server. If privacy is a concern, you should carefully consider who operates the remote server and how your data is handled.

  • Self-hosted servers: You maintain full control over your data
  • Cloud services (OpenAI, etc.): Your audio is processed by third parties and may be subject to their privacy policies, data retention, and usage terms

For maximum privacy, use Voxtype's default local transcription mode, which processes all audio entirely on your machine with no network connectivity.

Why Use Remote Transcription?

Remote transcription is valuable when:

  1. Your local hardware is too slow: Larger Whisper models (large-v3, large-v3-turbo) require significant compute. A laptop CPU might take 10-30x the audio duration, while a remote GPU can transcribe in real-time or faster.

  2. You have a home GPU server: Many users have a separate machine with a powerful GPU. Remote transcription lets you leverage that hardware while using Voxtype's superior output method (virtual keyboard instead of clipboard paste).

  3. Teams sharing infrastructure: Organizations with centralized ML inference servers can share a single Whisper deployment.

  4. Thin clients: Use Voxtype on a lightweight laptop while offloading compute to more powerful hardware on your network.

Setting Up a Self-Hosted Whisper Server

The recommended server is whisper.cpp server, which implements the OpenAI Whisper API:

# Clone whisper.cpp
git clone https://github.com/ggerganov/whisper.cpp
cd whisper.cpp

# Build the server
make server

# Download a model
./models/download-ggml-model.sh large-v3-turbo

# Run the server (adjust for your GPU)
./server -m models/ggml-large-v3-turbo.bin --host 0.0.0.0 --port 8080

For GPU acceleration, build with CUDA, Vulkan, or Metal support:

# CUDA (NVIDIA)
make server GGML_CUDA=1

# Vulkan (AMD/NVIDIA/Intel)
make server GGML_VULKAN=1

# Metal (macOS)
make server GGML_METAL=1

Configuring Voxtype for Remote Transcription

Edit your ~/.config/voxtype/config.toml:

[whisper]
# Switch to remote backend
backend = "remote"

# Language setting still applies
language = "en"

# Your whisper.cpp server address
remote_endpoint = "http://192.168.1.100:8080"

# Model name sent to server (whisper.cpp ignores this, but OpenAI requires it)
remote_model = "whisper-1"

# Request timeout in seconds (increase for large files or slow networks)
remote_timeout_secs = 30

# Optional: API key (not needed for whisper.cpp, required for OpenAI)
# remote_api_key = "your-api-key"

Using with Cloud Services (OpenAI, etc.)

While this feature was built for self-hosted servers, it also works with OpenAI's hosted Whisper API and other compatible services:

Use the provider's base URL. Both https://api.openai.com and https://api.openai.com/v1/ work without duplicating /v1. For a router with an /api prefix, both https://openrouter.ai/api and https://openrouter.ai/api/v1 produce the request path /api/v1/audio/transcriptions. Translation uses the matching /audio/translations path instead. Trailing slashes are accepted.

This only selects the base URL for the audio API. It does not add support for providers or models that require chat/completions, nor does it accept a full custom request route such as /inference. If a server returns 404, check that the chosen remote_model and provider support the transcription or translation route, not just an OpenAI-compatible chat API.

[whisper]
backend = "remote"
language = "en"
remote_endpoint = "https://api.openai.com"
remote_model = "whisper-1"
remote_timeout_secs = 30

Set your API key via environment variable (more secure than config file):

export VOXTYPE_WHISPER_API_KEY="sk-..."

Cloud Service Considerations

  • Cost: OpenAI charges per minute of audio (~$0.006/min)
  • Privacy: Your audio is transmitted to and processed by OpenAI's servers
  • Latency: Network round-trip adds delay compared to local processing
  • Reliability: Depends on internet connectivity and service availability

For most users, local transcription with GPU acceleration provides better privacy, lower latency, and no ongoing costs.

Security Recommendations

  1. Use HTTPS for non-local servers: Voxtype warns if you configure an HTTP endpoint for non-localhost addresses, as audio would be transmitted unencrypted.

  2. Prefer environment variables for API keys: Use VOXTYPE_WHISPER_API_KEY instead of putting keys in config files.

  3. Firewall your self-hosted server: If running whisper.cpp server, ensure it's only accessible from trusted networks.

Troubleshooting Remote Transcription

Connection refused:

  • Verify the server is running and listening on the expected port
  • Check firewall rules on both client and server
  • Ensure the endpoint URL includes the protocol (http:// or https://)

Timeout errors:

  • Increase remote_timeout_secs in your config
  • Check network latency between client and server
  • For large audio files, the server may need more time to process

Authentication errors:

  • Verify your API key is correct
  • Check if the key is set via environment variable or config
  • Ensure the Authorization: Bearer header is being sent

Run with verbose logging to diagnose issues:

voxtype -vv

CLI Backend (whisper-cli)

The CLI backend uses whisper-cli from whisper.cpp as a subprocess instead of the built-in whisper-rs FFI bindings. This is a fallback for systems where the FFI bindings crash.

When to Use CLI Backend

Use the CLI backend if:

  1. Voxtype crashes during transcription: Some systems with glibc 2.42+ (e.g., Ubuntu 25.10) experience crashes due to C++ exceptions crossing the FFI boundary. whisper.cpp works fine when run as a standalone binary.

  2. You want to use a custom whisper.cpp build: If you've compiled whisper.cpp with specific optimizations or features not available in the bundled whisper-rs bindings.

  3. Debugging transcription issues: Running whisper-cli as a subprocess makes it easier to isolate and diagnose problems.

Setting Up CLI Backend

  1. Install whisper-cli from whisper.cpp:
git clone https://github.com/ggerganov/whisper.cpp
cd whisper.cpp
cmake -B build
cmake --build build --config Release
sudo cp build/bin/whisper-cli /usr/local/bin/
  1. Configure voxtype to use CLI backend:
[whisper]
backend = "cli"
model = "base.en"
language = "en"

# Optional: specify path if not in PATH
# whisper_cli_path = "/usr/local/bin/whisper-cli"
  1. Restart the voxtype daemon:
systemctl --user restart voxtype

How It Works

When using CLI backend, voxtype:

  1. Writes recorded audio to a temporary WAV file
  2. Runs whisper-cli with the configured model and options
  3. Parses the JSON output from whisper-cli
  4. Cleans up temporary files

This adds minimal overhead compared to the FFI approach since file I/O is fast on modern systems.

Limitations

  • Slightly higher latency than FFI (file I/O overhead)
  • Requires separate whisper-cli installation
  • No GPU isolation mode (whisper-cli manages its own GPU memory)

Eager Processing

Eager processing transcribes audio in chunks while you're still recording. Instead of waiting until you release the hotkey to start transcription, voxtype begins processing audio in the background as you speak. When you stop recording, the final chunk is transcribed and all results are combined.

When to Use Eager Processing

Eager processing is most valuable when:

  1. You have slow transcription hardware: On machines where transcription takes longer than the recording itself, eager processing parallelizes the work to reduce overall wait time.

  2. You make long recordings: For recordings over 15-30 seconds, starting transcription early means less waiting when you're done speaking.

  3. You use large models: Larger Whisper models (medium, large-v3) are slower. Eager processing helps hide some of that latency.

Not recommended when:

  • You use fast models (tiny, base) on modern hardware with GPU acceleration
  • Your recordings are typically short (under 5 seconds)
  • You're on a laptop and want to minimize battery usage

How It Works

With eager processing enabled:

  1. Audio accumulates as you record
  2. Every eager_chunk_secs (default: 5 seconds), a chunk is extracted and sent for transcription
  3. Each chunk ends at the quietest point in the last 1.5 seconds before that length, so the cut lands in a pause between words. Chunks never overlap
  4. A chunk with no speech is skipped, and a recording with no speech produces no output, when voice activity detection is enabled
  5. When you stop recording, the remaining audio is transcribed and all chunk results are joined in order
  6. The final text is output

Configuration

Enable eager processing in ~/.config/voxtype/config.toml:

[whisper]
model = "medium.en"

# Enable eager input processing
eager_processing = true

# Chunk duration (default: 5.0 seconds)
eager_chunk_secs = 5.0

Or via CLI flags:

voxtype --eager-processing --eager-chunk-secs 5.0 daemon

Tuning Chunk Size

The chunk duration affects the trade-off between parallelization and overhead:

Chunk Size Pros Cons
3 seconds More parallelization, faster for slow models More boundary handling, slightly higher CPU
5 seconds Good balance for most cases -
10 seconds Fewer chunks to combine Less parallelization benefit

For testing, try eager_chunk_secs = 3.0 to see more chunk messages in the logs.

Trade-offs

Benefits:

  • Reduced perceived latency on slow hardware
  • Better experience for long recordings
  • Parallelizes transcription work across recording time

Limitations:

  • Boundary handling may occasionally produce artifacts (repeated or dropped words at chunk edges)
  • Slightly higher CPU usage during recording
  • Adds complexity to the transcription pipeline

For most users with modern hardware and GPU acceleration, the default (disabled) provides the cleanest results. Enable eager processing when latency is a problem that outweighs the small risk of boundary artifacts.

Verifying It Works

Run voxtype with verbose logging:

voxtype -vv

Then record for 10+ seconds. You should see log messages like:

[DEBUG] Spawning eager transcription for chunk 0
[DEBUG] Spawning eager transcription for chunk 1
[DEBUG] Chunk 0 completed: "This is the first part of my recording"
[DEBUG] Chunk 1 completed: "the first part of my recording and here is more"
[DEBUG] Combined eager chunks with deduplication

Output Modes

Type Mode (Default)

Simulates keyboard input, typing text directly at your cursor position.

On Wayland: Uses wtype (recommended, best CJK/Unicode support)

# Install wtype
# Fedora: sudo dnf install wtype
# Arch: sudo pacman -S wtype
# Ubuntu: sudo apt install wtype

On X11: Uses ydotool (requires daemon)

# Install and start ydotool
# Fedora: sudo dnf install ydotool
# Arch: sudo pacman -S ydotool
# Ubuntu: sudo apt install ydotool
systemctl --user enable --now ydotool

Pros:

  • Text appears exactly where your cursor is
  • Works in any application
  • Most natural workflow
  • wtype supports CJK characters (Korean, Chinese, Japanese)

Cons:

  • ydotool requires daemon and cannot output CJK characters
  • May be slow in some applications (increase type_delay_ms)

Compositor Compatibility:

wtype does not work on all Wayland compositors. KDE Plasma and GNOME do not support the virtual keyboard protocol that wtype requires. However, eitype uses the libei/EI protocol which is supported by GNOME and KDE.

Desktop wtype eitype dotool ydotool clipboard Notes
Hyprland, Sway, River ✓ * ✓ ✓ wl-copy wtype recommended (best CJK support)
KDE Plasma (Wayland) ✗ ✓ ✓ ✓ wl-copy eitype recommended (native EI protocol)
GNOME (Wayland) ✗ ✓ ✓ ✓ wl-copy eitype recommended (native EI protocol)
X11 (any) ✗ ✗ ✓ ✓ xclip dotool or ydotool; xclip for clipboard

* eitype works on wlroots compositors with libei support.

KDE Plasma and GNOME users: Install eitype (recommended) or dotool for type mode to work.

For eitype (recommended for GNOME/KDE):

cargo install eitype

For dotool (recommended for non-US keyboards):

# Install dotool (check your distribution's package manager)
# User must be in 'input' group for uinput access
sudo usermod -aG input $USER
# Log out and back in for group change to take effect

For ydotool:

systemctl --user enable --now ydotool

See Troubleshooting: wtype not working on KDE/GNOME for details.

Clipboard Mode

Copies transcribed text to the clipboard.

Requires: wl-copy (wl-clipboard package)

[output]
mode = "clipboard"

Pros:

  • Simpler setup
  • Faster for long text
  • No typing delay issues

Cons:

  • Requires manual paste (Ctrl+V)
  • Overwrites clipboard contents

Paste Mode

Copies text to clipboard, then automatically simulates Ctrl+V to paste it. This mode is designed for non-US keyboard layouts where ydotool's direct typing produces wrong characters.

Requires: wl-copy (wl-clipboard) and ydotool

[output]
mode = "paste"

When to use paste mode:

  • You have a non-US keyboard layout (German, French, Dvorak, etc.)
  • ydotool typing produces wrong characters (e.g., z and y swapped on German layout)
  • You're on X11 where wtype isn't available

How it works:

  1. Copies transcribed text to clipboard via wl-copy
  2. Waits briefly for clipboard to settle
  3. Simulates Ctrl+V keypress via ydotool

Pros:

  • Works with any keyboard layout
  • Text appears at cursor position (like type mode)
  • No character translation issues

Cons:

  • Requires both wl-copy and ydotool
  • Won't work in applications where Ctrl+V has a different meaning (e.g., Vim command mode)
  • Overwrites clipboard contents (unless clipboard restoration is enabled)
  • No fallback behavior

Clipboard Restoration: By default, paste mode overwrites your clipboard with the transcribed text. If you want to preserve your clipboard contents, enable clipboard restoration:

[output]
mode = "paste"
restore_clipboard = true

When enabled, voxtype saves your clipboard content before pasting, then restores it after a brief delay. This works with both text and binary clipboard content (images, files) on Wayland via wl-paste, and with text content on X11 via xclip. You can also enable it from the command line with --restore-clipboard or the VOXTYPE_RESTORE_CLIPBOARD=true environment variable.

Fallback Behavior

Voxtype uses a fallback chain: wtype → eitype → dotool → ydotool → clipboard (wl-copy) → xclip

[output]
mode = "type"
fallback_to_clipboard = true  # Falls back to clipboard if typing fails

On Wayland, wtype is tried first (best CJK support), then eitype (libei protocol, works on GNOME/KDE), then dotool (supports keyboard layouts), then ydotool, then wl-copy (Wayland clipboard). On X11, xclip is available as an additional clipboard fallback.

Custom Driver Order

You can customize the fallback order or limit which drivers are used:

[output]
mode = "type"
# Prefer ydotool over wtype, skip dotool entirely
driver_order = ["ydotool", "wtype", "clipboard"]

Available drivers: wtype, eitype, dotool, ydotool, clipboard (wl-copy), xclip (X11)

Examples:

# X11-only setup (no Wayland)
driver_order = ["ydotool", "xclip"]

# Force ydotool only (no fallback)
driver_order = ["ydotool"]

# GNOME/KDE Wayland (prefer eitype, wtype doesn't work)
driver_order = ["eitype", "dotool", "clipboard"]

CLI override:

# Override driver order for this session
voxtype --driver=ydotool,clipboard daemon

When driver_order is set, fallback_to_clipboard is ignored—the driver list explicitly defines what's tried and in what order.

Typing Options

Additional options for controlling how text is typed:

Auto-submit (send Enter after typing):

[output]
auto_submit = true  # Press Enter after transcription

Useful for chat applications or command lines where you want to submit immediately after dictating.

Smart auto-submit (say "submit" to press Enter):

[text]
smart_auto_submit = true

With this enabled, ending your dictation with the word "submit" strips that word from the output and presses Enter. Unlike auto_submit (which always presses Enter), this only fires when you choose to say it.

# You say:   "reply to Alice and cc Bob submit"
# Voxtype types: "reply to Alice and cc Bob"  [then presses Enter]

Per-recording override (useful with compositor keybindings):

voxtype record start --smart-auto-submit   # force on for this recording
voxtype record start --no-smart-auto-submit  # force off for this recording

Or via environment variable for the whole session:

VOXTYPE_SMART_AUTO_SUBMIT=true voxtype

Filter filler words ("uh", "um", ...):

Voxtype filters single-syllable filler words by default. To turn it off:

[text]
filter_filler_words = false

When enabled (the default), Voxtype strips common filler words from each transcription before output and cleans up the surrounding punctuation. Word boundaries are respected, so "umbrella" and "summer" are untouched.

# You say:    "Well, um, I think we should ship it"
# Voxtype types: "Well, I think we should ship it"

The default list contains single-syllable disfluencies: uh, um, er, ah, eh, hmm, hm, mm, mhm. Override it to add your own words:

[text]
filter_filler_words = true
filler_words = ["uh", "um", "er", "like", "you know"]

CLI flag (overrides config for the running daemon):

voxtype --filter-fillers       # force on
voxtype --no-filter-fillers    # force off

Or via environment variable:

VOXTYPE_FILTER_FILLERS=true voxtype

The filter runs before replacements and the [post_process] LLM hook, so any custom replacements still apply on top of filtered text.

Shift+Enter for newlines:

[output]
shift_enter_newlines = true  # Use Shift+Enter instead of Enter for line breaks

Many chat apps (Slack, Discord, Teams) and AI assistants (Cursor) use Enter to send and Shift+Enter for line breaks. Enable this when dictating multi-line messages to prevent premature submission.

Shift prefix for CJK character drop:

[output]
wtype_shift_prefix = true  # Prefix wtype output with Shift press/release

Some apps (notably Discord) drop the first CJK character when wtype types text. This option prefixes each wtype invocation with a Shift key press and release, which prevents the character from being swallowed. Only affects the wtype driver.

Combining shift_enter_newlines and auto_submit:

[output]
shift_enter_newlines = true  # Line breaks as Shift+Enter
auto_submit = true           # Final Enter to submit

This lets you dictate multi-line messages that are automatically submitted when complete.

Append text after each transcription:

[output]
append_text = " "  # Add a space after each transcription

When dictating a paragraph one sentence at a time, each transcription ends without a trailing space. This causes sentences to run together. Setting append_text = " " adds a space after each transcription so sentences are properly separated.

This works with all output modes (type, paste, clipboard). The appended text is inserted before auto_submit sends Enter, if enabled.


Output Hooks (Compositor Integration)

Voxtype can run commands before and after typing output. This is primarily useful for compositor integration—for example, switching to a Hyprland submap that blocks modifier keys during typing.

Why Output Hooks?

When using compositor keybindings with modifiers (e.g., SUPER+CTRL+X), if you release the keys slowly, held modifiers can interfere with typed output. For example, if SUPER is still held when voxtype types "hello", you might trigger SUPER+h, SUPER+e, etc. instead of inserting text.

Output hooks solve this by letting you block modifier keys at the compositor level during typing.

Automatic Setup (Recommended)

If you're experiencing modifier key interference (typed text triggering shortcuts instead of inserting characters), use the compositor setup command to automatically install a fix:

# For Hyprland
voxtype setup compositor hyprland
hyprctl reload
systemctl --user restart voxtype

# For Sway
voxtype setup compositor sway
swaymsg reload
systemctl --user restart voxtype

# For River
voxtype setup compositor river
# Restart River or source the new config
systemctl --user restart voxtype

Note: This command does NOT set up keybindings for voxtype. It only installs a workaround that blocks modifier keys during text output. See Compositor Keybindings to set up your push-to-talk hotkey.

This command:

  1. Writes a modifier-blocking submap/mode to ~/.config/hypr/conf.d/voxtype-submap.conf (or sway/conf.d/voxtype-mode.conf, or river/conf.d/voxtype-mode.sh)
  2. Adds pre/post output hooks to your voxtype config
  3. Checks that your compositor sources the conf.d directory

If voxtype crashes while typing, press F12 to escape the submap.

Use --status to check installation status, --uninstall to remove, or --show to view the configuration without installing.

Manual Configuration

If you prefer manual setup, add these to your voxtype config:

[output]
# Command to run when recording starts
pre_recording_command = "hyprctl dispatch submap voxtype_recording"

# Command to run BEFORE typing (e.g., switch to modifier-blocking submap)
pre_output_command = "hyprctl dispatch submap voxtype_suppress"

# Command to run AFTER typing (e.g., reset to default submap)
post_output_command = "hyprctl dispatch submap reset"

See voxtype setup compositor hyprland --show for the full submap configuration.

Other Uses

Output hooks are generic shell commands—you can use them for any compositor or custom workflow:

  • Sway: Use swaymsg commands
  • River: Use riverctl commands
  • Notifications: pre_output_command = "notify-send 'Typing...'"
  • Logging: post_output_command = "echo $(date) >> ~/voxtype.log"

Dictation Cleanup

Speech isn't writing. You restart sentences, stutter, say "scratch that", and pause in places a period doesn't belong. Voxtype can clean that up locally with deterministic rules, plus an optional token-classification model for engines that emit lowercase text without punctuation. No LLM is involved.

New configurations created by Voxtype enable filler-word removal, sentence-break repair, and number formatting. They leave restart collapsing off because a false positive can delete words you actually said:

[text]
filter_filler_words = true     # conservative single-syllable fillers
punctuation_casing = false     # opt in for plain CTC engines after model setup
collapse_restarts = false      # opt in to restarts, stutters, "scratch that"
repair_sentence_breaks = true  # premature periods, lost question marks
format_numbers = true          # "three thirty p m" -> "3:30 p.m."

These values are written only when Voxtype creates a new config. Upgrades do not add them to an existing config or change compatibility defaults for omitted keys.

Each one is also a voxtype config set key, so you can try one at a time:

voxtype config set text.collapse_restarts true

The punctuation/casing stage is only used with Paraformer, Dolphin, Omnilingual, Parakeet CTC, and SenseVoice when its own ITN is disabled. It never rewrites output from engines that already provide punctuation and casing. Install its Apache-2.0 multilingual model before enabling it:

voxtype setup punctuation
voxtype config set text.punctuation_casing true

The download is about 1.1 GB. It supports 47 languages; see the configuration reference for the list. If the model cannot load or run, Voxtype warns and keeps the original transcript.

Optional trained English cleanup

In voxtype configure, select Text Cleanup. The deterministic switches are spoken punctuation, filler removal, restart collapse, sentence-break repair and number formatting. Restart collapse remains off by default. LARD disfluency cleanup is a separate opt-in switch; LARD model path is an independent inline field. Enter or Space toggles a switch; Enter/i edits the path, Enter commits, Esc cancels, and an empty path restores the default location. s saves and r reverts. Arrow keys or j/k navigate; the form scrolls to keep the selected row visible, including replacement edit/add/delete rows. Saving unchanged cleanup options does not add missing keys or copy CLI/environment overrides into the file. Existing model selections, sibling options and TOML comments are preserved. The TUI's normal exit behavior can restart the daemon after saved configuration changes; changing a model path does not itself install or validate a model. Learned punctuation/casing is separate from deterministic cleanup and is disabled in the TUI if this client lacks the punctuation-casing build feature.

In the graphical Voxtype app, the Text Cleanup section separates Clean up text from LARD disfluency cleanup. Clean up text contains independent deterministic stage switches. There is no master switch that resets your individual choices. The LARD switch only changes text.lard_disfluency; it does not change those rules, enable restart collapse, install a model, or restart the daemon. The separate model license is linked there and opens only when clicked. Controls not advertised by your executable's schema are not shown, so an older binary may not offer LARD yet. Punctuation/casing restoration and smart auto-submit remain under Other text options, not the deterministic cleanup group.

Install the separate model with voxtype setup lard --source /path/to/lard-disfluency-v1.vxdf, then run voxtype config set text.lard_disfluency true and restart the daemon. Check it with voxtype setup lard --status. Use an explicit English engine language; auto-detected and non-English languages skip this stage.

This opt-in stage can remove a discarded phrase such as "I need a flight no" from "I need a flight no I need a hotel". It does not generate replacement words. The model is CC BY-SA 4.0 and has its own model card under assets/models/. Publication is pending approval, so there is no implicit model download. Missing or invalid weights leave the remaining cleanup available. See LARD configuration for CLI/environment overrides and finalized-streaming behavior.

What each stage does

Restarts and retractions (collapse_restarts). When you interrupt yourself and start over, the engine usually puts a period where you paused:

so the independent tool. The independent booking tool costs $25 a month
  -> so the independent booking tool costs $25 a month

Stutters ("the the the") collapse, and an explicit retraction drops the clause before it:

I think we should ship it on Tuesday. Scratch that. We should ship it on Wednesday.
  -> We should ship it on Wednesday.

The recognised retractions are "scratch that", "strike that", "I'm sorry", "I mean", "I meant to say" and "or rather".

Sentence breaks (repair_sentence_breaks). Some engines, mostly Whisper, sometimes end a sentence and then carry on in lower case. A period followed by a lower-case word is the engine contradicting itself, so voxtype rejoins the fragment. A sentence that opens with a question word and inverts its subject gets its question mark back:

what are the other phases? we have here.
  -> what are the other phases we have here?

Parakeet and Cohere capitalize after every mark they write, and they only write one where your voice ended a sentence. A pause on its own does not do it: Parakeet keeps a sentence together across a pause of several seconds. If you drop your voice as if you were finishing a sentence, those engines write a full stop, and this setting leaves it alone.

Numbers, times and money (format_numbers). Dictated quantities become written ones:

it will cost twenty five dollars a month  ->  it will cost $25 a month
meet me at three thirty p m               ->  meet me at 3:30 p.m.

It only touches sentences that are about a quantity, so "one of the things we need" stays prose. Engines that already write digits, like Parakeet, leave it less to do.

Why restart collapsing stays opt-in

A false-positive restart deletes words you said. That's worse than leaving a disfluency in place, so collapse_restarts remains a choice even for new installations. Sentence repair and number formatting use narrower guards: ordinary sentence boundaries, prose-heavy number words, abbreviations, decimals, and lower-case proper nouns are left alone.

Order and your own rules

Cleanup runs in this order: filler words, spoken punctuation, restarts, punctuation/casing when applicable, sentence breaks, numbers, then your replacements. Your own rules always get the last word. [output.post_process] runs after all of it.

Seeing what changed

When cleanup or post-processing changed a transcription, the notification shows the edits, with deletions struck through, and an "✎ N edits" title. If you'd rather see the plain text, for example because an LLM post_process rewrites whole sentences and the diff gets long:

[output.notification]
show_edits = false

Every release build includes format_numbers. If you build voxtype yourself with --no-default-features, add --features itn back, or voxtype logs a warning at startup and leaves numbers as spoken.

See CONFIGURATION.md for every option.


Post-Processing with LLMs

Voxtype can pipe transcriptions through an external command before output, enabling integration with local LLMs for text cleanup, grammar correction, and filler word removal.

When to Use Post-Processing

Post-processing is most valuable for specific workflows:

  • Translation: Speak in one language, output in another
  • Domain vocabulary: Medical, legal, or technical term correction
  • Reformatting: Convert casual dictation to formal prose
  • Stubborn filler words: Remove "um", "uh", "like" that Whisper occasionally keeps
  • Custom workflows: Multi-output scenarios (e.g., translate to 5 languages, save to file, inject only one at cursor)

Important: For most users, Whisper large-v3-turbo with Voxtype's built-in spoken_punctuation feature is sufficient. Post-processing adds 2-5 seconds of latency and provides marginal improvement for general transcription.

Limitations:

  • LLMs interpret text literally—saying "slash" won't produce "/" (use spoken_punctuation instead)
  • Use instruct/chat models, not reasoning models (they output <think> blocks)
  • Avoid emojis in LLM output—ydotool cannot type them

Basic Configuration

Add an [output.post_process] section to your config:

[output.post_process]
# Command receives text on stdin, outputs cleaned text on stdout
command = "ollama run llama3.2:1b 'Clean up this dictation. Fix grammar, remove filler words. Output only the cleaned text:'"
timeout_ms = 30000  # 30 second timeout (generous for LLM)

To keep an LLM from replacing the whole transcript, enable the edit-list contract and ask your script to return only JSON edits:

[output.post_process]
command = "~/.config/voxtype/llm-edit-list.sh"
edit_list = true

The command must return an array like this:

[
  {"find":"It are ready","replace":"It is ready","reason":"grammar"}
]

Voxtype applies only exact, unambiguous, non-overlapping edits to the original transcription. If the model adds a preamble or code fence, returns invalid JSON, or names text that is missing or repeated, Voxtype ignores the response and uses the original transcription. Existing post-processing commands continue to return plain text unless edit_list is enabled.

Example Commands

Ollama (recommended for simplicity):

[output.post_process]
command = "ollama run llama3.2:1b 'Clean up this transcription. Fix grammar and remove filler words. Output only the cleaned text:'"
timeout_ms = 30000

Simple sed-based cleanup (fast, no LLM):

[output.post_process]
command = "sed 's/\\bum\\b//g; s/\\buh\\b//g; s/\\blike\\b//g'"
timeout_ms = 5000

Custom script:

[output.post_process]
command = "~/.config/voxtype/cleanup.sh"
timeout_ms = 45000

Swedish Chef mode (for fun):

[output.post_process]
command = "/path/to/swedish-chef.sh"
timeout_ms = 1000

See examples/swedish-chef.sh for a script that transforms your dictation into Swedish Chef speak. Bork bork bork!

LM Studio Script Example

For users running LM Studio locally:

#!/bin/bash
# ~/.config/voxtype/lm-studio-cleanup.sh

INPUT=$(cat)

curl -s http://localhost:1234/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d "{
    \"messages\": [{
      \"role\": \"system\",
      \"content\": \"Clean up this dictated text. Fix spelling, remove filler words (um, uh), add proper punctuation. Output ONLY the cleaned text, nothing else.\"
    },{
      \"role\": \"user\",
      \"content\": \"$INPUT\"
    }],
    \"temperature\": 0.1
  }" | jq -r '.choices[0].message.content'

Make it executable: chmod +x ~/.config/voxtype/lm-studio-cleanup.sh

Timeout Recommendations

Use Case Timeout
Simple shell commands (sed, tr) 5000ms (5 seconds)
Local LLMs (Ollama, llama.cpp) 30000-60000ms (30-60 seconds)
Remote APIs 30000ms or higher

Context from Previous Dictation

When post-processing is enabled, voxtype automatically passes the previous dictation's text to your script via the VOXTYPE_CONTEXT environment variable if the previous dictation was within 60 seconds. This helps LLMs maintain continuity when you dictate in quick succession.

Your script receives:

  • Stdin: Current text only (existing scripts work unchanged)
  • $VOXTYPE_CONTEXT: Previous dictation text (optional, read it if you want context)

Example usage in a cleanup script:

PROMPT="Clean up this dictation:"
if [[ -n "${VOXTYPE_CONTEXT:-}" ]]; then
  printf -v PROMPT '%s\n\nPrevious dictation for context (do NOT include in output):\n%s\n\nCurrent text to clean up:' "$PROMPT" "$VOXTYPE_CONTEXT"
fi

In meeting mode, context is tracked separately for microphone and loopback audio to prevent speaker bleed.

See the example scripts in examples/ for full implementations.

Error Handling

Post-processing is designed to be fault-tolerant:

  • Command not found: Falls back to original text
  • Timeout: Falls back to original text
  • Non-zero exit: Falls back to original text
  • Empty output: Falls back to original text

This ensures voice-to-text always produces output, even when the LLM is slow or unavailable.

Debugging

Run Voxtype with verbose logging to see post-processing in action:

voxtype -vv

You'll see log messages like:

[DEBUG] After text processing: "um so I think we should um fix the bug"
[DEBUG] Post-processed (47 -> 32 chars)
[DEBUG] After post-processing: "I think we should fix the bug"

Profiles

Profiles let you define named configurations for different contexts, each with its own vocabulary, post-processing command, and output mode. Instead of changing your config file when switching between tasks, use profiles to switch behavior on the fly.

When to Use Profiles

Profiles are useful when you need different post-processing for different contexts:

  • Slack/Teams: Casual tone, emoji-friendly formatting
  • Code comments: Technical terminology, specific formatting
  • Email: Professional tone, proper salutations
  • Notes: Bullet points, timestamps

Defining Profiles

Add profile sections to your ~/.config/voxtype/config.toml:

[profiles.slack]
post_process_command = "ollama run llama3.2:1b 'Format this for Slack. Keep it casual and concise:'"

[profiles.code]
post_process_command = "ollama run llama3.2:1b 'Format as a code comment. Be technical and precise:'"
output_mode = "clipboard"  # Override output mode for this profile

[profiles.code.vocabulary]
terms = ["Voxtype", "Hyprland", "PipeWire", "Tailscale"]

[profiles.email]
post_process_command = "ollama run llama3.2:1b 'Format as professional email text:'"
post_process_timeout_ms = 45000  # Allow more time for longer responses

Using Profiles

Specify a profile when starting a recording:

# Use the slack profile for this recording
voxtype record start --profile slack
voxtype record stop

# Or with toggle mode
voxtype record toggle --profile code

With compositor keybindings (Hyprland example):

# Different keybindings for different profiles
bind = SUPER, V, exec, voxtype record start
bindr = SUPER, V, exec, voxtype record stop

bind = SUPER SHIFT, V, exec, voxtype record start --profile slack
bindr = SUPER SHIFT, V, exec, voxtype record stop

bind = SUPER CTRL, V, exec, voxtype record start --profile code
bindr = SUPER CTRL, V, exec, voxtype record stop

Profile Options

Each profile can override these settings:

Option Description
vocabulary.terms Canonical spellings used by conservative vocabulary correction
vocabulary.terms_file JSON array containing additional vocabulary terms
post_process_command Shell command for text processing (overrides [output.post_process].command)
post_process_timeout_ms Timeout in milliseconds (overrides [output.post_process].timeout_ms)
output_mode Output mode: type, clipboard, or paste (overrides [output].mode)

Profile Behavior

  • If a profile doesn't specify an option, the default from your config is used
  • Unknown profile names log a warning and fall back to default behavior
  • Profiles work with all recording modes (evdev hotkey, compositor keybindings)
  • Profile terms bias Whisper-compatible and Soniox backends without replacing an explicit backend prompt or Soniox terms list
  • Vocabulary correction runs when batch or streaming text becomes final; provisional streaming text is left untouched
  • [text.replacements] runs after vocabulary correction and can override it

Example: Context-Aware Dictation

# Default post-processing for general use
[output.post_process]
command = "ollama run llama3.2:1b 'Clean up grammar and punctuation:'"
timeout_ms = 30000

# Slack: casual, concise
[profiles.slack]
post_process_command = "ollama run llama3.2:1b 'Rewrite for Slack. Casual tone, keep it brief:'"

# Code: technical, clipboard output (for pasting into IDE)
[profiles.code]
post_process_command = "ollama run llama3.2:1b 'Format as a code comment in the style of the surrounding code:'"
output_mode = "clipboard"

# Meeting notes: bullet points
[profiles.notes]
post_process_command = "ollama run llama3.2:1b 'Convert to bullet points. Be concise:'"

Voice Activity Detection

Voice Activity Detection (VAD) filters silence-only recordings before transcription. This prevents Whisper from hallucinating text when processing silent audio (a known issue where Whisper may output phrases like "Thank you for watching" when given silence).

Voxtype enables VAD with the model-free energy backend in newly generated configurations. Existing configurations that omit [vad] stay disabled.

Enabling VAD

Via config file:

[vad]
enabled = true

Via command line (single session):

voxtype --vad daemon

Configuration Options

Option New config Omitted-key compatibility default Description
enabled true false Enable VAD filtering
backend energy auto Detection algorithm: auto, energy, whisper
threshold 0.5 0.5 Sensitivity (0.0 = very sensitive, 1.0 = aggressive)
min_speech_duration_ms 100 100 Minimum speech required (ms)

VAD Backends

  • auto (compatibility default when omitted): Selects a backend for your transcription engine
    • Whisper engine → Whisper VAD (requires model download)
    • Parakeet engine → Energy VAD (no model needed)
  • energy: Fast RMS-based detection. Works with any engine, no model download required.
  • whisper: Silero VAD via whisper-rs. More accurate but requires downloading the model:
    voxtype setup vad

When to Use VAD

VAD is helpful if you:

  • Often accidentally trigger recording without speaking
  • Experience Whisper hallucinations on silent recordings
  • Want faster feedback when recordings contain no speech

How It Works

Recordings where speech falls below the detection threshold are rejected before transcription, and a "cancelled" feedback sound is played instead of transcribing silence.


Meeting Mode

Meeting mode provides continuous transcription for meetings, with chunked processing, speaker diarization, and export capabilities. Unlike push-to-talk (which transcribes short clips), meeting mode runs continuously and processes audio in chunks for the duration of a meeting.

Commands

# Start a new meeting
voxtype meeting start
voxtype meeting start --title "Weekly standup"

# Control a running meeting
voxtype meeting pause
voxtype meeting resume
voxtype meeting stop

# View meeting info
voxtype meeting status          # Current meeting status
voxtype meeting list            # List past meetings
voxtype meeting list --limit 5  # Show last 5 meetings
voxtype meeting show latest     # Show details for most recent meeting
voxtype meeting show <id>       # Show details for a specific meeting

# Export transcripts
voxtype meeting export latest                          # Markdown to stdout
voxtype meeting export latest --format text            # Plain text
voxtype meeting export latest --format json            # JSON
voxtype meeting export <id> --output transcript.md     # Write to file
voxtype meeting export <id> --timestamps --speakers    # Include timestamps and speaker labels
voxtype meeting export <id> --metadata                 # Include metadata header

# Speaker labeling (replace auto-generated IDs with names)
voxtype meeting label latest SPEAKER_00 "Alice"
voxtype meeting label <id> 0 "Bob"

# AI summarization (requires Ollama or remote API)
voxtype meeting summarize latest
voxtype meeting summarize <id> --format json --output summary.json

# Delete a meeting
voxtype meeting delete <id>
voxtype meeting delete <id> --force   # Skip confirmation

Configuration

Meeting mode is disabled by default. Enable it in ~/.config/voxtype/config.toml:

[meeting]
enabled = true
chunk_duration_secs = 30         # Audio chunk size for processing
storage_path = "auto"            # Default: ~/.local/share/voxtype/meetings/
retain_audio = false             # Keep raw audio files after transcription
max_duration_mins = 180          # Maximum meeting length (0 = unlimited)

[meeting.audio]
mic_device = "default"           # Microphone (uses audio.device if not set)
loopback_device = "auto"         # Capture remote participants: "auto", "disabled", or device name
echo_cancel = "auto"             # GTCRN neural enhancement + transcript dedup
vad_threshold = 0.01             # Lower to 0.001 for quiet mics; 0.0 disables meeting VAD

[meeting.diarization]
enabled = true
backend = "simple"               # "simple", "ml", or "remote"
max_speakers = 10

[meeting.summary]
backend = "disabled"             # "local" (Ollama), "remote", or "disabled"
ollama_url = "http://localhost:11434"
ollama_model = "llama3.2"
timeout_secs = 120

Speaker Labeling

When diarization is enabled, speakers are assigned auto-generated IDs like SPEAKER_00, SPEAKER_01, etc. Use the label command to assign readable names:

voxtype meeting label latest SPEAKER_00 "Alice"
voxtype meeting label latest 1 "Bob"  # Short form: just the number

Labels persist in the meeting data and appear in exports.

AI Summarization

Meeting summarization uses Ollama (local) or a remote API to generate a summary with key points, action items, and decisions.

# Requires [meeting.summary] backend set to "local" or "remote"
voxtype meeting summarize latest
voxtype meeting summarize latest --format markdown --output summary.md

Echo Cancellation

When loopback_device is enabled, meeting mode captures both your microphone and system audio (remote participants) on separate channels. Without echo cancellation, the remote participants' audio bleeds into your microphone recording and gets transcribed as your speech.

Voxtype uses GTCRN, a lightweight neural speech enhancement model, to clean the mic signal before transcription. The model removes background noise and speaker bleed-through while preserving your voice. A second pass at the transcript level strips any residual echoed phrases.

The GTCRN model (~523 KB) is downloaded automatically the first time you run voxtype meeting start. To disable echo cancellation (e.g., if you have PipeWire's echo-cancel module configured):

[meeting.audio]
echo_cancel = "disabled"

Tips & Best Practices

For Best Transcription Quality

  1. Speak clearly: Enunciate words, don't mumble
  2. Maintain consistent volume: Don't trail off at the end
  3. Minimize background noise: Close windows, turn off fans
  4. Keep microphone distance consistent: 6-12 inches is ideal
  5. Use a quality microphone: USB headsets work well

For Best Performance

  1. Use an English model (.en) if you only need English
  2. Start with base.en: Only upgrade if you need better accuracy
  3. Set appropriate thread count: Let it auto-detect or match your CPU cores
  4. Use an SSD: Model loading is faster from SSD

For Workflow Efficiency

  1. Use a dedicated hotkey: ScrollLock or F13+ keys avoid conflicts
  2. Keep recordings short: Phrase or sentence at a time
  3. Enable notifications: Visual feedback when transcription completes
  4. Run as systemd service: Starts automatically on login

Handling Punctuation

Whisper attempts to add punctuation automatically. For explicit punctuation, say:

  • "period" or "full stop"
  • "comma"
  • "question mark"
  • "exclamation point"
  • "new line" or "new paragraph"

Keyboard Shortcuts

While Voxtype is running:

Action Default Key
Start recording Hold ScrollLock
Stop recording Release ScrollLock
Stop daemon Ctrl+C (in terminal)

Logging and Debugging

Verbosity Levels

voxtype           # Normal output
voxtype -v        # Verbose (shows transcription progress)
voxtype -vv       # Debug (shows all internal operations)
voxtype -q        # Quiet (errors only)

Viewing Service Logs

journalctl --user -u voxtype -f

Environment Variables

# Set log level via environment
RUST_LOG=debug voxtype

# Available levels: error, warn, info, debug, trace
RUST_LOG=voxtype=debug voxtype

Integration Examples

With Systemd (Auto-start)

systemctl --user enable --now voxtype

With Sway/i3

Add to your config:

exec --no-startup-id voxtype

With Hyprland

Add to hyprland.conf:

exec-once = voxtype

With River

Add to ~/.config/river/init:

riverctl spawn voxtype

With GNOME

Enable the systemd service, or add Voxtype to Startup Applications.

With Waybar (Status Indicator)

Voxtype can display a status indicator in Waybar showing when push-to-talk is active.

For a complete step-by-step guide, see WAYBAR.md.

Quick setup:

  1. Ensure state file is enabled in ~/.config/voxtype/config.toml (enabled by default):

    state_file = "auto"
  2. Add the Waybar module to your config:

    "custom/voxtype": {
        "exec": "voxtype status --follow --format json",
        "return-type": "json",
        "format": "{}",
        "tooltip": true
    }
  3. Add "custom/voxtype" to your modules list and restart Waybar.

The module displays (default emoji theme):

  • 🎙️ when idle (ready to record)
  • 🎤 when recording (hotkey held)
  • ⏳ when transcribing

Customizing icons: Choose from 10 built-in themes or define your own:

[status]
icon_theme = "nerd-font"  # or: material, phosphor, codicons, minimal, dots, arrows, text

Available themes include Nerd Font, Material Design Icons, Phosphor, VS Code Codicons, and several universal themes that don't require special fonts (minimal, dots, arrows, text).

Extended status info: Use --extended to include model, device, and backend in the JSON output and tooltip. The backend field describes the running daemon's binary, not the package-selected one, so it stays accurate when the daemon was started before a variant switch or from a systemd ExecStart= override. A daemon running a binary that is not an installed variant reports custom:

"custom/voxtype": {
    "exec": "voxtype status --follow --format json --extended",
    "return-type": "json",
    "format": "{}",
    "tooltip": true
}

See WAYBAR.md for complete icon customization options, styling, and troubleshooting.

With Polybar

Similar to Waybar, ensure state_file = "auto" is set (the default) and create a custom script:

[module/voxtype]
type = custom/script
exec = voxtype status --format text
interval = 1
format = <label>
label = %output%

With DankMaterialShell (KDE Plasma)

Voxtype includes a QML plugin for DankMaterialShell, an alternative KDE Plasma shell. The widget displays voxtype status with animated icons and supports click-to-toggle recording.

Automatic installation:

voxtype setup dms --install

This creates a VoxtypeWidget plugin in ~/.config/DankMaterialShell/plugins/.

After installation:

  1. Open DankMaterialShell settings
  2. Navigate to the Plugins section
  3. Enable the VoxtypeWidget plugin
  4. Add the Voxtype widget to your panel

Widget features:

  • Polls status every 500ms
  • Uses Nerd Font icons with color-coded states:
    • Green microphone: idle (ready)
    • Red pulsing dot: recording
    • Yellow spinner: transcribing
    • Gray microphone-slash: stopped/not running
  • Click to toggle recording
  • Hover for status tooltip

Requirements:

  • DankMaterialShell installed
  • A Nerd Font for icons
  • state_file = "auto" in voxtype config (the default)

Other commands:

voxtype setup dms              # Show setup instructions
voxtype setup dms --uninstall  # Remove the widget
voxtype setup dms --qml        # Output raw QML (for scripting)

Feedback

We want to hear from you! Voxtype is a young project and your feedback helps make it better.

  • Something not working? If Voxtype doesn't install cleanly, doesn't work on your system, or is buggy in any way, please open an issue. I actively monitor and respond to issues.
  • Like Voxtype? I don't accept donations, but if you find it useful, a star on the GitHub repository would mean a lot!

Next Steps

Generic GGUF selection in the graphical application

The engine picker browses catalogs without saving. Download requires an explicit click and only adds weights. GGUF Use validates the installed checkpoint and worker, then saves engine, exact model and architecture in one transaction. A compatible saved language hint and backend are preserved. If a checkpoint needs a different hint, the card discloses the replacement before Use. Failed Use leaves configuration unchanged. Restart separately when ready to apply it.

Other engine catalogs remain browsable, but this local hotfix only adds cross-engine activation for generic GGUF. Existing configured-engine Use and terminal configuration retain their RC2 behavior.