chewing / libchewing

libchewing - The intelligent phonetic input method library
https://chewing.im/
GNU Lesser General Public License v2.1
359 stars 90 forks source link

Chewing method not working on Fedora 36 awesomewm #345

Open hyperboly opened 1 year ago

hyperboly commented 1 year ago

Hello, I am on Fedora 36 KDE spin, however I have installed awesomewm and started to use awesome on Fedora. It seems that chewing doesn't work on Fedora with fcitx5. I have installed the packages fcitx5-chewing and fcitx5 on fedora KDE spin. ~/.zshenv has the following lines:


export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx```
After moving the chewing selection from the input methods on the right side of fcitx5-configtool and clicking apply, ctrl+space does not work on any program. I have made sure I have GTK and QT packages. Autostart is done by awesomewm. Rebooting has done nothing and I have checked that fcitx does autostart.
I would submit an entry of fcitx5-diagnose if requested.
yan12125 commented 1 year ago

I guess you need fcitx5 instead of fcitx in environment variables. This is what I use on Arch Linux:

export GTK_IM_MODULE=fcitx5
export QT_IM_MODULE=fcitx5
export XMODIFIERS=@im=fcitx5
hyperboly commented 1 year ago
export GTK_IM_MODULE=fcitx5
export QT_IM_MODULE=fcitx5
export XMODIFIERS=@im=fcitx5

This unfortunately didn't work. After trying out several methods such as iBus, Chinese input still does not work.

yan12125 commented 1 year ago

Could you try the following steps:

  1. Run fcitx5 in a terminal
  2. Run GTK_IM_MODULE=fcitx5 firefox in another terminal

And check if fcitx5-chewing works with Firefox? If not, please paste terminal outputs from fcitx5, thanks!