Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rofi: IMEs (fcitx5, ibus) not working in rofi #387025

Closed
3 tasks done
imsuck opened this issue Mar 4, 2025 · 2 comments · Fixed by #387135
Closed
3 tasks done

rofi: IMEs (fcitx5, ibus) not working in rofi #387025

imsuck opened this issue Mar 4, 2025 · 2 comments · Fixed by #387135
Labels
0.kind: bug Something is broken

Comments

@imsuck
Copy link

imsuck commented Mar 4, 2025

Nixpkgs version

  • Unstable (25.05)

Describe the bug

rofi disregards IMEs like fcitx5, ibus, and their keybinds even though they should be supported.

Steps to reproduce

  1. Have fcitx5 installed and running (with some plugins like fcitx5-mocz).
  2. Run: nix shell nixpkgs#rofi.
  3. Execute: rofi -show drun.
  4. Type some words or try to change input methods via keybindings.

Expected behaviour

IME should work like in other programs' text field.

Screenshots

N/A

Relevant log output

N/A

Additional context

Arch's rofi package works as expected (is this appropriate?)

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.12.17-1-lts, EndeavourOS, noversion, rolling
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.26.2
  • channels(root): "nixpkgs"
  • nixpkgs: /nix/store/9wy197j8p04lv8l9nzvaixr573sibgpi-nixpkgs/nixpkgs

Notify maintainers

@bew

Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

@imsuck imsuck added the 0.kind: bug Something is broken label Mar 4, 2025
@bew bew mentioned this issue Mar 4, 2025
13 tasks
@bew
Copy link
Contributor

bew commented Mar 4, 2025

Hello @imsuck,
I've never used IMEs but looking at how it was implemented in rofi I opened this PR: #387135

👉 Could you try it and let me know if it's enough to make it work for you?

You'll need to use rofi with an override like this:

pkgs.rofi.override {
  # replace rofi-unwrapped with a package that supports IMEs
  rofi-unwrapped = pkgs.rofi-unwrapped.override { imeSupport = true; };
}

Where pkgs is a pinned version of nixpkgs that includes my PR.

@bew
Copy link
Contributor

bew commented Mar 23, 2025

#387135 was just merged (thank you @teto!), the rofi package now supports IMEs by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants