ubuntu20.04安装搜狗输入法(社区版+个人版)
環境
ubuntu20.04+xfce4
社區版
下載這個:
http://archive.ubuntukylin.com/ukui/pool/main/s/sogouimebs/sogouimebs_2.0.0.38+0428.1_amd64.deb
dpkg -i?sogouimebs_2.0.0.38+0428.1_amd64.deb
注銷系統重新登錄
需要系統全局中文
?
?
效果如下:
?
缺點:
不支持更換皮膚,字體無法設置等各種問題。
?
?
皮膚安裝路徑
/home/appleyuchi/.config/sogou-qimpanel/skin
?
個人版
首先:
fcitx-module-autoeng-ng
fcitx-module-fullwidthchar-enhance
fcitx-module-punc-ng
這三個必須刪除
?
add-apt-repository ppa:fcitx-team/nightly
apt install fcitx
add-apt-repository ppa:rock-core/qt4
apt install libqtwebkit4
https://link.zhihu.com/?target=http%3A//ftp.cn.debian.org/debian/pool/main/f/fcitx/libfcitx-qt0_4.2.9.6-5_amd64.deb
dpkg -i libfcitx-qt0_4.2.9.6-5_amd64.deb
apt install libqt4-dbus
apt --fix-broken install
dpkg -i fcitx-frontend-qt4_4.2.9.6-1_amd64.deb
dpkg -i sogoupinyin_2.3.1.0112_amd64.deb
最終效果如下:
上面所有文件可以在這里下載:
鏈接: https://pan.baidu.com/s/1td47BPTG_MbocXB0bbigUQ ?密碼: s95t
?
?
?
附錄
一些fcitx的包的版本記錄如下:
ii ?fcitx ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 1:4.2.9.7-3 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? all ? ? ? ? ?Flexible Input Method Framework
ii ?fcitx-anthy:amd64 ? ? ? ? ? ? ? ? ? ? ? ? ? ? 0.2.3-2build1 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? amd64 ? ? ? ?Fcitx wrapper for Anthy IM engine
ii ?fcitx-bin ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 1:4.2.9.7-3 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? amd64 ? ? ? ?Flexible Input Method Framework - essential binaries
ii ?fcitx-chewing:amd64 ? ? ? ? ? ? ? ? ? ? ? ? ? 0.2.3-1 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? amd64 ? ? ? ?Fcitx wrapper for Chewing library
ii ?fcitx-config-common ? ? ? ? ? ? ? ? ? ? ? ? ? 0.4.10-3 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?all ? ? ? ? ?graphic Fcitx configuration tool - common files
ii ?fcitx-config-gtk ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?0.4.10-3 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?amd64 ? ? ? ?graphic Fcitx configuration tool
ii ?fcitx-data ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?1:4.2.9.7-3 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? all ? ? ? ? ?Flexible Input Method Framework - essential data files
ii ?fcitx-dbus-status ? ? ? ? ? ? ? ? ? ? ? ? ? ? 2016062301-3 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?amd64 ? ? ? ?Addon for Fcitx to set/get/monitor IM statuses via D-Bus
ii ?fcitx-frontend-all ? ? ? ? ? ? ? ? ? ? ? ? ? ?1:4.2.9.7-3 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? all ? ? ? ? ?Flexible Input Method Framework - frontends metapackage
ii ?fcitx-frontend-fbterm ? ? ? ? ? ? ? ? ? ? ? ? 0.2.0-3 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? amd64 ? ? ? ?Flexible Input Method Framework - FbTerm frontend
ii ?fcitx-frontend-gtk2 ? ? ? ? ? ? ? ? ? ? ? ? ? 1:4.2.9.7-3 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? amd64 ? ? ? ?Flexible Input Method Framework - GTK+ 2 IM Module frontend
ii ?fcitx-frontend-gtk3 ? ? ? ? ? ? ? ? ? ? ? ? ? 1:4.2.9.7-3 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? amd64 ? ? ? ?Flexible Input Method Framework - GTK+ 3 IM Module frontend
ii ?fcitx-frontend-qt4 ? ? ? ? ? ? ? ? ? ? ? ? ? ?1:4.2.9.6-1 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? amd64 ? ? ? ?Flexible Input Method Framework - Qt4 IM Module frontend
ii ?fcitx-frontend-qt5:amd64 ? ? ? ? ? ? ? ? ? ? ?1.2.4-1build2 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? amd64 ? ? ? ?Free Chinese Input Toy of X - Qt5 IM Module frontend
ii ?fcitx-googlepinyin:amd64 ? ? ? ? ? ? ? ? ? ? ?0.1.6-4build1 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? amd64 ? ? ? ?Fcitx wrapper for Google Pinyin IM engine
ii ?fcitx-libpinyin:amd64 ? ? ? ? ? ? ? ? ? ? ? ? 0.5.3-3build1 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? amd64 ? ? ? ?Fcitx wrapper for libpinyin
ii ?fcitx-libs ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?1:4.2.9.7-3 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? all ? ? ? ? ?Flexible Input Method Framework - metapackage for libraries
ii ?fcitx-libs-dev ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?1:4.2.9.7-3 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? amd64 ? ? ? ?Flexible Input Method Framework - library development files
ii ?fcitx-module-cloudpinyin:amd64 ? ? ? ? ? ? ? ?0.3.7-1 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? amd64 ? ? ? ?Flexible Input Method Framework - cloudpinyin module
ii ?fcitx-module-dbus ? ? ? ? ? ? ? ? ? ? ? ? ? ? 1:4.2.9.7-3 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? amd64 ? ? ? ?Flexible Input Method Framework - D-Bus module and IPC frontend
ii ?fcitx-module-kimpanel ? ? ? ? ? ? ? ? ? ? ? ? 1:4.2.9.7-3 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? amd64 ? ? ? ?Flexible Input Method Framework - KIMPanel protocol module
ii ?fcitx-module-lua ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?1:4.2.9.7-3 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? amd64 ? ? ? ?Flexible Input Method Framework - Lua module
ii ?fcitx-module-x11 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?1:4.2.9.7-3 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? amd64 ? ? ? ?Flexible Input Method Framework - X11 module and XIM frontend
ii ?fcitx-modules ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 1:4.2.9.7-3 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? amd64 ? ? ? ?Flexible Input Method Framework - core modules
ii ?fcitx-pinyin ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?1:4.2.9.7-3 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? amd64 ? ? ? ?Flexible Input Method Framework - classic Pinyin engine
ii ?fcitx-rime:amd64 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?0.3.2-6build1 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? amd64 ? ? ? ?Fcitx wrapper for RIME engine
ii ?fcitx-sunpinyin:amd64 ? ? ? ? ? ? ? ? ? ? ? ? 0.4.2-2build1 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? amd64 ? ? ? ?fcitx wrapper for Sunpinyin IM engine
ii ?fcitx-table ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 1:4.2.9.7-3 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? amd64 ? ? ? ?Flexible Input Method Framework - table engine
ii ?fcitx-table-all ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 1:4.2.9.7-3 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? all ? ? ? ? ?Flexible Input Method Framework - tables metapackage
ii ?fcitx-tools ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 1:4.2.9.7-3 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? amd64 ? ? ? ?Flexible Input Method Framework - various tools
ii ?fcitx-ui-classic ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?1:4.2.9.7-3 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? amd64 ? ? ? ?Flexible Input Method Framework - Classic user interface
ii ?fcitx-ui-light ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?0.1.3-3 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? amd64 ? ? ? ?light weight xlibs and xft based UI for Fcitx
ii ?fcitx-ui-qimpanel ? ? ? ? ? ? ? ? ? ? ? ? ? ? 2.1.3-2build1 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? amd64 ? ? ? ?Flexible Input Method Framework - Qt IMPanel user interface
ii ?gir1.2-fcitx-1.0 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?1:4.2.9.7-3 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? amd64 ? ? ? ?GObject introspection data for fcitx
ii ?kde-config-fcitx ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?0.5.5-2build1 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? amd64 ? ? ? ?KDE configuration module for Fcitx
ii ?libfcitx-config4:amd64 ? ? ? ? ? ? ? ? ? ? ? ?1:4.2.9.7-3 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? amd64 ? ? ? ?Flexible Input Method Framework - configuration support library
ii ?libfcitx-core0:amd64 ? ? ? ? ? ? ? ? ? ? ? ? ?1:4.2.9.7-3 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? amd64 ? ? ? ?Flexible Input Method Framework - library of core functions
ii ?libfcitx-gclient1:amd64 ? ? ? ? ? ? ? ? ? ? ? 1:4.2.9.7-3 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? amd64 ? ? ? ?Flexible Input Method Framework - D-Bus client library for Glib
ii ?libfcitx-qt0:amd64 ? ? ? ? ? ? ? ? ? ? ? ? ? ?1:4.2.9.6-5 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? amd64 ? ? ? ?Flexible Input Method Framework - Meta package for Qt library
ii ?libfcitx-qt5-1:amd64 ? ? ? ? ? ? ? ? ? ? ? ? ?1.2.4-1build2 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? amd64 ? ? ? ?Free Chinese Input Toy of X - D-Bus client libraries for Qt5
ii ?libfcitx-qt5-data ? ? ? ? ? ? ? ? ? ? ? ? ? ? 1.2.4-1build2 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? all ? ? ? ? ?Free Chinese Input Toy of X - data files for Qt5 integration
ii ?libfcitx-utils0:amd64 ? ? ? ? ? ? ? ? ? ? ? ? 1:4.2.9.7-3 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? amd64 ? ? ? ?Flexible Input Method Framework - utility support library
?
?
搜狗輸入法正常運行時需要的進程
| 版本 | 進程 |
| 2.3.1.0112 | appleyu+?? 28658?? 28579? 0 22:46 ???????? 00:00:00 /usr/bin/ssh-agent /usr/bin/sogou-session /usr/bin/im-launch startxfce4 |
| 2.4.0.2942 | appleyuchi@Desktop:~$ ps -ef|grep sogou appleyu+ ? 55118 ? ? ? 1 ?0 16:21 ? ? ? ? ?00:00:16 /opt/sogoupinyin/files/bin/sogoupinyinService appleyu+ ? 55329 ? ? ? 1 ?0 16:21 ? ? ? ? ?00:00:22 /opt/sogoupinyin/files/bin/sogoupinyinService-watchdog appleyu+ ?130580 ?130332 ?0 18:03 pts/2 ? ?00:00:00 grep --color=auto sogou |
?
?
發現2.4安裝后居然需要重啟,醉了。
?
搜狗輸入法正常運行時需要的fcitx進程有:
(Python3.6) appleyuchi@Desktop:~$ ps -ef|grep fcitx
appleyu+ ? 55071 ? ? ? 1 ?0 16:21 ? ? ? ? ?00:00:07 /usr/bin/fcitx -d
appleyu+ ? 55083 ? ? ? 1 ?0 16:21 ? ? ? ? ?00:00:02 /usr/bin/dbus-daemon --syslog --fork --print-pid 5 --print-address 7 --config-file /usr/share/fcitx/dbus/daemon.conf
appleyu+ ? 55089 ? ? ? 1 ?0 16:21 ? ? ? ? ?00:00:00 /usr/bin/fcitx-dbus-watcher unix:abstract=/tmp/dbus-qaibVtk4IN,guid=f27eac81cea4460f92cdffbc5fec3884 55083
appleyu+ ?128459 ?128205 ?0 18:00 pts/1 ? ?00:00:00 grep --color=auto fcitx
?
搜狗輸入法正常運行時不要安裝百度輸入法Linux版本,會導致無法切換到搜狗輸入法。
?
?
總結
以上是生活随笔為你收集整理的ubuntu20.04安装搜狗输入法(社区版+个人版)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 孝感槐荫论坛交友(孝感槐荫论坛网站)
- 下一篇: apache/nginx/tomcat的