I can remember that the terminal on my left is building C-Kernel-Engine and the one on my right is where I’m writing. What gets me is coming back ten minutes later. Did the build finish? Which window did I put that screenshot in? And why has Linux picked the laptop microphone again?

Those little interruptions are why I’ve been putting together Linux Utilities. I think of this as version 0.0.0.1. It’s a small control center for people like me who spend most of the day at a command line and would like to do a little more of that work by ear.

Watch one trip through the desktop

In 37 seconds I follow one question from my desk to the agent and one spoken answer back. The arrows mark the screenshot, microphone meter and playback controls. Open the captioned recording or view the playback keys.

I put the finished Short back through Whisper. It reached the last sentence across two windows, but wrote “this pain” when Kokoro said “this pane.” My Git vocabulary rules don’t catch that one. It’s the kind of thing I want to see before I send a question to the agent.

One picture, one question, one reply

Say I’m writing about a control in the app and want a second pair of eyes on it. I take a screenshot, go to my project terminal, and type i. That moves the capture into the project’s Screenshots/ folder. If I need to point at something, I open Screenshot Studio, draw an arrow, and save a copy. I select that copy and press I. Now I can paste its path into the agent’s pane. We’re looking at the same picture.

Screenshot Studio with an arrow pointing to the Night Light temperature slider
I can point to one control, save the marked-up copy, and give the agent that file.

The less glamorous controls earn their place here, too. One mouse button opens the app. Night Light lets me warm the screen. The Audio tab lets me pick the external mic, recover my Bluetooth headset, or switch it back to music after a call. A voice workflow is only as convenient as getting the right microphone to listen.

What I see when I press the Windows key and V

I start in the Terminator pane where I want the words to land. On my keyboard the Windows key is called Super. Super + V opens a recording pane underneath. I check the destination, press Enter, and talk. The level meter is the first thing I look at if the headset has been disconnected. When I’m done, Enter stops the recording. I get to read what Whisper heard before sending it. For something longer, I can save the take and transcript in ~/VoiceNotes/.

Two Terminator panes, with a running microphone level meter and the Enter-to-stop prompt in the lower pane.
The real recorder during a demo. I fed a recorded sentence into its input so you can see the meter while the project shell stays visible above.

How do my words land in the right shell?

Two things happen on my laptop. The recorder remembers which pane I came from, and it saves the microphone audio as recording.wav. CKE runs Whisper locally against that file. The decoder report keeps the original wording. A small text pass handles familiar spellings like “git hub” → “GitHub”, then shows me the text I can send. If I want to compare what the model actually heard, I can run the same take with --verbatim.

Super+V remembers the pane. PipeWire records a WAV, local Whisper decodes it, I review the words, and the sender verifies the pane and types the prompt.
Explore the microphone-to-pane diagram. Follow the top row to Whisper, then the bottom row back to the shell. Select any block to see what it saves or checks.

The screenshot shortcut copies a path to the clipboard. Voice delivery works a little differently. Terminator identifies a pane by its UUID. Once I confirm the transcript, Linux Utilities checks the focused window and pane, types the text with xdotool, and checks focus again before sending Return if I chose to submit. That matters when two splits both have “bash” in the title. Read the pane checks.

What comes back when I ask for an update?

To hear back, I focus a supported local agent in Terminator and press Super + Shift + V. The agent gets a request ID and a path for its short written answer. The inbox matches the reply to that ID and hands the text to CKE’s Kokoro worker. Ctrl + Shift + V is the ordinary paste shortcut. That one-key difference is easy to miss.

Terminal speech player showing a paused waveform, elapsed time and 1.25× playback speed.
Once the reply is a WAV, Space pauses it, the left and right arrows move five seconds, and [ and ] change the speed. I can replay the part I missed without asking the agent again.
An agent saves an ID-matched reply. The laptop sends text over SSH to Kokoro, checks returned WAV chunks, and plays the local audio file.
Explore the spoken-reply diagram. Select the speech worker to see what leaves the laptop, or the local reader to see what comes back.

Say the agent writes “The build finished.” The inbox matches that answer to my request, then sends the text over SSH to the configured host. On that host, the client calls /audio/speech on loopback. The response arrives in chunks. The reader checks their order, hashes and audio format and assembles a local 24 kHz WAV. Now the left arrow can rewind “finished” without asking the agent or the worker to do anything again. Read the speech client.

Try it on your own Linux machine

I’d try one familiar sentence in each direction before setting up the keyboard. My desktop uses X11, AwesomeWM, Terminator with D-Bus enabled, PipeWire and the system Python with D-Bus support. The terminal player uses mpv. The Linux Utilities repository is the starting point for both shortcuts. A fresh clone of main includes the recorder, long-dictation fix, streamed speech, and waveform player. I tested them together at revision 8252541. If you already have a checkout, keep your changes and use a separate checkout for this test. The CKE build guide covers the Linux prerequisites.

Bash · Install the two projects
mkdir -p "$HOME/Workspace"
cd "$HOME/Workspace"
git clone https://github.com/antshiv/LinuxUtilities.git
git clone --recurse-submodules https://github.com/C-Kernel-Engine/C-Kernel-Engine.git
cd C-Kernel-Engine
./scripts/setup-dev-env.sh

1. Hear what Whisper made of your recording

Start with a short WAV on the desktop. The first CKE run prepares the encoder and decoder in the same cache that Linux Utilities reads. I compare the printed sentence with what I actually said before I involve a terminal pane. You’ll need ffmpeg and jq for this example.

Bash · Prepare Whisper on the desktop
cd "$HOME/Workspace/C-Kernel-Engine"
mkdir -p "$HOME/cke-audio/results"
# Point this at a short recording whose words you know.
clip="$HOME/recording.wav"
ffmpeg -i "$clip" -ac 1 -ar 16000 -c:a pcm_s16le "$HOME/cke-audio/input-16k.wav"
version/v8/scripts/cks-v8-run audio hf://openai/whisper-base \
  --run "$HOME/.cache/ck-engine-v8/models/whisper-base-local" \
  --wav "$HOME/cke-audio/input-16k.wav" --language en --task transcribe \
  --max-tokens 448 --output "$HOME/cke-audio/results/transcript.json"
jq -r '.decoder.transcript_text' "$HOME/cke-audio/results/transcript.json"
Bash · Try the microphone before opening an agent
cd "$HOME/Workspace/LinuxUtilities"
/usr/bin/python3 scripts/voice_microphone_check.py
/usr/bin/python3 scripts/voice_note.py --narrate --mic-target "$(pactl get-default-source)"

The second command records a note you can keep without sending it to an agent. Once that works, enable the two AwesomeWM voice bindings in your desktop configuration. The dictation guide walks through choosing a pane and recovering a take.

2. Give the spoken reply somewhere to run

Whisper runs on my desktop. For speech coming back I use another Linux machine, reached over SSH. It runs a Python HTTP service that feeds the text to the English frontend and the generated native Kokoro dispatcher. I can leave that worker loaded while I move between projects. If you want to try dictation first, you can stop after step one.

First time on the speech host? Prepare the Kokoro weights and voice bundle

Set up the CKE checkout and virtual environment on that host first. Use a Linux C compiler and the Hugging Face hf CLI. This recipe uses the pinned English frontend, the af_heart voice and Kokoro’s runtime-length bundle. Its expanded phrase-length range is experimental. I checked the commands against the CKE bundle tools. My listening test below used an already-built bundle.

Bash · Prepare the English voice on the compute host
cd "$HOME/Workspace/C-Kernel-Engine"
source .venv/bin/activate
python -m pip install --extra-index-url https://download.pytorch.org/whl/cpu \
  -r version/v8/tts/reference/oracle-requirements.lock
python -m pip install fastapi uvicorn
work="$HOME/cke-audio/kokoro"
model="$work/model"
bundle="$work/bundle"
hf download hexgrad/Kokoro-82M config.json kokoro-v1_0.pth voices/af_heart.pt \
  --revision e8a90b41091c3c5b70375c47cc959799920fa4d6 --local-dir "$model"
python version/v8/tts/export_kokoro_bump.py --model-dir "$model" --output-dir "$work/bump"
python version/v8/tts/export_kokoro_voice_bank.py "$model/voices/af_heart.pt" "$work/af_heart.ckvoice"
python version/v8/tts/build_kokoro_dispatch_bundle.py \
  --bump-dir "$work/bump" --voice-bank "$work/af_heart.ckvoice" \
  --output-dir "$bundle" --runtime-lengths --runtime-experimental-range
Bash · Start the worker on the compute host
cd "$HOME/Workspace/C-Kernel-Engine"
work="$HOME/cke-audio/kokoro"
.venv/bin/python -m server.kokoro_http \
  --config "$work/model/config.json" --bundle-dir "$work/bundle" --port 8111

Leave that process running. On the desktop, replace voicebox with an SSH alias that accepts your key without a password prompt. The health check should report "ready":true. The worker listens on its own loopback address. The reader sends the written reply over SSH, checks the returned chunks and assembles the WAV locally.

Bash · Hear one sentence on the desktop
cd "$HOME/Workspace/LinuxUtilities"
export LINUXUTILS_KOKORO_SSH_HOST=voicebox
ssh -o BatchMode=yes "$LINUXUTILS_KOKORO_SSH_HOST" 'curl -fsS http://127.0.0.1:8111/health'
out=$(mktemp -d)
printf '%s\n' 'The microphone and the speech player are ready.' > "$out/reply.txt"
/usr/bin/python3 scripts/cke_summary_reader.py --text "$out/reply.txt" --output-dir "$out"
pw-play "$out"/*.wav

On my already-loaded Intel Core i7-14700T worker, that eight-word sentence took 7.39 seconds from launching the reader to saving 3.78 seconds of audio. That includes SSH and file assembly. Timing the same line on your machine will tell you more about the wait you’ll experience than a recommended core count.

For the keyboard shortcut, also set LINUXUTILS_KOKORO_SSH_HOST in the environment that starts AwesomeWM. An export in one terminal only reaches programs started there. Then try Super + Shift + V in your agent pane. The spoken-reply guide shows how to find and play that same answer later.

A desktop I can remember by feel

AwesomeWM gives my workspaces a familiar order. Terminator gives each job a pane. One shell might be on my laptop, another on a compute node over SSH. That layout is a little memory palace for me. I remember where I left a job, and I can go back to ask what happened. The voice tools fit around that habit.

What I’d like to try next is leaving the laptop on the desk, choosing a job by voice, and hearing back from whichever machine ran it. I still want a screen when I’m drawing an arrow or inspecting a waveform. For “did the build finish?”, I’d be happy to keep making coffee.

In the Linux Utilities manual you can watch the two-minute narrated walkthrough, or jump straight to dictating your first note and hearing the reply. I wrote about how the two speech models fit together in From My Microphone to an Agent and Back. The scripts live in the LinuxUtilities repository.