SDB:Wayland input methods
Situation
The way input methods are configured in a Wayland session is different from X11. In addition, there are certain limitations on input method support under Wayland.
This article covers how to use input methods on Wayland and offers workarounds for applications that need additional steps to work properly.
Configuring Input Methods by Desktop Environment
The following sections describe how to enable input methods in the commonly used desktop environments supporting Wayland.
Plasma Wayland
- Open System Settings.
- Click Keyboard, then select Virtual Keyboard.
- Choose the input method to use:
- IBus Wayland
- Fcitx 5
GNOME Wayland
IBus
IBus is the default input method in GNOME.
- Open Settings.
- Go to Keyboard.
- Under Input Sources, click + Add Input Source to add a new input method.
- Select your preferred language and input method (e.g., Japanese (Mozc)).
Fcitx
WIP
Workarounds for applications
Chromium and its derivatives
- Type chrome:flags in the URL box, and access the Experiments page.
- Set the following options:
- Preferred Ozone platform: Auto
- Wayland text-input-v3: Enabled
Slack (installed from Flatpak)
To allow communication to the current Wayland session, please run:
% flatpak override -u com.slack.Slack --socket=wayland
Visual Studio Code (installed as a RPM package)
To use Wayland and its input method protocol, please set the following environment variable in your ~/.profile or another suitable configuration file:
export ELECTRON_OZONE_PLATFORM_HINT=auto