Skip to content

[FEATURE] Let users pick the text-injection backend (e.g. force wtype instead of IBus)Β #476

Description

@waldemar-p

πŸš€ Feature Description

Let users pick the text-injection backend β€” e.g. force wtype instead of IBus on Wayland. Right now there's no way to tell vocalinux which one to use.

πŸ’‘ Problem Statement

On Wayland, vocalinux always goes for IBus when it's available, and there's no way to tell it not to. That's a problem on compositors where IBus doesn't actually deliver text to native apps.

My case: Pop!_OS with COSMIC. IBus injection works in XWayland stuff (browser, vocalinux's own field) but nothing shows up in native Wayland apps like the COSMIC editor or Zed. wtype works perfectly on the same machine, German umlauts and all. But I can't get vocalinux onto wtype, and there's no override to make it happen.

πŸ“‹ Proposed Solution

An explicit backend override like an injection_backend key in the existing config.json. When set to a non-IBus backend, vocalinux would skip the IBus path entirely and not start ibus-daemon. Left unset, everything stays exactly as it is now.

πŸ”„ Alternatives Considered

  • Removing IBus β€” not an option, there are other dependencies.
  • Killing ibus-daemon first β€” doesn't help, vocalinux just restarts it once it picks the IBus path.

βœ… Acceptance Criteria

  • A config to select injection backend.
  • When set to a non-IBus backend, vocalinux doesn't enter the IBus path or start ibus-daemon.
  • When unset, current auto-detection behavior is unchanged.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions