Solve the problem that ubuntu cannot display Chinese pinyin
The reason
ubuntu18.04 is newly installed. I disliked that the built-in input method is not easy to use. Because I have a soft spot for the Xunfei input method, I tried to install the linux version. I don’t know where the installation error occurred and it cannot be opened normally. On the contrary, Chinese cannot be displayed, and Sogou input method was installed later, the same error occurred.
solve
Since the two input methods use fcitx, and the default is ibus, I guess it is because of the fcitx library. Miscellaneous versions are prone to errors. So I simply deleted all fcitx, and the result was normal. The most prone error in ubuntu is the mixing of different versions of libraries, which is prone to unexpected errors.
Follow-up solution
After several days of constant attempts, the problem of normal display of fcitx is finally solved. In fact, the solution is very simple. There is an appearance setting in the input method configuration.
Under the appearance settings, there is a font size set, but the default is 0, which is really drunk. I hope you don’t make mistakes like me. I wasted a few days in vain.