new-install

Notes on OS intalls
git clone https://git.bracken.jp/new-install.git
Log | Files | Refs | LICENSE

commit 73e9a37f0441c62ee61a0c163de2b9a593bef2d3
parent 13ee56b8ce391dde8febe64854e996d630a5fbb3
Author: Chris Bracken <chris@bracken.jp>
Date:   Wed, 22 Apr 2020 02:51:13 -0700

FreeBSD: update Japanese IME instructions

Use ibus with mozc, since that's what I use elsewhere.

Diffstat:
Mfreebsd_install.md | 29++++++++++++++---------------
1 file changed, 14 insertions(+), 15 deletions(-)

diff --git a/freebsd_install.md b/freebsd_install.md @@ -352,34 +352,33 @@ command. See the `vtfontcvt` man page for details. Use the mechanism described (`vidfont` and `vidcontrol`) elsewhere in this document to set the font. + ### Japanese input in XWindows Setting Japanese keyboard layout with caps-lock as control: - setxkbmap jp - setxkbmap -option ctrl:nocaps + setxkbmap -layout jp -option ctrl:nocaps Installing mozc IME: - sudo install ja-fcitx-mozc zh-fcitx-configtool + sudo install ja-ibus-mozc In `~/.xinitrc`, before launching i3, add: # Use fcitx for Japanese IME. - export GTK_IM_MODULE=fcitx - export QT_IM_MODULE=xim - export XMODIFIERS=@im=fcitx + export GTK_IM_MODULE=ibus + export QT_IM_MODULE=ibus + export XMODIFIERS=@im=ibus - # Start mozc engine and fcitx IME. + # Start mozc engine and ibus IME. /usr/local/bin/mozc start - fcitx -r -d - -Configure fcitx by running `fcitx-configtool`. Using the *Available input -method* pane, add *Keyboard - Japanese* and *Mozc*. Remove US keyboard if -present (unless you're using a US keyboard). In the *Global Config* section, -change the *Trigger input method* setting by clicking the button, then pressing -the hankaku/zenkaku key. On a US keyboard, the useless bottom right 'menu' key -works well too. + ibus-daemon --xim & + +Configure ibus by running `ibus-setup`. Using the *Input Method* pane, add +*Japanese* and *Mozc*. Remove US keyboard if present (unless you're using a US +keyboard). Note that when you do this step, dbus will need to be running; this +involves either a reboot after the XWindows config steps above or manually +starting it via `service dbus start` before running `startx`. Editing kernel sources