KDE Plasma Setup
KDE Plasma can launch OSTT from built-in Custom Shortcuts. No third-party hotkey tool is required.
Install OSTT
curl -fsSL https://ostt.ai/install | bash
ostt authPrefer 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 > Shortcuts > Custom Shortcuts.
- Click Edit > New > Global Shortcut > Command/URL.
- Name it
OSTT. - In the Trigger tab, press your preferred key combination, such as
Alt+Space. - In the Action tab, enter the full path to the OSTT binary followed by
launch --paste. 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 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 Custom 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+T |
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. If you use kitty, Alacritty, or foot, which set window class ostt-popup, create a KDE window rule:
- Open System Settings > Window Management > Window Rules.
- Click Add New.
- Set Window class to
ostt-popup. - 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 Custom Shortcut action.