java中怎么输入中文_在Ubuntu 18.04中设置中文输入法

e9a5297ab7d60034f680953b05c4a7ba.png

(本文系搬运,图片来自网络,侵删。英语为自己翻译,水平有限,欢迎指点)

Setup Chinese Input Method in Ubuntu 18.04

Fri Oct 20 2017

The original solution was verified on Ubuntu 17.10. However it’s also verified on Ubuntu 18.04 after the 18.04 version is released.

Ubuntu 17.10 Artful Aardvark is just released. A big change in this release is that it ditches Unity for Gnome. Most likely this will be part of the next LTS version “18.04”(Confirmed on 2018-05-14, the solution below also works on Ubuntu 18.04).

Here is the instructions how to setup Chinese input method in Ubuntu Artful.

1. First, go to “Language Support”, make sure the “Chinese(simplified)” or “Chinese Traditional”(or both) is installed completely.

2. Go to “Input Method”, make sure you select “ibus” as the selected user configuration. An user logout may be required.

3. Go to “Settings -> Region & Language”, in the “Input Sources” section, add the “Chinese(Pinyin)” input method. You can also choose some other Chinese input methods here from the candicate list. For me I like to use “ibus-pinyin” input method which is installed by the “sudo apt-get install ibus-pinyin” command.

Now you should be able to see the input method icon “en/拼” on the top left corner of the desktop. Use “Super + Space” to switch the input method as normal.

Here is what the Ubuntu 17.10 desktop looks like.

9c3a3330e90457f4a298bf67e275a64b.png

在Ubuntu 18.04中设置中文输入法

2017年10月20日 星期五

旧版的解决方案已经在Ubuntu17.10上得到了验证。但是,在Ubuntu18.04后的版本发布后,该方法依然在Ubuntu18.04上起作用。

Ubuntu 17.10 “巧妙土豚”刚刚发布了。其中包含一个巨大的改变——它内置了Gnome版本的Unity。这很可能是下一个LTS版本“18.04”的一部分。(此消息在2018年5月14日得到证实,下面的解决方案在Ubuntu18.04上依然起作用)。

下面是在Ubuntu“巧妙土豚”中设置中文输入法的说明。

1. 首先打开“语言支持”,确定“中文(简体)”或“繁体中文”(或两者都)完成了安装。

2. 打开“输入法”,确定你选中了“ibus”并把它作为你的用户设置。您也许需要注销用户。

3. 打开“设置 -> 语言和地区”,在“输入源”区域,添加“中文(拼音)”输入法。在这里,你也可以从候选列表中选择其他中文输入法。我个人比较喜欢使用通过“sudo apt-get install ibus-pinyin”命令安装的“ibus-pinyin”输入法。

现在你应该能在桌面左上角看到“en/拼”的输入法图标。像平时那样,使用“Super(Windows键)键 + 空格键”切换输入法。

Ubuntu17.10的桌面看起来是这样的:

9c3a3330e90457f4a298bf67e275a64b.png
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值