summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWinterFairy <winterfairy@riseup.net>2013-11-06 20:18:56 +0000
committerWinterFairy <winterfairy@riseup.net>2013-11-07 08:43:55 +0000
commit33efeb2be9a1889ba3964268090384c95403c94c (patch)
tree965bc9e8c6b4b3a3ee9f2498461db759be5e3da4
parentd6931c6f4cf20a771d5e45891b0dfec7c03bfbe0 (diff)
Add bopomofo as a configured input method too.
It is installed, and apparently (according to Wikipedia) preferred over pinyin in some regions in China. Now it is selectable in the applet too.
-rw-r--r--config/chroot_local-includes/etc/X11/Xsession.d/80im-starter7
1 files changed, 4 insertions, 3 deletions
diff --git a/config/chroot_local-includes/etc/X11/Xsession.d/80im-starter b/config/chroot_local-includes/etc/X11/Xsession.d/80im-starter
index 9d5e9a3..51c54b5 100644
--- a/config/chroot_local-includes/etc/X11/Xsession.d/80im-starter
+++ b/config/chroot_local-includes/etc/X11/Xsession.d/80im-starter
@@ -9,17 +9,18 @@
# Deside order in which input methods are preferred
# (chinese needs pinyin, japanese needs anthy, korean needs hangul)
+# (bopomofo is an alternative input method for chinese)
LANGPREFIX=`echo "$LANG" | sed 's/_.*//'`
case "$LANGPREFIX" in
ja)
- PREFLIST='[anthy,pinyin,hangul]'
+ PREFLIST='[anthy,pinyin,hangul,bopomofo]'
;;
ko)
- PREFLIST='[hangul,pinyin,anthy]'
+ PREFLIST='[hangul,pinyin,anthy,bopomofo]'
;;
*)
- PREFLIST='[pinyin,anthy,hangul]'
+ PREFLIST='[pinyin,anthy,hangul,bopomofo]'
esac
# Configure enabled input methods and their preferred order