elementary / os

The OS build system
https://elementary.io
GNU General Public License v3.0
1.01k stars 130 forks source link

No easy way to input CJK languages #103

Open kotatsuyaki opened 6 years ago

kotatsuyaki commented 6 years ago

Inputting CJK languages on Elementary is currently not user-friendly. Most solutions requires the use of commands, to install ibus or fcitx packages and activating the input method by im-config, which isn't the "promoted way" of installing software on Elementary OS aka the AppCenter. Is there any plan to add native support for these languages?

jlnr commented 6 years ago

I'm a Linux IME newbie, but this is my understanding of the state of things on Juno right now.

Fresh user accounts have XKB and (for some languages) IBus input sources. Using the IBus ones is not easy because:

Is improving IBus handling even worthwhile, or would experienced CJK users install different IMEs like fcitx anyway?

jlnr commented 6 years ago

Also, sorry @AkitakiKou for just dropping my notes into your issue :sweat_smile: I wanted to make sure I'm on the right track here in the high level "os" project before sending patches to individual repositories. Please let me know if this isn't going in the right direction.

nya-su commented 6 years ago

for a record, I found a guy setup fcitx input method on Juno 5 beta. He launched fictx configuration tool and toggled "panel hiding mode", or something like that on "Appearance" tab, to show fictx panel on the desktop, . However, during testing, He recognized the panel became malfunction afterwards.

今度はベータ版の elementary OS 5.0 Juno betaをインストールしました。

Hope someone will test with official release soon and come up with better support.

nya-su commented 6 years ago

I found, at least for Japanese input setup, it's relatively easy to configure. 'locale' set to ja_JP.UTF-8 brings ibus-mozc showing up in the ibus preferences. But, without the locale, ibus-daemon doesn't automatically launched at startup so need to be put an entry in applications setting in switchboard.

stucash commented 5 years ago

I am running Juno Live a fresh install 30 mins ago and setting up fcitx googlepinyin is just to no avail and a bit PITA.

like @jlnr mentioned it seems Juno comes with Ibus input sources but there's just no good ibus pinyin system out there and setting up ibus input source didn't work (selecting a source from ibus config, after starting ibus-daemon everything single time, didn't have anything in wingpanel).

Deleting ibus and doing the fcitx and im-config combo didn't work either. nothing showed up in wingpanel.

I remember at least loki worked; it just seems so that Juno has double hands down with ibus and fcitx just got ditched. Even installing it doesn't mean a thing.

gasolin commented 5 years ago

I refered this tutorial to setup cjk input and it works well https://medium.com/@ryonakaknock3/elementary-os-5-0-juno-がつasdasdasdいにリリース-3f0671d4588c

sprite-1 commented 5 years ago

I refered this tutorial to setup cjk input and it works well https://medium.com/@ryonakaknock3/elementary-os-5-0-juno-がつasdasdasdいにリリース-3f0671d4588c

Thanks a lot! This helped me get an idea on how to do it 👍

ryonakano commented 5 years ago

Just left CJK l10n situations on the latest Juno. Some might duplicate your comments.

As a consequence, it still requires some methods to input CJK languages other than in non-CJK systems.

hou2zi0 commented 4 years ago

I tried several approaches recommended in blogpost and alike to no avail. Is there a recommended way to get CJK input support to work on ElementaryOS 5.1 in an environment set to English as system language but using a German QWERTZ layout (this is a major drawback in my opinion)? The Switchboard plugin mentioned above did not work for me as well. Just out of curiosity: Does anyone know why this is still a recurring issue in OSs? Is the user base for multilingual and multiscriptual input just too small to validate proper support in most distros or is the difficulty to implement this feature in an (Linux) OS enormous?

davidmhewitt commented 3 years ago

@ryonakano Can you update this issue with the current status of where we're up to on this?

ryonakano commented 3 years ago

OK, CJK l10n situations on the latest Odin Daily:

It still requires technical method to type CJK languages other than in non-CJK systems but the situation getting better than Hera.

jeremypw commented 3 years ago

The wingpanel indicator could probably be made to start the ibus-daemon automatically if there are ibus methods in the input source list. So it would not start oob but once an input method has been selected in settings (which has a button to start the daemon) it would start automatically when the wingpanel indicator initialises.

There may be a better way though.

ghost commented 3 years ago

I got the same issue, the ibus-libpinyin can not show the input popup with right color , we can not see the text(because all text and background was black.)

The most good input method is Fcitx. but it not has an indicator.

(Gnome, and KDE can display right indicator for fcitx )

So is it a bug or a feature that elementary can not display indicator.

jeremypw commented 3 years ago

@cnmade Is this the problem you mean? I tried using the "Intelligent Pinyin" input engine. IntelligentPinyin

Looks like only the first option is affected (and you can see the character pre-entered in the document). It maybe some theme compatibility issue probably in libpinyin (?). Ideally it should be fixed there.

It would take quite a lot of work to implement Fcitx awareness in the Switchboard and Wingpanel especially as there does not seem to be any Vala language binding for it at the moment. This is one reason why Elementary does not currently support it (Elementary Switchboard and Wingpanel is written in Vala).

You are right however that an internet search indicates that it is the preferred input framework for Pinyin at the moment. Lets hope ibus-pinyin is improved.

ghost commented 3 years ago

@jeremypw yes,the first option can not see. really ugly experience. I am update to latest version , still not ok.

Thanks.

jeremypw commented 3 years ago

@cnmade Do you know whether this issue with ibus-libpinyin started recently (i.e. in Odin) or was it the same in Hera (and before). Do you know if it happens under e.g. Ubuntu? If it only happens under elementaryos then we may be able to fix it by tweaking the stylesheet. Lets hope so.

jeremypw commented 3 years ago

Just tried ibus-pinyin on Ubuntu Focal (on which Odin is based):

Screenshot from 2021-08-02 18 36 38

Looks like it is an elementaryos stylesheet issue :disappointed: (although it is a weird way to show the cursor position).

jeremypw commented 3 years ago

Just noticed that this issue is already raised in https://github.com/elementary/switchboard-plug-keyboard/issues/359 but it needs to be transferred to the stylesheet project.

jeremypw commented 3 years ago

I have now raised an issue here: https://github.com/elementary/stylesheet/issues/1067

jeremypw commented 3 years ago

Note that fcitx-pinyin is likely to suffer the same problem.