-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting chinese keyboard layout fails #3
Comments
A workaround:
|
As far as the locale is concerned, I think en_US.UTF-8 is enough for all languages. See the following settings for my Ubuntu 20.04 box:
For the keyboard layout problem, I think the following packages should be installed first:
For the input method problem, I think the more robust and powerful chinese input methods are the following ones:
After downloading the corresponding deb pakages, install them with the following methods.
Then use the fcitx-config-gtk3 or fcitx-configtool command to select the desired input methods. Based on my experience, the baidupinyin input method will not be listed if not install the sogoupinyin, so I just installed both of them side-by-side. NB The above notes are my personal experiences on the Ubuntu 20.04 host box instead of a docker container environment. I give them here just for your infomation. Regards, |
The workaround seems not to work with recent |
Finally solved.
|
Are you sure it always relies on QT4 as the backend? |
It works the other way around: The environment variables tell QT and GTK to use fcitx. |
I'm still not so clear on your meaning. I mean if it depends on qt5, the variable set by you would be invalid. |
No, fcitx does not depend on QT or GTK. |
Attemps to change the keyboard layout to Chinese fail.
It defaults to US english keymap.
Setting the language locale with x11docker option
--lang=zh_cn
works.Changing the keyboard layout with x11docker option
--keymap=cn
fails.Changing the keyboard layout with deepin settings fails, too.
Found so far:
In general it is possible to enable Chinese input with
fcitx-pinyin
, success here: mviereck/x11docker#269 (comment)If someone has an idea how to fix this, I'd be happy to hear it.
The text was updated successfully, but these errors were encountered: