You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The result of my test on a WSL instance with systemd enabled is that every time the computer is restarted, the input method must be specified again through im-config -n ibus, and it seems that im-config will not automatically save the settings. The method I'm testing looks like this.
sudo apt-get install ibus ibus-gtk ibus-gtk3 fonts-noto-cjk fonts-noto-color-emoji dbus-x11 zenity -y
sudo apt-get install ibus-gtk4 -y # If ibus-gtk4 is available, you need to install
sudo apt-get install ibus-libpinyin -y # or other engine(s) you want
im-config -n ibus
ibus-setup # add input methods you want
Since Gnome's standard desktop environment does not use im-config, does the processing of pengwin-setup.d/ibus.sh still involve the limitation of im-config ?
The text was updated successfully, but these errors were encountered:
This installer was written before systems were implemented in WSL, in fact, before WSL2. We need to check if this approach still works or if the im-config is the way. And we need to take the tests.
I noticed that the fcitx and ibus installations of pengwin-setup both automatically invoke IME by setting environment variables. As follows.
https://github.com/WhitewaterFoundry/pengwin-setup/blob/eb08b58e513d428682378f3a16a79185d0a1b241/pengwin-setup.d/fcitx.sh
https://github.com/WhitewaterFoundry/pengwin-setup/blob/f8903b97765b87520f6f5c0b4a64329d3f34e6b7/pengwin-setup.d/ibus.sh
Corresponding to ibus, such a process can basically be equivalent to the following.
Due to the discussion in Expect to update the Github Wiki section on Ubuntu installations ibus/ibus#2458 (comment), I'm a little bit confused why we don't automatically use im-config to switch input methods in
/etc/profile.d
. Is it because im-config has some limitations on WSL?The result of my test on a WSL instance with systemd enabled is that every time the computer is restarted, the input method must be specified again through
im-config -n ibus
, and it seems that im-config will not automatically save the settings. The method I'm testing looks like this.pengwin-setup.d/ibus.sh
still involve the limitation ofim-config
?The text was updated successfully, but these errors were encountered: