Quick note for fresh Ubuntu 20 or 24 tested.
Basically in three windows.
"Terminal" | "Settings > ... Region and Language" | "Language Support"
1. Language Support
1.1. Add language support.
Choose
Chinese (simplified)
Uighur
1.2. If input framework was not "iBus"
choose "iBus"
maybe relogin/restart needed here
2. in Terminal, install ibus-pinyin
sudo apt install ibus ibus-pinyin
ibus-daemon -drx
ibus-setup
2.2 in pop up window add
Chinese > Intellegent Pinyin
3. in Settings
3.1 Find "Keyboard" (layout)
in Ubuntu 20, it's in "Region & Language"
3.2 Add Uyghur, Chinese (Intelligent Pinyin)
3.3 (optional) Change "Format"
In "Language" > "Format" choose Chinese
Done.
4. Notes on use:
4.1 "Win + Space"
Hold "Win" key, then hit "Space" key to change input method one by one.
4.2 "en" to "pinyin"
To use Pinyin, you must first in English, then change to Pinyin. If you change from Uyghur to Pinyin, you can only type Uyghur.