[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#983695: ibus-anthy: does not work out of the box on the GNOME desktop



Hi,

On Tue, Mar 9, 2021 at 1:19 AM Shengjing Zhu <zhsj@debian.org> wrote:
> Back to this issue only(ibus doesn't have a working default). I find
> task-korean-gnome-desktop Recommends gnome-initial-setup,
> And above the Recommends, it has a comment that says:
>
> > GNOME doesn't set the working Korean IM by default
>
> https://salsa.debian.org/installer-team/tasksel/-/blob/002c2a97/debian/control#L1547
>
> So I think this is the workaround by Korean users. Which now GNOME
> defaults ibus, and ibus doesn't pick up the right defaults for all.
> Maybe we should find a universal solution?

Maybe, but this is not suitable for at least Japanese users.

Actually first I tried the Korean workaround. However, unfortunately
for Japanese users it is very hard to use gnome-initial-setup.
This shows an insane ordering for Japanese input methods and keyboard
layouts. Its "入力" (Input) page shows the following choices:
- "Japanese (PC-98)", a mostly-dead Japanese keyboard layout, listed at the top
- "kkc", meaning ibus-kkc which is rarely used in a distro other than
Fedora, listed next; this default value is hardcoded in the dependent
libgnome-desktop3, so patching it is also hard:
https://sources.debian.org/src/gnome-desktop3/3.38.4-1/libgnome-desktop/default-input-sources.h/#L38
Scrolling farther down, other Japanese choices are found, but ...
- "日本語", meaning "Japanese", is listed first, which looks like "the
default Japanese input method" but is NOT an input method ...
actually a JP keyboard layout
- Other "日本語 (...)" choices including Anthy and Mozc are listed next,
either a keyboard layout or an input method, are mixed alphabetically,
where a Japanese user must select the appropriate input method.
It is practically impossible for other than GNOME experts, and this is
far from out-of-the-box.

So IMO gnome-initial-setup (at least, in the current state) must not
be installed in the Japanese GNOME desktop by default.
Perhaps this is not suitable for a language where multiple input
methods or keyboard layouts are widely used.

On Tue, Mar 9, 2021 at 11:36 PM Gunnar Hjalmarsson <gunnarhj@ubuntu.com> wrote:
> Hi Osamu,
>
> On 2021-03-09 14:58, osamu.aoki@gmail.com wrote:
> > For Japanese, kkc is the only choice gnome-initial-setting offers.
> >
> > No anthy/no kkc/no skk/ ...
> >
> > So this is not an option for Japanese.
>
> So annoying. :( But maybe gnome-initial-setup can be patched to bypass
> whatever whitelist or blacklist they use to restrict the options. So you
> can choose whatever IBus IM is installed - just as you can in Settings.

At least for Japanese users, the list offered by gnome-initial-setup
is severely broken, and the default "kkc" IM option is offered by
libgnome-desktop3; patching both of them is hard.
So I have proposed the auto setup script, which is IMO a much saner,
safer, and modular approach.

Regards,
--
YOSHINO Yoshihito <yy.y.ja.jp@gmail.com>


Reply to: