Record it
1. Uninstall ibus
ubuntu default input method ibus management, the official recommended fcitx. We uninstall ibus
sudo apt-get remove ibus
Clear ibus configuration, if not set
sudo apt-get purge ibus
Uninstall keyboard instructions on the top panel of the Taskbar
sudo apt-get remove indicator-keyboard
2. Install the frame fcitx
Installation fcitx input frame
sudo apt install Fcitx-table-wbpy Fcitx-config-gtk
Input switched Fcitx
im-config -n fcitx
The best configuration is complete reboot the system, make sure you can take effect
sudo shutdown -r now
3. Install Sogou
https://pinyin.sogou.com/linux/?r=pinyin
Download the browser or wget
Installation Sogou input method
sudo dpkg -i sogoupinyin_2.2.0.0108_amd64.deb
Repair damaged missing packages
sudo apt-get install -f
Installation Sogou again
sudo dpkg -i sogoupinyin_2.2.0.0108_amd64.deb
4. Input Settings
After shown below, click Configure Current Input Method
In the Input Method (IME) click here - configure the current input method
Need to find Sougou Pinyin from below the plus sign, the search dog moved first
6. Set the conversion of text input
Click Global Config ---> Trigger Input Method (click on the first box, press a key you want to use to convert input method), complete
参考:https://blog.csdn.net/fenglllle/article/details/84932988