Part of QubesOS/qubes-issues#1202
1.7 KiB
layout | title | permalink | redirect_from | |||
---|---|---|---|---|---|---|
doc | Language Localization | /doc/language-localization/ |
|
Language Localization
How to set up pinyin input in Qubes
-
Don't try to install anything in Dom0.
-
Choose a TemplateVM in which you will be using pinyin input on AppVM instances thereof and open a terminal there.
-
Issue
sudo yum install ibus-pinyin
(or, for a Debian template,sudo apt-get install ibus-pinyin
). -
Close and shut down the TemplateVM.
-
Restart an AppVM which inherits from the template and open a terminal.
-
Issue
ibus-setup
. -
You will likely get the error message telling you to paste
export GTK_IM_MODULE=ibus export XMODIFIERS=@im=ibus export QT_IM_MODULE=ibus
into your bashrc.
Copy the text, and then issue:
sudo nano ~/.bashrc
Paste the text into the bottom of the file and press ctrl-x to save and close. You will need to do this on any AppVM in which you wish to use pinyin input. -
Setup ibus input as you like using the graphical menu (add pinyin or intelligent pinyin to selections). You can bring the menu back by issuing
ibus-setup
from a terminal. -
Use super-space as you are used to using to switch between pinyin-unicode and Latin character input.
-
Whenever you restart one of these AppVMs, you will need to open a terminal and issue
imsettings-switch ibus
to activate ibus.
For further discussion, see this thread.