ibus-x11 does not start automatically
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mozc (Ubuntu) |
Fix Released
|
Undecided
|
Gunnar Hjalmarsson | ||
Impish |
Fix Released
|
High
|
Gunnar Hjalmarsson |
Bug Description
[Impact]
This is bugfix SRU.
The mainly problem is user cannot input Japanese language with IBus/Mozc.
One of the causes is Xwayland will not start on 21.10.
If there is no Xwayland process, gnome-shell/mutter will drop "--xim"
option of ibus-daemon and ibus-x11 process doesn't start.
For reasons unknown, IBus/Mozc does not work as a result.
Essentially, it should be fixed so that it works without Xwayland
and ibus-x11, but it takes time to investigate, so we will workaround
it by forcing Xwayland to start by xrefresh command.
[Test Plan]
1. run Ubuntu 21.10 installer
2. select Japanese language and keyboard
3. finish to install and reboot
4. login and complete gnome-initial-setup
5. apply the mozc SRU and reboot
6. login
7. press Windows key + Space key and select Japanese (Mozc)
8. startup gedit
9. press Hankaku/Zenkaku key
If you can input Japanese language, then test is ok.
[Where problems could occur]
* Only affects to mozc installed machine, it is mainly Japanese user's machine.
* The worst case is that those user cannot input Japanese language if the update is invalid.
* However current 21.10 is already same state.
[Original description]
ibus-x11 does not start automatically due to Xwayland on demand by default.
IBus user does not input any cjkv languages before start to ibus-x11 or xwayland process.
Steps to reproduce:
1. run Ubuntu 21.10 installer
2. select Japanese language
3. finish to install and reboot
4. login
5. reboot
6. login
7. push Windows key + Space key and select Japanese (Mozc)
8. run gedit
9. push Hankaku/Zenkaku key
Expected results:
show any Japanese characters
Actual results:
input any alphabetical key which I push
observation:
This may be mutter's matter.
Xwayland on demand by default
https:/
workaround:
1. run gnome-terminal and run command "ibus-daemon -rxd"
2. run any xwayland application like Libreoffice
3. use X session
4. restart IBus automatically when log in
exaple:
$ sudo editor /etc/xdg/
[Desktop Entry]
Name=ibus-autostart
Exec=sh -c 'if [ "${IM_CONFIG_
TryExec=ibus-daemon
Type=Application
Changed in ubuntu: | |
status: | New → Confirmed |
description: | updated |
tags: |
added: verification-done-impish removed: verification-needed-impish |
Hi Gunnar-san and Shibata-san, please take a look.
Noone report such a problem. Is it my fault?