I am relatively new to Ubuntu. I found out that I can't type Chinese in Slack but can elsewhere. Can't figure out why. Any one has the same problem? My ubuntu is 18.04
I installed Ubuntu 18.04 via Windows Subsystem for Linux using these official instructions.
I'm trying to get the Ubuntu terminal to show Chinese characters, like this:
ronald@LAPTOP-FLRIMKMQ:~$ 你你
However, that ends up looking like this:
Or, in text form:
ronald@LAPTOP-FLRIMKMQ:~$ ⍰ ⍰
How can I get it to show Chinese characters correctly?
I use Intelligent Pinyin Keyboard1 with ibus
in Ubuntu to input Chinese characters into my document.
The input-method
is designed in such a way that one types the pinyin
associated with a character, and then one can select it from a list of characters using numbers 0-9 on the keyboard.
Example:
Problem: in the last week, it sometimes happens that when I press a number from 0-9 the input-method does not yield a Chinese character but the digit I pressed instead. Moreover, any further keyboard input is not interpreted as an input for ibus, and merely written as-is on screen until I manually switch input-mode to pinyin
again.
What I tried, in order:
- reboot
- remove the input method configuration, and add again
- reinstall ibus-pinyin
None of these seemed to help.
Q: Does anyone know how to solve this problem?
As a side note, there seems to be a *ibus-engine-libpinyin.*.crash
file inside /var/crash
that could be related to this problem. However, I am not sure how can I trace this bug-report online and see if it has already a solution online.
edit: my current workaround is to use fcitx
instead of ibus
.. though this doesn't really solve the problem in the software.
1 Intelligent Pinyin Keyboard can be installed by the invocation of the sudo apt-get install ibus-libpinyin
and can be located in All Setting-->Text Entry-->Input sources to use-->+ as Chinese (Intelligent Pinyin) (Ibus).
I have installed these packages:
apt-get install xvfb xfonts-base xfonts-75dpi xfonts-100dpi firefox
But in my Firefox
in Xvfb
on Ubuntu Server
, the Chinese characters look like:
How to install proper fonts for my Xvfb?
EDIT: I have also installed xfonts-intl-chinese
but it doesn't help.