ubuntu的汉语智能拼音 和 Google pinyin,修改语言后要reboot
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 (please don't think "this isn't necessary", just do it or you will waste more precious time!)
- 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.
1. Fcitx is available in Ubuntu universe repository, so you can easily install it by opening terminal (Ctrl+Alt+T) and run:
sudo apt install fcitx fcitx-googlepinyin
By typing sudo apt install fcitx- and hit TAB key, it will show you many other available plugins for fcitx.
阅读量: 606
发布于:
修改于:
发布于:
修改于: