- Install using
pacman -S
orpamac-manager
:
adobe-source-han-sans-jp-fonts
mozc
uim-mozc
- Add to
~/.xprofile
,~/.xinitrc
or~/.xsession
:
Note:uim-toolbar-gtk3-systray
displays on Cinnamon but not with GNOME3
for GNOME3 have to use the floating menuuim-toolbar-gtk3
export GTK_IM_MODULE='uim'
export QT_IM_MODULE='uim'
uim-xim &
uim-toolbar-gtk3-systray &
export XMODIFIERS='@im=uim'
-
Log out/in and test. Default is ctrl+shift to switch input methods.
-
Edit preferences using GUI:
uim-pref-gtk
Default input method: Direct # otherwise Mozc (Japanese input) will be default for all new windows
Enabled input methods: "Mozc" # just Mozc by itselfEnabled toolbar buttons: "Input mode", "Mozc tool"
Default input mode: Hiragana
Input mode menu items: "Hiragana", "Katakana", "Halfwidth Katakana", "Halfwidth Alphanumeric", "Fullwidth Alphanumeric" # removed "Direct input"
- Check if environment variables are set correctly. Using fish:
echo $XMODIFIERS
echo $GTK_IM_MODULE
echo $QT_IM_MODULE
- Manually set environment variables. Using fish:
set -x XMODIFIERS @im=uim
set -x GTK_IM_MODULE uim
set -x QT_IM_MODULE uim
-
uim-toolbar-gtk3-systray
doesn't seem to work with GNOME3 (doesn't appear in tray or anywhere at all)
(howeveruim-toolbar-gtk
anduim-toolbar-gtk3
do bring up a floating menu) -
uim-toolbar-gtk3-systray
DOES work with Cinnamon, however the systray icon is squashed