On a fresh Fedora 41 / Plasma / Wayland install, English language as default in GUI.
Fcitx5 works fine with English and Chinese Pinyin IME in all packages except for Wine.
I installed and run Notepad with the following bash script:
#!/usr/bin/env bash
ARCH=32
export WAYLAND_DISPLAY=wayland-0
export WINEPREFIX="/home/$USER/.w${ARCH}_notepad"
export WINEARCH="win${ARCH}"
rm -rf "$WINEPREFIX"
mkdir -p "$WINEPREFIX"
env WAYLAND_DISPLAY=wayland-0 \
WINEPREFIX="$WINEPREFIX" \
GTK_IM_MODULE=fcitx5 \
QT_IM_MODULE=fcitx5 \
XMODIFIERS=@im=fcitx5 \
winecfg
env WAYLAND_DISPLAY=wayland-0 \
WINEPREFIX="$WINEPREFIX" \
GTK_IM_MODULE=fcitx5 \
QT_IM_MODULE=fcitx5 \
XMODIFIERS=@im=fcitx5 \
wine notepad
Notepad runs fine in English but:
- the keyboard shortcut that switches IME does not work
- switching IME from the applet, the Pinyin IME just displays in English.
Please advise