# Updating Vocalinux This guide explains how to update Vocalinux to the latest version. ## What's New in v0.10.0-beta ### ๐Ÿš€ Highlights | Feature | Description | |---------|-------------| | **โŒจ๏ธ Keyboard Robustness** | Better modifier alias handling across layouts and evdev `SYN_DROPPED` recovery | | **๐ŸŽ™๏ธ Audio Compatibility** | Audio channel probing now validates sample-rate support per device | | **๐Ÿ–ฅ๏ธ IBus + Tray Stability** | IBus activation is more reliable and tray icon refresh is more consistent | | **๐Ÿงช Testing & CI Upgrades** | Coverage increased to 80%+, with modernized Node 24 CI workflows | ### โœจ New Features - **IBus registration improvements** โ€” Text injection activation now uses `register_component` - **Expanded IBus test coverage** โ€” Added launch-mode and main-entrypoint test paths - **Python baseline update** โ€” Minimum supported Python version is now 3.9+ ### ๐Ÿ› Bug Fixes - **#342**: Generalize pynput modifier alias matching across layouts - **#341**: Probe audio channels using device-supported sample rates - **#339**: Handle evdev `SYN_DROPPED` to prevent stale modifier state - **#333**: Force window decorations in settings dialog - **#330**: Use icon names for AppIndicator tray updates - **#304**: Use `register_component` for IBus engine activation ### ๐Ÿ”ง Improvements - Installer fallback now resolves latest tag through GitHub API and better handles piped shell execution - CI now uses Node.js 24 for website deployment and path-based filtering to skip unnecessary workflows - Removed stale `setup.py` and legacy `build-website.sh` See the [full changelog](https://github.com/jatinkrmalik/vocalinux/releases/tag/v0.10.0-beta). --- ## What's New in v0.9.0-beta ### ๐Ÿš€ Highlights | Feature | Description | |---------|-------------| | **โŒจ๏ธ Left/Right Modifier Keys** | Choose Left Ctrl vs Right Ctrl (etc.) as your shortcut trigger | | **๐Ÿ”” Sound Effects Toggle** | Enable or disable audio feedback from the Settings dialog | | **๐Ÿ“‹ Wayland Clipboard Fallback** | Automatic clipboard copy when virtual keyboard injection isn't available | | **๐Ÿ› ๏ธ Installation Polish** | Better pipx/Debian guidance and headless display detection | ### โœจ New Features - **Left/Right Modifier Key Distinction** โ€” Shortcuts now support `Left Ctrl`, `Right Alt`, etc., with grouped UI in Settings - **Sound Effects Toggle** โ€” New Audio Settings toggle to silence start/stop/error sounds - **Clipboard Fallback for Wayland** โ€” Auto-copies text via `wl-copy`/`xclip` when injection unavailable (KDE Plasma etc.) - **Display Availability Check** โ€” Graceful error message when running in headless environments ### ๐Ÿ› Bug Fixes - **#308**: Distinguish left vs right modifier keys (evdev + pynput backends) - **#307**: Remove unwanted leading space when starting a new transcription session - **#305**: Pass configured shortcut mode to `KeyboardShortcutManager` on startup - **#299**: Add clipboard fallback for Wayland compositors without virtual keyboard support - **#289**: Improve Debian/pipx installation error messages and cross-distro dependency guidance ### ๐Ÿ”ง Improvements - **Grouped shortcut selector** โ€” Settings dropdown now organises shortcuts by Either/Left/Right side - **pipx documentation** โ€” New `DISTRO_COMPATIBILITY.md` section for pipx users See the [full changelog](https://github.com/jatinkrmalik/vocalinux/releases/tag/v0.9.0-beta). --- ## What's New in v0.8.0-beta ### ๐Ÿš€ Highlights | Feature | Description | |---------|-------------| | **๐ŸŽค Push-to-Talk Mode** | Hold the shortcut key to speak, release to stop | | **โš™๏ธ Voice Commands Toggle** | Enable or disable voice commands, with VOSK auto-enable in auto mode | | **โŒจ๏ธ Shortcut Reliability** | Improved callback lifecycle and mode switching stability | | **๐Ÿง  Input Compatibility** | Better IBus detection and audio device/channel compatibility | ### โœจ New Features - **Push-to-Talk Shortcut Mode** โ€” Added hold-to-speak mode alongside double-tap toggle mode - **Mode-aware Shortcut UI** โ€” Updated settings text and behavior for toggle vs push-to-talk workflows - **Voice Commands Optional** โ€” Voice commands can be disabled, with automatic enable behavior for VOSK ### ๐Ÿ› Bug Fixes - **#277**: Detect active IBus input method before using IBus injection - **#275**: Detect and use device-supported channel count - **#268**: Prevent GTK startup dialog crash on Fedora - **#261**: Resolve text injection issues for better reliability - **#259**: Prevent recognition thread state flicker - **#262/#263**: Auto-detect audio sample rate for better hardware compatibility ### ๐Ÿ”ง Improvements - **Web SEO Enhancements** โ€” Added 8 additional optimized pages for discoverability - **Homepage Refresh** โ€” Updated voice-themed visual polish on the web landing page See the [full changelog](https://github.com/jatinkrmalik/vocalinux/releases/tag/v0.8.0-beta). --- ## Quick Update ### If You Installed via curl (Recommended) Simply re-run the installation command: ```bash curl -fsSL https://raw.githubusercontent.com/jatinkrmalik/vocalinux/main/install.sh | bash ``` The installer will: - โœ… Detect and stop any running Vocalinux processes - โœ… Update your existing installation - โœ… Preserve your configuration and models - โœ… Install any new dependencies ### If You Installed from Source ```bash cd vocalinux git fetch origin git checkout v0.10.0-beta ./install.sh ``` Or to get the latest development version: ```bash cd vocalinux git pull origin main ./install.sh ``` --- ## Checking Your Current Version ```bash python3 -c "import vocalinux; print(vocalinux.version.__version__)" ``` --- ## Troubleshooting ### Update Issues? If your update doesn't go smoothly, try a clean reinstall: ```bash # Uninstall (keeps your config and models by default) ./uninstall.sh --keep-config --keep-data # Or uninstall completely ./uninstall.sh # Reinstall fresh curl -fsSL https://raw.githubusercontent.com/jatinkrmalik/vocalinux/main/install.sh | bash ``` ### Old Version Still Running ```bash # Kill any running instances pkill -f vocalinux # Start fresh vocalinux ``` ### Missing Dependencies If you see dependency errors: ```bash # Ubuntu/Debian sudo apt update sudo apt install -y python3-gi python3-gi-cairo gir1.2-gtk-3.0 # Fedora sudo dnf install -y python3-gobject gtk3 # Arch sudo pacman -S python-gobject gtk3 ``` --- ## Need Help? - ๐Ÿ“– [Installation Guide](INSTALL.md) - ๐Ÿ› [Report Issues](https://github.com/jatinkrmalik/vocalinux/issues) - ๐Ÿ’ฌ [Discussions](https://github.com/jatinkrmalik/vocalinux/discussions)