Install Fcitx input framework
sudo apt install fcitx-bin
sudo apt install fcitx-table
Download the Linux version of Sogou Input Method and install it
sudo dpkg -i sougou的文件名.deb
Make relevant settings settings–>Region&language–>Manage Installed Languages
restart the system
After logging in again, a keyboard icon appears in the upper right corner, click to enter, and select Configure Current Input Method
After entering the Input Method interface below, select the + sign
Enter the Add input method interface, click on Only Show Current Language below, search for Sogou Pinyin in the search bar, and add it after selecting it.
After installation, it is found that only English can be displayed, and Chinese cannot be switched. Execute the following command to solve the problem. (restart the system)
sudo apt install libqt5qml5 libqt5quick5 libqt5quickwidgets5 qml-module-qtquick2
sudo apt install libgsettings-qt1