Created
May 9, 2019 21:34
-
-
Save andrewjong/8909d166135b3b7ff5ff5ba73cfd6b32 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# from https://github.com/giswqs/manjaro-linux/blob/master/08-input-methods | |
echo "Installing input methods ..." | |
pkgs="adobe-source-han-sans-cn-fonts adobe-source-han-serif-cn-fonts fcitx kcm-fcitx fcitx-gtk2 fcitx-gtk3 fcitx-qt4 fcitx-qt5 fcitx-ui-light fcitx-table-other" | |
echo $pkgs | |
trizen -S $pkgs --noconfirm | |
touch ~/.xprofile | |
echo "export GTK_IM_MODULE=fcitx" >> ~/.xprofile | |
echo "export QT_IM_MODULE=fcitx" >> ~/.xprofile | |
echo "export XMODIFIERS=@im=fcitx" >> ~/.xprofile | |
echo "Installation finished!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment