SDB:Wayland input methods

Jump to: navigation, search


Tested on openSUSE

Recommended articles

Icon-manual.png
  • N/A

Related articles

Icon-help.png
  • N/A


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

  1. Open System Settings.
  2. Click Keyboard, then select Virtual Keyboard.
  3. Choose the input method to use:
    • IBus Wayland
    • Fcitx 5

GNOME Wayland

IBus

IBus is the default input method in GNOME.

  1. Open Settings.
  2. Go to Keyboard.
  3. Under Input Sources, click + Add Input Source to add a new input method.
  4. Select your preferred language and input method (e.g., Japanese (Mozc)).


Fcitx

WIP

Workarounds for applications

Chromium and its derivatives

  1. Type chrome:flags in the URL box, and access the Experiments page.
  2. 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

See also

External links