1.7 KiB
layout | title | permalink | redirect_from | |||
---|---|---|---|---|---|---|
doc | Language Localization | /doc/language-localization/ |
|
Language Localization
How to set up pinyin input in Qubes
The pinyin input method will be installed in a TemplateVM to make it available after restarts and across multiple AppVMs.
-
In a TemplateVM, install
ibus-pinyin
via the package manager or terminal. If the template is Fedora-based, runsudo dnf install ibus-pinyin
. If the template is Debian-based, runsudo apt install ibus-pinyin
-
Shut down the TemplateVM.
-
Start or restart an AppVM based on the template in which you installed
ibus-pinyin
and open a terminal. -
Run
ibus-setup
. -
You will likely get an error message telling you to paste the following into your bashrc:
export GTK_IM_MODULE=ibus export XMODIFIERS=@im=ibus export QT_IM_MODULE=ibus
Copy the text into your
~/.bashrc
file with your favorite text editor. You will need to do this for any AppVM in which you wish to use pinyin input. -
Set up 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. -
Set up your shortcut for switching between inputs. By default it is super-space.
If ibus-pinyin
is not enabled when you restart one of these AppVMs, open a terminal and run ibus-setup
to activate ibus again.
For further discussion, see this qubes-users thread.