KDE Plasma Setup
KDE Plasma can launch OSTT from a built-in custom shortcut. No third-party hotkey tool is required.
Install OSTT
curl -fsSL https://ostt.ai/install | bash
ostt modelostt model picks a transcription model. Local models need no account; for a cloud model, run ostt auth login first.
Prefer a native .deb or .rpm package? See Installation. The install script detects your distribution and CPU architecture automatically, so it is the simplest option for most users.
Bind a Hotkey
- Open System Settings > Keyboard > Shortcuts.
- Click Add New > Command or Script.
- Enter the full path to the OSTT binary followed by
launch --paste, and name itOSTT. Find your path with:
which osttFor example:
/home/you/.local/bin/ostt launch --pasteDesktop environments do not always include ~/.local/bin in the PATH used for hotkey commands, so the full path is required for reliable operation.
- Click Add, then select the new entry and click Add custom shortcut.
- Press your preferred key combination, such as
Alt+Space. - Click Apply.
Usage
- Press your hotkey to open the popup and start recording.
- Speak.
- Press the same hotkey again to stop recording and transcribe.
- With
--paste, OSTT inserts the text into the app that regains focus after the popup closes.
Multiple Hotkeys
Create additional shortcuts for common workflows:
| Name | Command | Example hotkey |
|---|---|---|
| OSTT | /path/to/ostt launch --paste | Alt+Space |
| OSTT Process | /path/to/ostt launch --paste -p | Alt+Ctrl+Space |
| OSTT Copy | /path/to/ostt launch -c | Ctrl+Alt+C |
Replace /path/to/ostt with the output of which ostt.
Terminal Selection
ostt launch auto-detects a terminal emulator. On stock KDE it may use Konsole, which works well but normally shows a titlebar.
For a borderless popup, install a preferred terminal:
sudo apt install -y kittyThen optionally set it in ~/.config/ostt/ostt.toml:
[popup]
terminal = "kitty"Optional Window Rules
KDE supports window rules for fine-grained control over popup appearance. Ghostty, Alacritty, and foot open the popup with the window class ostt-popup. kitty sets only the window title ostt, so match on the title instead.
- Open System Settings > Apps & Windows > Window Management > Window Rules.
- Click Add New.
- Set Window class to
ostt-popup, or Window title toosttfor kitty. - Add rules for position, size, no titlebar, and keep above.
- Click Apply.
Troubleshooting
Check your session type and install the right clipboard tool:
echo $XDG_SESSION_TYPE
sudo apt install -y xclip # X11
sudo apt install -y wl-clipboard # WaylandVerify the command works from a terminal:
ostt launch -cTest paste output directly:
ostt launch --pasteOn KDE, OSTT defaults to ctrl+v for paste. If your target app is a terminal that requires another shortcut, set [output.paste].paste_key in ~/.config/ostt/ostt.toml.
If the shortcut cannot find OSTT, use the absolute path from which ostt in the shortcut's command.