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