Wednesday, May 1, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 1074  / 2 Years ago, tue, march 1, 2022, 12:44:35

I have Ubuntu Server 20.04.2 LTS VM on virtualbox. After trying multiple ways I am unable to have Chinese keyboard on vm.
(I am using "ubuntu-20.04.2-live-server-amd64.iso" for my VM on virtualbox)
.
I have tried following:


sudo apt-get install language-pack-zh*  sudo apt-get install chinese*  
sudo apt install ibus-libpinyin
sudo apt-get install ibus-pinyin
# set keyboard as chinese
sudo dpkg-reconfigure keyboard-configuration

But still it types in English.


More From » server

 Answers
5

Thanks to Gunnar Hjalmarsson, just adding on to his answer I have made a descriptive post here.


To get Chinese language IME on Ubuntu Server 20.04 LTS



  1. Install ibus-libpinyin -



sudo apt install ibus-libpinyin




  1. Go to Settings > Region and Language > click on “+” and add Chinese(Pinyin) to the list
    Settings > Region and Language



  2. Click on setting gear symbol here and it will show “preferences”
    Preferences > General section
    Preferences > Pinyin mode section
    Preferences > Dictionary section



  3. Use command “ibus-setup” and it will start ibus-daemon
    dialog box after ibus-setup command




Set these environment variables to keep ibus-daemon running


It will open ibus settings –
ibus-setup General section


In input-method add “Chinese Intelligent Pinyin” and remove “Chinese Pinyin” if any
ibus-setup Input Method section
ibus-setup Advanced section



  1. Switch to Chinese language using “super(windows)+space” key, for chinese pinyin it will show IME
    Chinese IME



  2. If you get “Invalid UTF-8” error while typing in Chinese then use command –





ibus-daemon -drx



[#770] Tuesday, March 1, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
strhen

Total Points: 27
Total Questions: 111
Total Answers: 103

Location: Angola
Member since Tue, Apr 25, 2023
1 Year ago
strhen questions
;