Commit c56cd06b authored by intrigeri's avatar intrigeri

Switch Japanese input method from Anthy to Mozc (refs: #16719)

A Japanese speaker (passis12345678) tells us that:

"I don't think any Japanese users would agree that Anthy is better than Mozc.
The accuracy of Mozy's Kanji conversion is clearly superior to that of Anthy.
I’ve never seen or heard of anyone who likes Anthy.
Any Japanese user would be happy to replace Anthy with Mozc."

They also note that ibus-anthy has one advantage over ibus-mozc: it defaults to
Japanese input, while ibus-mozc defaults to alphabetic and the user has to
change the setting to Japanese every time they login. Despite that drawback,
passis12345678 thinks that switching to Mozc is worth it anyway: it's
a one-per-Tails-session annoyance, as opposed to a permanent annoyance while
typing in Japanese.

This would be fixed by fcitx-mozc (which defaults to Japanese), but switching to
fcitx is another, much bigger matter: IBus seems to be much better integrated
into GNOME than fcitx. Let's stick to IBus for now and try this minimal change.
parent a6a3be33
......@@ -6,9 +6,7 @@ set -e
echo "Setting mtime on large files whose content generally do not change"
touch --no-create -t 197001010000 \
/usr/lib/locale/locale-archive \
/usr/share/ppd/hplip/HP/*.ppd \
/var/lib/anthy/anthy.dic \
find /usr/share/doc/tails/website -depth -exec \
touch --no-create -t 197001010000 '{}' \;
......@@ -23,24 +23,24 @@ fi
LANGPREFIX=`echo "$LANG" | sed 's/_.*//'`
case "$LANGPREFIX" in
PRELOAD="['anthy', 'libpinyin', 'hangul', 'Unikey', 'chewing']"
SOURCES="[$SOURCES, ('ibus', 'anthy'), ('ibus', 'libpinyin'), ('ibus', 'chewing'), ('ibus', 'hangul'), ('ibus', 'Unikey')]"
PRELOAD="['mozc-jp', 'libpinyin', 'hangul', 'Unikey', 'chewing']"
SOURCES="[$SOURCES, ('ibus', 'mozc-jp'), ('ibus', 'libpinyin'), ('ibus', 'chewing'), ('ibus', 'hangul'), ('ibus', 'Unikey')]"
PRELOAD="['hangul', 'libpinyin', 'anthy', 'Unikey', 'chewing']"
SOURCES="[$SOURCES, ('ibus', 'hangul'), ('ibus', 'libpinyin'), ('ibus', 'chewing'), ('ibus', 'anthy'), ('ibus', 'Unikey')]"
PRELOAD="['hangul', 'libpinyin', 'mozc-jp', 'Unikey', 'chewing']"
SOURCES="[$SOURCES, ('ibus', 'hangul'), ('ibus', 'libpinyin'), ('ibus', 'chewing'), ('ibus', 'mozc-jp'), ('ibus', 'Unikey')]"
PRELOAD="['Unikey', 'hangul', 'libpinyin', 'anthy', 'chewing']"
SOURCES="[$SOURCES, ('ibus', 'Unikey'), ('ibus', 'hangul'), ('ibus', 'libpinyin'), ('ibus', 'chewing'), ('ibus', 'anthy')]"
PRELOAD="['Unikey', 'hangul', 'libpinyin', 'mozc-jp', 'chewing']"
SOURCES="[$SOURCES, ('ibus', 'Unikey'), ('ibus', 'hangul'), ('ibus', 'libpinyin'), ('ibus', 'chewing'), ('ibus', 'mozc-jp')]"
PRELOAD="['libpinyin', 'chewing', 'anthy', 'hangul', 'Unikey']"
SOURCES="[$SOURCES, ('ibus', 'libpinyin'), ('ibus', 'chewing'), ('ibus', 'anthy'), ('ibus', 'hangul'), ('ibus', 'Unikey')]"
PRELOAD="['libpinyin', 'chewing', 'mozc-jp', 'hangul', 'Unikey']"
SOURCES="[$SOURCES, ('ibus', 'libpinyin'), ('ibus', 'chewing'), ('ibus', 'mozc-jp'), ('ibus', 'hangul'), ('ibus', 'Unikey')]"
PRELOAD="['libpinyin', 'anthy', 'hangul', 'Unikey', 'chewing']"
SOURCES="[$SOURCES, ('ibus', 'libpinyin'), ('ibus', 'anthy'), ('ibus', 'hangul'), ('ibus', 'Unikey'), ('ibus', 'chewing')]"
PRELOAD="['libpinyin', 'mozc-jp', 'hangul', 'Unikey', 'chewing']"
SOURCES="[$SOURCES, ('ibus', 'libpinyin'), ('ibus', 'mozc-jp'), ('ibus', 'hangul'), ('ibus', 'Unikey'), ('ibus', 'chewing')]"
......@@ -287,7 +287,7 @@ ibus-libpinyin
## Chinese ZhuYin (Bopomofo)
## Japanese
## Korean
## Vietnamese
......@@ -752,7 +752,7 @@ Additionally, Tails installs by default:
### 3.3.3 Input methods
Tails ships with IBus and a few engines (Anthy for Japanese, Pinyin
Tails ships with IBus and a few engines (Mozc for Japanese, Pinyin
and Bopomofo for Chinese, and Hangul for Korean).
A login script prepares and configures IBus. When a Japanese,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment