System Settings-Language Support:
Add or delete languages:
ibus input method installation:
Sudo apt-get install lbus lbus lbus-clutter-gtk lbus-gtk3 lbus-qt4
Error:
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-4.15.0-120-generic with 1.
dpkg: Error processing package initramfs-tools (--configure):
child process has been The installation post-installation script returns an error status 1
is processing the trigger for libc-bin (2.23-0ubuntu11.2)...
An error occurred during processing:
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
For the solution, check another blog of the blogger:
https://blog.csdn.net/neptune4751/article/details/109201232
Install ibus framework:
im-config -s ibus
Switch to the ibus framework and install the pinyin engine:
sudo apt-get install ibus-pinyin
Call up ibus Preference to add the pinyin input method:
sudo ibus-setup
Added Chinese-Pinyin input method, ibus Pinyin input method is installed and configured successfully.
System input method settings
Add ibus pinyin input method in System Settings–>Text Entry, and check Show current input source in the menu bar, so that the input method switching icon will be displayed on the system menu bar.
reference: