You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Edit `~/.config/mutterkey/config.json` and set at least:
159
+
`mutterkey config init` writes the Linux config file to:
160
+
161
+
```text
162
+
~/.config/mutterkey/config.json
163
+
```
164
+
165
+
When run from a terminal, Mutterkey can also create this file automatically on
166
+
first launch if it does not exist yet. The interactive bootstrap asks for:
167
+
168
+
-`transcriber.model_path`
169
+
-`shortcut.sequence`
170
+
171
+
You can update saved values later with `mutterkey config set <key> <value>`.
172
+
173
+
Set at least:
130
174
131
175
-`shortcut.sequence`
132
176
-`transcriber.model_path`
@@ -160,8 +204,11 @@ See [config.example.json](config.example.json) for the full config.
160
204
Config notes:
161
205
162
206
-`transcriber.threads: 0` means auto-detect based on the local machine
207
+
-`transcriber.language` accepts a Whisper language code such as `en` or `fi`, or `auto` for language detection
163
208
- invalid numeric values fall back to safe defaults and log a warning
209
+
- invalid `transcriber.language` values fall back to the default and log a warning
164
210
- empty `shortcut.sequence` or `transcriber.model_path` values fall back to defaults and log a warning
211
+
- runtime flags such as `--model-path`, `--shortcut`, `--language`, `--translate`, `--threads`, and `--warmup-on-start` override the saved config for the current process only
165
212
166
213
### 4. Sanity-check the installed binary
167
214
@@ -186,7 +233,8 @@ The default service file assumes:
186
233
- config file at `%h/.config/mutterkey/config.json`
187
234
188
235
If your paths differ, edit [contrib/mutterkey.service](contrib/mutterkey.service)
189
-
before enabling it.
236
+
before enabling it. If the config file does not exist, the service will fail
237
+
fast and instruct you to run `mutterkey config init` from a terminal first.
0 commit comments