拥抱即将到来的未来 發表於 2023-12-29 00:00:00

Ubuntu12.04下无法使用中文输入法的解决方法

<p>
        <span style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'>这段时间使用公司服务器时候发现Linux上竟然没有中文输入法,经过一番折腾后,终于把这个问题解决,将过程记录如下: </span><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><span style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'>1.首先安装ibus框架,打开终端,输入如下命令 </span><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><span style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'>sudo add-apt-repository ppa:shawn-p-huang/ppa </span><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><span style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'>sudo apt-get update </span><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><span style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'>sudo apt-get install ibus-gtk ibus-qt4 ibus-pinyin ibus-pinyin-db-open-phrase </span><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><span style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'>2.然后进入SystemSettings--&gt;LanguageSupport,如果它提示要自动更新,我们就自动更新,然后在最下面将(keyboard input method system)选为ibus,貌似因为环境下ibus默认是不启动的 </span><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><span style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'>3.这个时候我们发现任务栏还是没有输入法,不要紧我们接着进入屏幕左上角的DashHome,在搜索中输入ibus,点击回车,这个时候上方的任务栏已经有小键盘图标了,右键点击它的Preference功能设置,接着点击Input Method ,在下拉框中可以找到你的输入法,这里我使用的是Google 拼音 </span><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><span style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'>至此,已解决中文输入法的问题。</span></p>
頁: [1]
查看完整版本: Ubuntu12.04下无法使用中文输入法的解决方法