我第一次尝试四年前的解决方案然后,很明显单击 Fcitx 的键盘图标会通过锁定 lxpanel 冻结我的系统,我按照 #lubuntu IRC 建议卸载了软件包:
username@username-Latitude-D620:~$ sudo apt purge fcitx-frontend-gtk3 fcitx-frontend-qt4 fcitx-frontend-qt5 kde-config-fcitx
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'kde-config-fcitx' is not installed, so not removed
The following packages were automatically installed and are no longer required:
libaudio2 libfcitx-qt5-1 libmng2 libmysqlclient20 libqt4-dbus libqt4-declarative libqt4-network libqt4-script libqt4-sql libqt4-sql-mysql libqt4-xml
libqt4-xmlpatterns libqtcore4 libqtdbus4 libqtgui4 mysql-common qdbus qt-at-spi qtchooser qtcore4-l10n
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
fcitx-frontend-gtk3* fcitx-frontend-qt4* fcitx-frontend-qt5*
0 upgraded, 0 newly installed, 3 to remove and 7 not upgraded.
After this operation, 390 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 157746 files and directories currently installed.)
Removing fcitx-frontend-gtk3 (1:4.2.9.6-1) ...
Removing fcitx-frontend-qt4 (1:4.2.9.6-1) ...
Removing fcitx-frontend-qt5:i386 (1.1.1-1build3) ...
Processing triggers for libgtk-3-0:i386 (3.22.30-1ubuntu1) ...
username@username-Latitude-D620:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
libaudio2 libfcitx-qt5-1 libmng2 libmysqlclient20 libqt4-dbus libqt4-declarative libqt4-network libqt4-script libqt4-sql libqt4-sql-mysql libqt4-xml
libqt4-xmlpatterns libqtcore4 libqtdbus4 libqtgui4 mysql-common qdbus qt-at-spi qtchooser qtcore4-l10n
0 upgraded, 0 newly installed, 20 to remove and 7 not upgraded.
After this operation, 44.8 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 157733 files and directories currently installed.)
Removing qt-at-spi:i386 (0.4.0-8) ...
Removing libfcitx-qt5-1:i386 (1.1.1-1build3) ...
Removing libqt4-sql-mysql:i386 (4:4.8.7+dfsg-7ubuntu1) ...
Removing libmysqlclient20:i386 (5.7.24-0ubuntu0.18.04.1) ...
Removing libqt4-dbus:i386 (4:4.8.7+dfsg-7ubuntu1) ...
Removing qdbus (4:4.8.7+dfsg-7ubuntu1) ...
Removing mysql-common (5.8+1.0.4) ...
Removing qtchooser (64-ga1b6736-5) ...
Removing libqtgui4:i386 (4:4.8.7+dfsg-7ubuntu1) ...
Removing libaudio2:i386 (1.9.4-6) ...
Removing libmng2:i386 (2.0.2-0ubuntu3) ...
Removing libqt4-declarative:i386 (4:4.8.7+dfsg-7ubuntu1) ...
Removing libqt4-xmlpatterns:i386 (4:4.8.7+dfsg-7ubuntu1) ...
Removing libqt4-network:i386 (4:4.8.7+dfsg-7ubuntu1) ...
Removing libqt4-script:i386 (4:4.8.7+dfsg-7ubuntu1) ...
Removing libqt4-sql:i386 (4:4.8.7+dfsg-7ubuntu1) ...
Removing libqtdbus4:i386 (4:4.8.7+dfsg-7ubuntu1) ...
Removing libqt4-xml:i386 (4:4.8.7+dfsg-7ubuntu1) ...
Removing libqtcore4:i386 (4:4.8.7+dfsg-7ubuntu1) ...
Removing qtcore4-l10n (4:4.8.7+dfsg-7ubuntu1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2) ...
阅读此问答我单击了“首选项”>“语言支持”,并根据提示安装了其他语言包,即重新安装刚刚删除的包:
但是我没有像其他用户那样使用 ibus,只有 fcitx 和 XIM。fcitx 在第一次或第二次单击时会冻结 lxpanel。我该怎么办?
答案1
这是皮肤的问题,请安装 fcitx-ui-classic,先用快捷键把输入法切换为中文(或者其他的,而不是 en_US 输入法),然后点击指示器,弹出皮肤菜单,选择 classic,问题就解决了。
答案2
我确认这是选项
freedesktop.org 基于 dbus 的托盘图标
在 添加在→先进的 导致问题的原因。
运行fcitx-config-gtk3
以取消选中。
答案3
我在 Ubuntu Mate 19.10 上遇到了类似的问题,面板上的指示器小程序中的 fcitx 图标冻结了系统。我最初以为问题出在 fcitx 上,但实际上是指示器小程序,我最终将其从面板中删除。这为我解决了问题。