{"id":412,"date":"2019-11-14T22:58:35","date_gmt":"2019-11-14T22:58:35","guid":{"rendered":"http:\/\/blog.davcloud.top\/?p=412"},"modified":"2020-06-13T10:12:17","modified_gmt":"2020-06-13T10:12:17","slug":"add-chinese-pinyin-input-with-ibus-on-ubuntu-16-04","status":"publish","type":"post","link":"https:\/\/blog.davcloud.top\/?p=412","title":{"rendered":"Add Chinese pinyin input with iBus on Ubuntu 16.04"},"content":{"rendered":"\n<h2>Abstract<\/h2>\n\n\n\n<p>This article aims at adding Chinese pinyin input with iBus on Ubuntu 16.04.<\/p>\n\n\n\n<p class=\"has-text-color has-vivid-green-cyan-color\">Note: Though this is for Ubuntu 16.04.6, it may still adapt to the similar version like Ubuntu 18.04.<\/p>\n\n\n\n<h2>Step 1. Add Chinese language environment in settings.<\/h2>\n\n\n\n<p>To install Chinese pinyin input, Chinese language environment is required to be installed at first. Go to System Settings\/Language Support, click &#8220;Install\/Remove Languages&#8230;&#8221; button.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"523\" height=\"464\" src=\"https:\/\/blog.davcloud.top:1443\/wp-content\/uploads\/2019\/11\/image-24.png\" alt=\"\" class=\"wp-image-420\" srcset=\"https:\/\/blog.davcloud.top\/wp-content\/uploads\/2019\/11\/image-24.png 523w, https:\/\/blog.davcloud.top\/wp-content\/uploads\/2019\/11\/image-24-300x266.png 300w\" sizes=\"(max-width: 523px) 100vw, 523px\" \/><\/figure><\/div>\n\n\n\n<p>Select Chinese(Simplified), and click &#8220;Apply&#8221; to add Chinese language environment.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"550\" height=\"490\" src=\"https:\/\/blog.davcloud.top:1443\/wp-content\/uploads\/2019\/11\/image-25.png\" alt=\"\" class=\"wp-image-421\" srcset=\"https:\/\/blog.davcloud.top\/wp-content\/uploads\/2019\/11\/image-25.png 550w, https:\/\/blog.davcloud.top\/wp-content\/uploads\/2019\/11\/image-25-300x267.png 300w\" sizes=\"(max-width: 550px) 100vw, 550px\" \/><\/figure><\/div>\n\n\n\n<h2>Step 2. Install Chinese pinyin input with iBus.<\/h2>\n\n\n\n<p>Open a terminal run the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update\nsudo apt upgrade\nsudo apt install ibus-pinyin<\/code><\/pre>\n\n\n\n<h2>Step 3. Reboot<\/h2>\n\n\n\n<h2>Step 4. Add Chinese pinyin to input lists.<\/h2>\n\n\n\n<p>Choose the &#8220;Text Entry Settings&#8221; as shown below:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"211\" height=\"127\" src=\"https:\/\/blog.davcloud.top:1443\/wp-content\/uploads\/2019\/11\/image-28.png\" alt=\"\" class=\"wp-image-428\"\/><\/figure><\/div>\n\n\n\n<p>Click &#8220;+&#8221; to search and add Chinese pinyin input:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"856\" height=\"491\" src=\"https:\/\/blog.davcloud.top:1443\/wp-content\/uploads\/2019\/11\/image-29.png\" alt=\"\" class=\"wp-image-429\" srcset=\"https:\/\/blog.davcloud.top\/wp-content\/uploads\/2019\/11\/image-29.png 856w, https:\/\/blog.davcloud.top\/wp-content\/uploads\/2019\/11\/image-29-300x172.png 300w, https:\/\/blog.davcloud.top\/wp-content\/uploads\/2019\/11\/image-29-768x441.png 768w\" sizes=\"(max-width: 856px) 100vw, 856px\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"418\" height=\"403\" src=\"https:\/\/blog.davcloud.top:1443\/wp-content\/uploads\/2019\/11\/image-30.png\" alt=\"\" class=\"wp-image-431\" srcset=\"https:\/\/blog.davcloud.top\/wp-content\/uploads\/2019\/11\/image-30.png 418w, https:\/\/blog.davcloud.top\/wp-content\/uploads\/2019\/11\/image-30-300x289.png 300w\" sizes=\"(max-width: 418px) 100vw, 418px\" \/><\/figure><\/div>\n\n\n\n<h2>Step 5. Fix input error bug.<\/h2>\n\n\n\n<p>In some situation, a input error bug may cause incorrect input with pinyin. Set the preferences as shown below:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"856\" height=\"491\" src=\"https:\/\/blog.davcloud.top:1443\/wp-content\/uploads\/2019\/11\/image-31.png\" alt=\"\" class=\"wp-image-434\" srcset=\"https:\/\/blog.davcloud.top\/wp-content\/uploads\/2019\/11\/image-31.png 856w, https:\/\/blog.davcloud.top\/wp-content\/uploads\/2019\/11\/image-31-300x172.png 300w, https:\/\/blog.davcloud.top\/wp-content\/uploads\/2019\/11\/image-31-768x441.png 768w\" sizes=\"(max-width: 856px) 100vw, 856px\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"458\" height=\"539\" src=\"https:\/\/blog.davcloud.top:1443\/wp-content\/uploads\/2019\/11\/image-32.png\" alt=\"\" class=\"wp-image-435\" srcset=\"https:\/\/blog.davcloud.top\/wp-content\/uploads\/2019\/11\/image-32.png 458w, https:\/\/blog.davcloud.top\/wp-content\/uploads\/2019\/11\/image-32-255x300.png 255w\" sizes=\"(max-width: 458px) 100vw, 458px\" \/><\/figure><\/div>\n\n\n\n<p>And run the command below in terminal:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo ibus-daemon -drx<\/code><\/pre>\n\n\n\n<p>All finished and the input will work correctly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Abstract This article aims at adding Chinese pinyin input with iBus on Ubuntu 16.04. Note: Though this is for Ubuntu 16.04.6, it may still adapt to the similar version like Ubuntu 18.04. Step 1. Add Chinese language environment in settings. To install Chinese pinyin input, Chinese language environment is required to be installed at first. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[13],"tags":[113,25],"_links":{"self":[{"href":"https:\/\/blog.davcloud.top\/index.php?rest_route=\/wp\/v2\/posts\/412"}],"collection":[{"href":"https:\/\/blog.davcloud.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.davcloud.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.davcloud.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.davcloud.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=412"}],"version-history":[{"count":12,"href":"https:\/\/blog.davcloud.top\/index.php?rest_route=\/wp\/v2\/posts\/412\/revisions"}],"predecessor-version":[{"id":1398,"href":"https:\/\/blog.davcloud.top\/index.php?rest_route=\/wp\/v2\/posts\/412\/revisions\/1398"}],"wp:attachment":[{"href":"https:\/\/blog.davcloud.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=412"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.davcloud.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=412"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.davcloud.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=412"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}