Dictate to a terminal and hear the reply

I use this when I have several terminal panes open and want to talk to the agent in just one of them. Start with a microphone check. Once you can hear your own test recording, try a local transcript. Add the agent shortcuts and speech service when you want the round trip.

1. Hear a four-second microphone check

Use a Linux desktop with PipeWire. The keyboard and controller workflows below use an unlocked X11 session, Terminator with its D-Bus interface enabled, and AwesomeWM for the Super shortcuts. On Debian or Ubuntu the desktop tools include pipewire-bin, wireplumber, pulseaudio-utils, terminator, python3-dbus, xdotool and wmctrl. Use the distribution Python for desktop integration.

mkdir -p ~/Workspace
git clone https://github.com/antshiv/LinuxUtilities.git ~/Workspace/LinuxUtilities
cd ~/Workspace/LinuxUtilities
pactl get-default-source
/usr/bin/python3 scripts/voice_microphone_check.py

Press Enter, say a few words, and listen for the playback. The check uses the default input and removes its temporary audio afterwards. If a headset is plugged in but you hear the laptop mic, select the headset under Sound → Input, then run the check again.

2. Save your first transcript

Transcription uses a separate C-Kernel-Engine checkout, its .venv/bin/python with the Whisper dependencies, and a prepared Whisper Base encoder and decoder. The defaults are ~/Workspace/C-Kernel-Engine and ~/.cache/ck-engine-v8/models/whisper-base-local. Follow the Whisper audio example in the CKE runbook to build the artifacts and transcribe a known WAV before using the shortcut. Downloading model weights alone does not build those directories.

/usr/bin/python3 scripts/voice_note.py --narrate --mic-target "$(pactl get-default-source)"

Press Enter to record, speak, then press Enter to finish. Watch the microphone meter while you talk. Keyboard capture is open-ended unless you pass a limit such as --max-seconds 120. CKE transcribes after capture ends. This command saves the recording, text, and ASR report and prints their paths; it works without an agent or a TTS server.

3. Talk to one pane

/usr/bin/python3 scripts/voice_note.py --list-panes
/usr/bin/python3 scripts/voice_split.py

Run the second command from a Terminator shell. For use while a CLI occupies the foreground, the included AwesomeWM bindings open a horizontal recording pane from the focused window. To use this repository’s full AwesomeWM configuration, review the desktop setup and the backed-up make awesome-user-update installation before reloading Awesome. To keep a custom configuration, copy just the two voice_split.py bindings from linuxutils/bindings.lua. A key binding must pass the originating X11 window ID before the recorder changes focus.

Using the keyboard from the agent’s pane
KeyWhat happens
Super + VRecord for the originating pane. Press Enter to start and again to stop. Check the displayed destination and transcript.
Super + Shift + VAsk the focused local agent for a fresh status summary. This shortcut sends the summary request immediately.

For a local Codex, Qwen, or Copilot prompt, the final confirmation offers Enter to submit, SEND to type a draft, or CANCEL. For an SSH pane the meanings differ: Enter types a draft; SEND submits. Always follow the displayed prompt. SSH delivery checks the local SSH session; the remote agent and its files are outside local discovery. Window numbers can change. For a repeated target, use its pane UUID.

4. Listen to the matching answer

The local agent receives a request ID and a path under its workspace’s .codex_local/agent-replies/. When it writes the completed summary there, the inbox matches the ID before playing it. The local ledger lives in ~/.local/state/linuxutilities/agent-replies/. Spoken replies use the CKE Kokoro speech service. In my setup “p3” is an SSH alias for the machine running it. You can use your own host.

export LINUXUTILS_KOKORO_SSH_HOST=my-speech-worker
export LINUXUTILS_KOKORO_URL=http://127.0.0.1:8111/audio/speech
/usr/bin/python3 scripts/agent_summary_inbox.py --list
/usr/bin/python3 scripts/agent_summary_inbox.py --id YOUR_REQUEST_ID --play

The URL is resolved on the SSH host. That host needs curl, noninteractive SSH access and a running service that returns CKE’s checked speech chunks. Summary text is sent to that host for synthesis; the WAV from your microphone stays on the recording machine. If playback fails after submission, retry the ID. The original request has already gone to the agent. The local document reader is also available for reading a file with a separately configured local CKE runtime.

Recover a recording or move the installation

Controller and optional tools

Run /usr/bin/python3 scripts/voice_desktop.py in a spare pane with a Linux joystick attached. The default device is /dev/input/js0. Follow the button setup or add --remap. On the tested Logitech Dual Action, right stick left/right changes Awesome workspaces, right stick up/down changes tabs, left stick left/right selects a split and left stick up/down selects a terminal window. Controller dictation has its own 90-second turn. Spoken navigation uses cached Kokoro cues. The optional --hands-free mode listens on the default mic and accepts a bounded set of desktop commands.

For a visual microphone preview, build the existing GTK control center and open ./build/bin/linux_control_center --panel accessibility. Its recording deck has a 60-second limit and its own replay button. The deck preview is temporary; use the voice-note command above for a durable recording.

Where the implementation lives