Because the built-in input method can still be used, the input method has not been installed. Recently, some problems have been found, so I should install it.
Link: pinyin.sogou.com/linux/
Simply download the deb installation package. The current version is sogoupinyin_2.2.0.0108_amd64.deb.
sudo dpkg -i sogoupinyin_2.2.0.0108_amd64.deb
Error:
$ sudo dpkg -i sogoupinyin_2.2.0.0108_amd64.deb
[ sudo] password for relaybot:
Selecting previously unselected package sogoupinyin.(Reading database ...315053 files and directories currently installed.)
Preparing to unpack sogoupinyin_2.2.0.0108_amd64.deb ...
Unpacking sogoupinyin(2.2.0.0108)...
dpkg: dependency problems prevent configuration of sogoupinyin:
sogoupinyin depends on fcitx(>=1:4.2.8.3-3~); however:
Package fcitx is not installed.
sogoupinyin depends on fcitx-frontend-gtk2; however:
Package fcitx-frontend-gtk2 is not installed.
sogoupinyin depends on fcitx-frontend-gtk3; however:
Package fcitx-frontend-gtk3 is not installed.
sogoupinyin depends on fcitx-frontend-qt4; however:
Package fcitx-frontend-qt4 is not installed.
sogoupinyin depends on libfcitx-qt0 | fcitx-libs-qt; however:
Package libfcitx-qt0 is not installed.
Package fcitx-libs-qt is not installed.
sogoupinyin depends on fcitx-module-kimpanel; however:
Package fcitx-module-kimpanel is not installed.
sogoupinyin depends on libopencc2 | libopencc1; however:
Package libopencc2 is not installed.
Package libopencc1 is not installed.
sogoupinyin depends on fcitx-libs(>=4.2.7); however:
Package fcitx-libs is not installed.
sogoupinyin depends on libqt4-dbus(>=4:4.8.0); however:
Package libqt4-dbus is not installed.
sogoupinyin depends on libqt4-declarative(>=4:4.8.0); however:
Package libqt4-declarative is not installed.
sogoupinyin depends on libqt4-network(>=4:4.8.0); however:
Package libqt4-network is not installed.
sogoupinyin depends on libqtcore4(>=4:4.8.0); however:
Package libqtcore4 is not installed.
sogoupinyin depends on libqtgui4(>=4:4.8.0); however:
Package libqtgui4 is not installed.
sogoupinyin depends on libqtwebkit4(>=2.1.0~2011week13); however:
Package libqtwebkit4 is not installed.
dpkg: error processing packagesogoupinyin(--install):
dependency problems - leaving unconfigured
Processing triggers for mime-support(3.60ubuntu1)...
Processing triggers for libglib2.0-0:amd64(2.56.3-0ubuntu0.18.04.1)...
No such key 'Gtk/IMModule'in schema 'org.gnome.settings-daemon.plugins.xsettings'as specified in override file '/usr/share/glib-2.0/schemas/50_sogoupinyin.gschema.override'; ignoring override forthis key.
Processing triggers for desktop-file-utils(0.23-1ubuntu3.18.04.2)...
Processing triggers for gnome-menus(3.13.3-11ubuntu1.1)...
Processing triggers for shared-mime-info(1.9-2)...
Processing triggers for hicolor-icon-theme(0.17-2)...
Errors were encountered while processing:
sogoupinyin
Fix it:
sudo apt install -f
Install again:
sudo dpkg -i sogoupinyin_2.2.0.0108_amd64.deb
Successful installation.
Configuration, this is very important, change ibus to fcitx.
Need to log off or restart after operation:
Add the sogou input method to the input method.
Then you can use Sogou input method normally.
Recommended Posts