Skip to content

Latest commit

 

History

History
92 lines (67 loc) · 1.89 KB

QUICKSTART.md

File metadata and controls

92 lines (67 loc) · 1.89 KB

Quick Start Guide

Installation (2 steps)

  1. Build and install (with all dependencies):

    make deb-install

    Or alternatively:

    make deb
    sudo apt install ../voice-keyboard-perlover_*_all.deb
  2. Add to panel:

    • Right-click Cinnamon panel → "Applets"
    • Find "Keyboard + Voice Input" → "Add to panel"
    • If not visible: restart Cinnamon (Ctrl+Alt+Esc) or re-login

Configuration

Right-click applet → "Configure":

Option A: OpenAI Whisper

Option B: Local Whisper Server

  • Mode: Local Server
  • URL: http://localhost:9000/asr
  • Start server first (see below)

Running Local Whisper Server

# Using Docker (recommended)
docker run --gpus all -p 9000:8000 fedirz/faster-whisper-server:latest-cuda

# Or using pip
pip install faster-whisper-server
faster-whisper-server --host 0.0.0.0 --port 9000

Usage

  1. Click microphone icon in panel (or applet menu → "Start Voice Input")
  2. Speak for configured duration (default: 10 sec)
  3. Wait for transcription
  4. Text appears in active window automatically

Testing Before Installation

./test-voice-input.sh

Troubleshooting

Applet not in list?

  • Restart Cinnamon: Ctrl+Alt+Esc
  • Or: cinnamon --replace &

No microphone?

# Test recording
ffmpeg -f pulse -i default -t 3 test.wav

Local server not responding?

# Check if running
curl http://localhost:9000/health

OpenAI API error?

Uninstall

sudo dpkg -r voice-keyboard-perlover

Settings preserved in: ~/.cinnamon/configs/voice-keyboard@perlover/

More Info

See README.md for full documentation.