Audio version — Estimated duration: 3 min 15 sec
Installation
Requirements
- Python 3.8+
- CUDA-compatible NVIDIA GPU (tested on RTX 3050 6GB)
- Wayland compositor (GNOME, KDE, Sway, etc.)
System Dependencies
# Ubuntu/Debian
sudo apt install wl-clipboard libnotify-bin libportaudio2
# Arch
sudo pacman -S wl-clipboard libnotify portaudioPython Dependencies
pip install evdev faster-whisper sounddevice numpyStep-by-Step Setup
- Clone the repository:
git clone https://github.com/prathmeshnik/Whisper-Dictate.git
cd Whisper-Dictate- Create a virtual environment (recommended):
python3 -m venv .venv
source .venv/bin/activate- Install Python dependencies:
pip install evdev faster-whisper sounddevice numpy- Add your user to the
inputgroup (required for keyboard access):
sudo usermod -aG input $USERLog out and back in (or reboot) for the group change to take effect.
- Make the script executable:
chmod +x whisper-dictate-v2.pyAuto-Start (Optional)
Systemd Service
mkdir -p ~/.local/bin
cp whisper-dictate-v2.py ~/.local/bin/
chmod +x ~/.local/bin/whisper-dictate-v2.py
cp whisper-dictate.service ~/.config/systemd/user/
systemctl --user daemon-reload
systemctl --user enable whisper-dictate
systemctl --user start whisper-dictateDesktop Autostart
cp whisper-dictate.desktop ~/.config/autostart/Next Steps
- Quickstart — Run the script for the first time
- Configuration — Customize settings
- Troubleshooting — If something goes wrong