Skip to content

Settings ​

rookey ui opens the settings page. Its five sections follow a dictation: Hotkey, Engine and languages, What gets typed, While you talk, System. It is served from the rookey binary on 127.0.0.1 at a random port, fonts included, so it looks the same on every system and works offline. It opens in rookey's own window (rookey-window, on the system's webview) and falls back to the browser. The link carries a one-time token, and the server stops when you close the page. It can also:

  • download Whisper models, and list the ones already on disk
  • listen for the hotkey itself, or bind it on niri 26.04+ and Hyprland (Hotkeys)
  • record a test through the settings as they are, and show what came out instead of typing it

By hand: environment variables, or KEY=value lines in the config file. The environment wins, so ROOKEY_BACKEND=local rookey overrides the file for one run. Unset, empty, 0 and false all mean off. When the page saves, comments and settings it doesn't know are left alone.

Config fileData folder: API keys, models, history
Linux~/.config/rookey/config~/.local/share/rookey/
macOS~/Library/Application Support/rookey/configthe same folder
Windows%APPDATA%\rookey\configthe same folder
# ~/.config/rookey/config
ROOKEY_BACKEND=elevenlabs-realtime
ROOKEY_SANITIZE=1
ROOKEY_CONTEXT=1
ROOKEY_READER=openai
ROOKEY_EDIT=Fix the punctuation, drop filler words like "ну", "типа", "короче". Keep the language.

API keys have a file of their own, keys in the data folder, in the same format and readable only by you. On Linux it is outside ~/.config on purpose: that is what dotfile managers sync and what ends up in public repos. A hotkey-spawned rookey toggle doesn't see your shell's environment, so the file is where keys belong. A key an older rookey left in the config file still works, and rookey ui moves it over when it starts.

# ~/.local/share/rookey/keys
ELEVENLABS_API_KEY=sk_...
OPENAI_API_KEY=sk-...
ANTHROPIC_API_KEY=sk-ant-...

Every setting, in the page's order:

Setting
Hotkey
ROOKEY_HOTKEYthe keys rookey listen waits for: Super+Shift+D, or one key like Control_R, Alt_R, F13
Engine and languages
ROOKEY_BACKENDlocal (default), elevenlabs, elevenlabs-realtime (Engines)
ROOKEY_MODELpath to the ggml model, for local
ROOKEY_LANGauto (default), one language like en, or several like en,uk
What gets typed
ROOKEY_SANITIZE=1drops filler words, false starts and non-speech sounds (Scribe no_verbatim, no extra cost). Whisper skips most of those anyway, so on local it only mutes non-speech tokens
ROOKEY_EDIT=<instruction>free-form cleanup of the final transcript (Scribe transcript_edit, costs extra, experimental on realtime). ElevenLabs only. If the edit fails you get the transcript as it was
ROOKEY_EDIT_CUSTOMyour own instruction, kept here by rookey ui while one of its presets is in ROOKEY_EDIT
ROOKEY_WORDS=<a,b,c>your own names and jargon, comma-separated, always passed along: Scribe keyterms (costs extra; realtime takes the first 50 of up to 20 characters), whisper's initial prompt on local. They go first, before any screen terms
ROOKEY_CONTEXT=1reads the screen when recording starts; the terms found on it help the recognizer the same way (Screen terms)
ROOKEY_CONTEXT=<command>the same, with the text taken from your command's stdout
ROOKEY_READERwho reads the screenshot: ocr (default, tesseract on this machine), openai, anthropic
ROOKEY_READER_MODELthe vision model, if not gpt-6-luna or claude-opus-5-5
ROOKEY_SCREENSHOT=<command>a command that prints the image, instead of grim or screencapture
ROOKEY_KEEP_CLIPBOARD=0macOS, GNOME, KDE: leave the typed text on the clipboard instead of putting yours back
While you talk
ROOKEY_SOUNDSnotes (default), rook, pencil
ROOKEY_SOUND_START, _STOP, _TYPED, _FAILEDa sound file of your own for that cue
ROOKEY_QUIET=1no sounds
ROOKEY_PILLfull (default), compact, dot
ROOKEY_PILL_AT=x,ywhere the pill sits, in percent from the top left; 50,100 by default
ROOKEY_NO_OVERLAY=1no pill
ROOKEY_NO_NOTIFICATIONS=1no desktop notifications
System
ROOKEY_HISTORY=0keep no transcripts
ROOKEY_AUTOUPDATE=0only check for a new release and say so, don't install it (Updates)
ROOKEY_UI_LANGen or uk, for the page and everything rookey says. Empty follows the system
ROOKEY_UI_THEMElight or dark for the page. Empty follows the system
ROOKEY_UI_CLOSEDthe page's folded sections, kept by the page