Note: These instructions are ONLY meant for vanilla Ubuntu and ONLY for 22.04 for basic pinyin input for simplified characters.
Ubuntu has never provided an easy, well-documented option for adding pinyin input support. However, to get basic pinyin support in 22.04 you can simply:
- Open Settings, go to
Region & Language
-> Manage Installed Languages
-> Install / Remove languages
.
- Select
Chinese (Simplified)
. Make sure Keyboard Input method system
has Ibus
selected. Apply.
- Reboot
- Log back in, reopen Settings, go to
Keyboard
.
- Click on the "+" sign under
Input sources
.
- Select
Chinese (China)
and then Chinese (Intelligent Pinyin)
.
You should now have a little "en" (or whatever the language code of your Ubuntu install is) at the top right of your main screen which you can click on and get a list of available input methods, including Chinese (Intelligent pinyin)
. Open anything that can receive text (like gedit, openoffice, vim, FF,...) and try it out. You can also change between them with Super/Win + space
.
- Reboot to make sure it is still there after a reboot.
- Be happy that you didn't lose any more time on this ridiculously trivial issue that is still a massive pain in 2022!
If you don't need extra bells and whistles then do NOT bother with fcitx
(and the supposedly excellent "google pinyin"), uim
or any other exotic option! They are extremely hit-and-miss trying to install, and finding a guide that is relevant to 22.04 is almost impossible. Some claim to have "tested with 22.04" but they have done upgrades of previous versions that they had working, not fresh installs.
zh
in the upper right in Ubuntu. But I input with that it is English too. – Y. zeng May 20 '22 at 09:196
‘拼’ comes, but input still english, after onelogout
login
, it works – yurenchen Nov 10 '22 at 12:43ibus restart
? – Chaim Eliyah Dec 25 '22 at 21:40