Re: Fwd: Proposal: Using update-alternative to switch input method
Marguerite Su <[email protected]> Sun, 27 Feb 2022 09:37:22 +0000
| Newsgroups | gmane.linux.suse.m17n |
|---|---|
| Message-ID | <CAK0PdAkc98va_q8c_kbZ8aN2CUQgQKubWtoEU5fxgH98+r6ucg@mail.gmail.com> |
Hi, Thanks for pointing out package x11-tools! I knew SUSE has xim.d mechanism for long, but didn't know how it was implemented. that package answered all my questions. Today I update systemd-inputmethod-generator, now it respects: 1. the "export INPUT_METHOD=fcitx5" or "export XMODIFIERS=\"@im=fcitx5\"" strings in .xim, .i18n, .profile and .login 2. the INPUT_METHOD variable in /etc/sysconfig/language 3. the smallest name in /etc/X11/xim.d/$LANG and /usr/etc/X11/xim.d/$LANG I think it is now using the same mechanism to determine INPUT_METHOD for systemd. Marguerite