From f5d1dd53ee5da834db8dc6832343ba419d08496a Mon Sep 17 00:00:00 2001 From: pierwill <19642016+pierwill@users.noreply.github.com> Date: Mon, 21 May 2018 23:28:05 -0500 Subject: [PATCH] Edit ibus-pinyin setup guide --- customization/language-localization.md | 27 +++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/customization/language-localization.md b/customization/language-localization.md index fa95faf5..79c22558 100644 --- a/customization/language-localization.md +++ b/customization/language-localization.md @@ -14,28 +14,33 @@ Language Localization How to set up pinyin input in Qubes ----------------------------------- -1. In the TemplateVM in which the AppVMs you would like to use pinyin input is based, please install `ibus-pinyin` via the package manager or terminal. If the template is Fedora-based, run `sudo dnf install ibus-pinyin`, if the template is Debian-based, run `sudo apt install ibus-pinyin` +The pinyin input method will be installed in a TemplateVM to make it available after restarts and across multiple AppVMs. -2. Close and shut down the TemplateVM. +1. In a TemplateVM, install `ibus-pinyin` via the package manager or terminal. + If the template is Fedora-based, run `sudo dnf install ibus-pinyin`. + If the template is Debian-based, run `sudo apt install ibus-pinyin` -3. Restart an AppVM which is based on the template you installed `ibus-pinyin` in, and open a terminal. - -4. Run `ibus-setup` +2. Shut down the TemplateVM. -5. You will likely get the error message telling you to paste the following into your bashrc: +3. Start or restart an AppVM based on the template in which you installed `ibus-pinyin` and open a terminal. + +4. Run `ibus-setup`. + +5. 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 on any AppVM in which you wish to use pinyin input. + You will need to do this for any AppVM in which you wish to use pinyin input. -6. 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. +6. 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. -7. Set up your shortcut for switching between inputs, by default it is super-space. +7. 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. +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](https://groups.google.com/forum/#!searchin/qubes-users/languge/qubes-users/VcNPlhdgVQM/iF9PqSzayacJ). -