Re: [opensuse-m17n] Input method launcher supporting Plasma Wayland
Hi, sorry for being late to reply I made time for investigation.
Why do we try im-chooser (https://pagure.io/im-chooser/)?
As far as I remember, one of the reasons is that im-chooser/im-settings does not provide feature to pick an IMF according to the current local every time. It seems that it is working on Plasma Wayland session under Fedora 28 (but I don't know why). Also it provides extra features such as xim proxy, to switch IMF dynamically.
I did some research https://wiki.gnome.org/Initiatives/Wayland/SessionStart environment variable can be set with systemd.
Thanks, interesting. I confirmed it works on Leap 15.0 even though no standard directories are provided by our systemd package. It seems that there are several limitations. The cause is that environment variables are set for each user session not for each desktop session. This means that - Users cannot change variables (e.g, GTK_IM_MODULE) depending on the kind of desktop environment (by using XDG_CURRENT_DESKTOP). - Users cannot use different IMF for each desktop session. - Users need to exit all the sessions (applications) on their host to apply changes of those environment variables (need restart their systemd user session) + d-bus API to apply the change is also available I need to learn about systemd user session more. BTW: We have only 12 days to submit proposal of speech at openSUSE.Asia 2018 https://events.opensuse.org/conference/summitasia18 Thanks, Fuminobu TAKEYAMA On 15/05/2018 12:22, Marguerite Su wrote:
Hi,
I did some research
https://wiki.gnome.org/Initiatives/Wayland/SessionStart
environment variable can be set with systemd.
I wonder if we can set the im variable like this?
And can we write a bridge (inputmethodd) like this:
export QT_IM_MODULE=inputmethodd
and inputmethodd is the application actually calls fcitx, ibus based on user selection, locale, system presets....
So we can just pass inputmethodd to X11 or wayland, and do the im related work in inputmethodd itself.
Marguerite
Hillwood Yang <hillwoodroc@gmail.com <mailto:hillwoodroc@gmail.com>>于2018年5月 14日 周一下午4:42写道:
Hi Ftake,
Why do we try im-chooser (https://pagure.io/im-chooser/)?
Regards. Hillwood Yang
在 2018-05-06日的 11:57 +0900,Fuminobu TAKEYAMA写道: > Hi all, > > openSUSE Leap 15.0 starts to provides Plasma Wayland. However, no > input method > is not launched simply because it does not execute X11 init script > (/etc/X11/xim) [1]. > > [1] https://bugzilla.opensuse.org/show_bug.cgi?id=1084804 > > > Do you know anyone who are working for this? > > If nobody is doing, I will restart to develop my new input method > launcher, Chameleon Tongue [2], introduced at openSUSE.Asia 2015 [3]. > During this Japanese spring vacation, I check and confirmed that > it can support Wayland with a easy fix (by executing it from > /etc/profile.d). > > [2] https://github.com/ftake/chameleon-tongue > [3] > https://www.slideshare.net/ftake/redesigning-inputmethod-launcher-and > -management-system > > I hope I can integrate it into openSUSE by Leap 15.1 or 16.0. > > Best, > Fuminobu TAKEYAMA -- To unsubscribe, e-mail: opensuse-m17n+unsubscribe@opensuse.org <mailto:opensuse-m17n%2Bunsubscribe@opensuse.org> To contact the owner, e-mail: opensuse-m17n+owner@opensuse.org <mailto:opensuse-m17n%2Bowner@opensuse.org>
-- To unsubscribe, e-mail: opensuse-m17n+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-m17n+owner@opensuse.org
participants (1)
-
Fuminobu TAKEYAMA