fcitx安装配置后无法输入中文求解

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
大德鲁伊
帖子: 33
注册时间: 2016-12-05 18:44
系统: windows7

fcitx安装配置后无法输入中文求解

#1

帖子 大德鲁伊 » 2017-12-26 8:51

(1)我按照网上的方法输入sudo apt-get install fcitx-tabel-wbpy对fcitx进行了安装如图一所示;
(2)我在Text Entry里面添加了Chinese,如图二所示;
(3)我在Language Suport里面将Keyboard input method system里面设定为fcitx,奇怪的是这里Language标签下“汉语(中国)“是无法选定的;
(4)我重启了计算机,但fcitx还是无法输入汉语。
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
求教各位大神指点一二,还应当进行怎样的设置才能使fcitx正常输入汉语?我装的是Ubuntu 16.04 LTS版本
附件
alex@alex-System-Product-Name_ ~_006.png
Text Entry_005.png
Language Support_004.png
头像
九天星
帖子: 1440
注册时间: 2007-07-14 20:45

Re: fcitx安装配置后无法输入中文求解

#2

帖子 九天星 » 2017-12-26 9:02

你应该是没有安装中文语言包吧,你目前的系统都还是英文的。

代码: 全选

sudo apt-get update

代码: 全选

sudo apt-get dist-upgrade
你应该是刚装好系统,而且取消了中文语言包的安装提示。
所以第二个命令升级应该要很久。

这两个命令执行后重启,如果没有变成中文的,那么就如图中所示点,将中文简体打上勾,然后点确定安装。
选区_226.png




406941848.jpg
头像
astolia
论坛版主
帖子: 6421
注册时间: 2008-09-18 13:11

Re: fcitx安装配置后无法输入中文求解

#3

帖子 astolia » 2017-12-26 16:42

楼上瞎扯

系统里的设置只针对自带的ibus输入法框架,fcitx框架的设置是另外的一套

sudo apt install fcitx-config-gtk fcitx-module-x11 fcitx-frontend-gtk2 fcitx-frontend-gtk3 fcitx-frontend-qt4 fcitx-frontend-qt5

然后运行fcitx-config-gtk3运行设置程序。在Input Method标签页里添加具体的输入法。
另外运行im-config来修改环境变量,让fcitx作为默认输入法
头像
九天星
帖子: 1440
注册时间: 2007-07-14 20:45

Re: fcitx安装配置后无法输入中文求解

#4

帖子 九天星 » 2017-12-26 23:35

请题主出来公布最后结果,看谁是在瞎扯!
大德鲁伊
帖子: 33
注册时间: 2016-12-05 18:44
系统: windows7

Re: fcitx安装配置后无法输入中文求解

#5

帖子 大德鲁伊 » 2017-12-27 13:08

我刚刚在两位大神的帮助、启发下解决了这个问题,点击任务栏上面的键盘按钮,下拉点击ConfigureFcitx,在Input Method添加了Pinyin和Wubipinyin两个选项,然后可以进行汉字输入了。
谢谢两位大神的帮助。两位大神给出的命令我都尝试过了,里面还有令我困惑的内容,稍后再请教。
头像
九天星
帖子: 1440
注册时间: 2007-07-14 20:45

Re: fcitx安装配置后无法输入中文求解

#6

帖子 九天星 » 2017-12-27 15:21

原来我们两人都是在瞎扯 :Cry :Cry :Cry
大德鲁伊
帖子: 33
注册时间: 2016-12-05 18:44
系统: windows7

Re: fcitx安装配置后无法输入中文求解

#7

帖子 大德鲁伊 » 2017-12-27 16:22

九天星 写了:你应该是没有安装中文语言包吧,你目前的系统都还是英文的。

代码: 全选

sudo apt-get update

代码: 全选

sudo apt-get dist-upgrade
你应该是刚装好系统,而且取消了中文语言包的安装提示。
所以第二个命令升级应该要很久。

这两个命令执行后重启,如果没有变成中文的,那么就如图中所示点,将中文简体打上勾,然后点确定安装。
附件 选区_226.png 已经无效
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
我执行了那两个命令,然后进入System Settings>>Language Support>>Install/Remove Languages里面的还是我之前打勾的那两项Chinese(Simplified)和English
,如图所示。
另外请教:sudo apt-get dist-upgrade是对系统和所有已安装的软件进行更新吗?谢谢!!!


附件 406941848.jpg 已经无效
附件
2017_12_27 下午4_17 Office Lens.jpg
大德鲁伊
帖子: 33
注册时间: 2016-12-05 18:44
系统: windows7

Re: fcitx安装配置后无法输入中文求解

#8

帖子 大德鲁伊 » 2017-12-27 16:52

astolia 写了:楼上瞎扯

系统里的设置只针对自带的ibus输入法框架,fcitx框架的设置是另外的一套

sudo apt install fcitx-config-gtk fcitx-module-x11 fcitx-frontend-gtk2 fcitx-frontend-gtk3 fcitx-frontend-qt4 fcitx-frontend-qt5

然后运行fcitx-config-gtk3运行设置程序。在Input Method标签页里添加具体的输入法。
另外运行im-config来修改环境变量,让fcitx作为默认输入法
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
以下是两个命令的执行情况(后一个命令似乎是执行失败的,但是后面您所指导的在ConfigureFcitx下Input Method中添加了相应的输入法后,就能够输入汉语了,在此表示感谢;另外我在第二次运行该命令时,Input Method Configuration窗口是自动跳出来的,且在执行命令后不再报错,而是出现了一句话:** Message: fcitx-config-gtk3 is running.):
khadgar@khadgar-System-Product-Name:~$ sudo apt install fcitx-config-gtk fcitx-module-x11 fcitx-frontend-gtk2 fcitx-frontend-gtk3 fcitx-frontend-qt4 fcitx-frontend-qt5
[sudo] password for khadgar:
Reading package lists... Done
Building dependency tree
Reading state information... Done
fcitx-config-gtk is already the newest version (0.4.8-3).
fcitx-config-gtk set to manually installed.
fcitx-frontend-qt5 is already the newest version (1.0.5-1).
fcitx-frontend-qt5 set to manually installed.
fcitx-frontend-gtk2 is already the newest version (1:4.2.9.1-1ubuntu1.16.04.2).
fcitx-frontend-gtk2 set to manually installed.
fcitx-frontend-gtk3 is already the newest version (1:4.2.9.1-1ubuntu1.16.04.2).
fcitx-frontend-gtk3 set to manually installed.
fcitx-frontend-qt4 is already the newest version (1:4.2.9.1-1ubuntu1.16.04.2).
fcitx-frontend-qt4 set to manually installed.
fcitx-module-x11 is already the newest version (1:4.2.9.1-1ubuntu1.16.04.2).
fcitx-module-x11 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
khadgar@khadgar-System-Product-Name:~$ fcitx-config-gtk3

(fcitx-config-gtk3:19683): GLib-GIO-CRITICAL **: g_dbus_connection_call_internal: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(fcitx-config-gtk3:19683): GLib-GIO-CRITICAL **: g_dbus_connection_call_internal: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
附件
2017_12_27 下午4_48 Office Lens.jpg
回复