Skip to content
This repository has been archived by the owner on Jan 3, 2020. It is now read-only.

Support of fcitx Under Linux / 添加支持fcitx的输入法 #7

Open
k-jiang opened this issue Apr 23, 2017 · 4 comments
Open

Support of fcitx Under Linux / 添加支持fcitx的输入法 #7

k-jiang opened this issue Apr 23, 2017 · 4 comments

Comments

@k-jiang
Copy link

k-jiang commented Apr 23, 2017

It seems that this mod is not working with fcitx, e.g. Sogou Pinyin under Linux no mater how hard I tried. I'm running Ubuntu with Gnome user interface (yes I don't like the default Unity UI). I can see that white input toolbar in game but could not type any Chinese with fcitx or switch between different input methods either. Even though I forced my system input into Sogou Pinyin, I could still input English instead.

So could you make this mod works with fcitx, at least with Sogou PInyin please? Your Yet-Another-Input-Fix is literally my last final hop that I can type Chinese properly in Minecraft under Linux. I have tried the bash script stuff (https://github.com/Hagb/MIH) but the zenity window doesn't even show up at all in Minecraft. So please please please add support with fcitx.

这个mod好像并不支持fcitx类输入法, 比如搜狗输入法。我在用Ubuntu和Gnome版UI(嗯我不喜欢官方的Unity UI)。游戏里我可以看见那个白色的输入工具条但并不能打中文甚至切换别的输入法。即使我强制使用搜狗输入法,打字的时候还是只有英文。

请问可以添加对fcitx的支持吗?或者至少支持搜狗输入法。这个Yet-Another-Input-Fix可以说是我能在Linux版Minecraft正常打中文的最后希望了。我已经试过那个bash脚本(https://github.com/Hagb/MIH)但他那个zenity对话框根本就出不来。所以拜托拜托拜托请务必添加对fcitx的支持。 Orz

My system spec are 我的系统参数如下:
Ubuntu 17.04 with Gnome https://wiki.ubuntu.com/ZestyZapus/ReleaseNotes/UbuntuGNOME (I don't think the mod is going to work with the default "unity" UI either. 我觉得这个mod在unity UI下也会有同样的问题)
fcitx 4.2.9.1-6 (installed with apt-get 用apt-get装的)
Sogou Pinyin Input 2.1.0.0086 http://pinyin.sogou.com/linux/?r=pinyin

If you need more information please let me know in any time :)
如果你需要更多信息的话请随时问我哈 :)

@RecursiveG
Copy link
Owner

Since I personally do not use fcitx, it would be somewhat difficult for me to test against fcitx.
And there have been some integration issues with LWJGL & AWT. It doesn't work properly even with ibus.
Further development will focus on the latest Minecraft version (1.10.2 for now), only if I have enough time continue this project.

嗯。。。因为我本人不用fcitx,所以要适配可能会比较困难。。。
另外LWJGL和AWT的整合一直很成问题,即使ibus也一直出问题。。。
你用的MC版本是什么?
之后(如果我有时间继续开发的话)应该会优先搞最新版本的。

@k-jiang
Copy link
Author

k-jiang commented Apr 23, 2017

I'm using Minecraft 1.11.2 with forge. Then what I did is manually modify your code and compile it so that I can have a YAIF working with 1.11.2 :P
Source codes are here: https://github.com/k-jiang/Yet-Another-Input-Fix/tree/1.11

我的MC版本是1.11.2+forge。之所以我能用是因为我手动改了你的代码并编译了,这才能在1.11.2上用你的mod 233。
源代码在这儿: https://github.com/k-jiang/Yet-Another-Input-Fix/tree/1.11

I'm not so good at Java but I'm willing to help. Any questions are welcome!
虽然我不太会Java但还是很乐意帮你滴。如果还有问题的话欢迎提问哈!

@kiyoshifone
Copy link

Hi. I'm a Japanese linux user, programmer(not java) and minecraft player.
I'm looking for the new way to put CJK into the chat window on minecraft, and I found a kind of bug on java or/and xfce.
I want to share these kind of information with developers and linux users, programmers to find the way to input CJKs.

https://raw.githubusercontent.com/kiyoshifone/cjkinputpic/master/minecjk01.png
https://raw.githubusercontent.com/kiyoshifone/cjkinputpic/master/minecjk02.png
https://raw.githubusercontent.com/kiyoshifone/cjkinputpic/master/minecjk03.png
https://raw.githubusercontent.com/kiyoshifone/cjkinputpic/master/minecjk04.png

It seems like keydowns are caught by both of fcitx and minecraft java window.
If you are interested in, reply me. I'm still sharing informations, and gathering members now.

@RecursiveG
Copy link
Owner

Hello @kiyoshifone, thank you for your information. It seems to be similar to a known BUG in vanilla Minecraft. MC-122477
I may not resume this project recently. And If I resume, I will mostly focuse on the latest version (1.14.4).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants