Skip to content

Dead keys and compose key don't work without ibus

Description:

Gtk 4 apps under Wayland no longer interpret dead keys or compose key sequences in text input since upgrade to gtk4 4.20, unless ibus is installed. I think that is attributed to this Gtk 4 release no longer using the simple IM method, see MR: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/8556

Considering the linked MR I think ibus should be added as a depends for gtk4, or at least as optdepends to inform users this Gtk 4 release requires ibus for dead keys and compose key support.

Additional info:

  • package version(s): 1:4.20.1-1
  • config and/or log files:
  • link to upstream bug report, if any:

Steps to reproduce:

  1. Confirm ibus isn't currently installed with pacman -Q ibus, or else kill the daemon and uninstall it
  2. With ibus not installed and not running open a Gtk 4 app which has text input, like gnome-text-editor
  3. In the app, if your keyboard layout has dead keys, try typing ' then e for é. If your keyboard layout has a compose key, try typing compose+' then e for é. Neither works without ibus installed and 'e is typed instead of expected é.

Solution: install ibus with sudo pacman -S ibus and start the daemon with ibus-daemon -dr and dead keys and compose key should start working immediately. Tested under Gnome Shell 49

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information