Package Details: openwhispr-bin 1.11.0-1

Git Clone URL: https://aur.archlinux.org/openwhispr-bin.git (read-only, click to copy)
Package Base: openwhispr-bin
Description: Voice-to-text dictation app with local Whisper/Parakeet and cloud models
Upstream URL: https://github.com/OpenWhispr/openwhispr
Licenses: MIT
Conflicts: openwhispr, openwhispr-appimage, openwhispr-vulkan
Provides: openwhispr
Submitter: oioi555
Maintainer: oioi555
Last Packager: oioi555
Votes: 3
Popularity: 0.53
First Submitted: 2026-05-04 22:00 (UTC)
Last Updated: 2026-10-29 14:48 (UTC)

Dependencies (16)

Required by (0)

Sources (1)

Latest Comments

oioi555 commented on 2026-10-09 20:30 (UTC)

Re: codewhiz's comment

Thanks for the report. The package already launches upstream's wrapper, which forces XWayland on purpose (overlay positioning needs X11) and already reads extra Chromium flags from:

~/.config/open-whispr-flags.conf

One flag per line, # for comments. GPU rasterization flags can go there. --ozone-platform-hint=auto will not override the wrapper's --ozone-platform=x11. Switching to native Wayland (--ozone-platform=wayland) can break the floating bar, focus, and paste, so I'm not changing the package default. Please report upstream if native Wayland becomes viable for the overlay.

codewhiz commented on 2026-10-06 19:36 (UTC) (edited on 2026-10-06 19:38 (UTC) by codewhiz)

Hi! On modern Linux installations using Wayland (Arch, Fedora, GNOME, KDE, Hyprland), the app currently defaults to XWayland with software CPU rasterization. This causes noticeable UI stutter, latency in the floating bar/tray, and high CPU usage even when using cloud inference.

Testing shows that launching with these Chromium flags completely resolves the lag and makes the interface responsive:

--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations,CanvasOopRasterization --enable-gpu-rasterization To implement this safely without breaking compatibility for native X11 users or older hardware:

--ozone-platform-hint=auto is backwards-compatible: Chromium automatically probes for a running Wayland compositor; if the user is on X11, it transparently falls back to native X11 without error.

Allow a user flags file (Arch/Electron convention): In the /usr/bin/openwhispr wrapper script, load custom flags from ~/.config/openwhispr-flags.conf if present:

#!/bin/bash
XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
USER_FLAGS=""

if [[ -f "$XDG_CONFIG_HOME/openwhispr-flags.conf" ]]; then
    USER_FLAGS="$(grep -v '^#' "$XDG_CONFIG_HOME/openwhispr-flags.conf" | tr '\n' ' ')"
fi

exec /opt/openwhispr/open-whispr \
    --ozone-platform-hint=auto \
    --enable-features=WaylandWindowDecorations,CanvasOopRasterization \
    --enable-gpu-rasterization \
    --no-sandbox \
    $USER_FLAGS \
    "$@"

This provides hardware acceleration and native Wayland support out-of-the-box while giving edge-case users (e.g., proprietary drivers with broken rasterization) an easy way to override flags without modifying root files.

Disclaimer: This was drafted by Gemini. I asked it, cuz my installation felt laggy, but now feels snappy after these flag tweaks :)