Japanese IME (ibus + anthy/uim + anthy) not working

I use japanese very frequently.
Sometimes, when searching for some things related to some games, I also use korean, so that’s why I also have hangul setup.
When I use hangul, it works properly.
But, when using anthy, no matter what key bindings I set, it won’t work properly.
It won’t change to hiragana mode or katakana mode.

I’m using i3 with ibus. In my ibus config I’m starting the daemon with the following line
exec --no-startup-id ibus-daemon -rxRd

But, I don’t think it should be related to ibus since hangul is working properly.

Also, if that’s relevant, I also tried uim and it didn’t work properly with Anthy.

Here are some command outputs that might be relevant to the matter:
Input Method related envvars:

those are being set at the top of my ~/.profile

export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
export XMODIFIERS=@im=ibus

ibus config

anthy config



(I already tried changing those key bindings several times and it didn’t change anything)

inxi -e output:

System:
  Host: gungnir Kernel: 6.12.28-1-MANJARO arch: x86_64 bits: 64
  Desktop: i3 v: 4.24 Distro: Manjaro Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: TUF GAMING X570-PLUS_BR v: Rev X.0x
    serial: <superuser required> UEFI: American Megatrends v: 4021
    date: 08/09/2021
CPU:
  Info: 12-core model: AMD Ryzen 9 5900X bits: 64 type: MT MCP cache:
    L2: 6 MiB
  Speed (MHz): avg: 550 min/max: 550/4951 cores: 1: 550 2: 550 3: 550 4: 550
    5: 550 6: 550 7: 550 8: 550 9: 550 10: 550 11: 550 12: 550 13: 550 14: 550
    15: 550 16: 550 17: 550 18: 550 19: 550 20: 550 21: 550 22: 550 23: 550
    24: 550
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT
    / 6900 XT] driver: amdgpu v: kernel
  Device-2: Logitech C922 Pro Stream Webcam driver: snd-usb-audio,uvcvideo
    type: USB
  Display: x11 server: X.org v: 1.21.1.16 with: Xwayland v: 24.1.6 driver:
    X: loaded: amdgpu unloaded: modesetting,radeon dri: radeonsi gpu: amdgpu
    resolution: 1: 3840x2160~60Hz 2: 3840x2160~60Hz
  API: EGL v: 1.5 drivers: kms_swrast,radeonsi,swrast
    platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.0.5-arch1.1
    renderer: AMD Radeon RX 6900 XT (radeonsi navi21 LLVM 19.1.7 DRM 3.61
    6.12.28-1-MANJARO)
  API: Vulkan v: 1.4.313 drivers: radv surfaces: N/A
  Info: Tools: api: eglinfo, glxinfo, vulkaninfo x11: xprop,xrandr
Audio:
  Device-1: Advanced Micro Devices [AMD/ATI] Navi 21/23 HDMI/DP Audio
    driver: snd_hda_intel
  Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio
    driver: snd_hda_intel
  Device-3: Texas Instruments PCM2902 Audio Codec
    driver: hid-generic,snd-usb-audio,usbhid type: USB
  Device-4: Logitech C922 Pro Stream Webcam driver: snd-usb-audio,uvcvideo
    type: USB
  Device-5: Sony DualSense wireless controller (PS5)
    driver: playstation,snd-usb-audio,usbhid type: USB
  API: ALSA v: k6.12.28-1-MANJARO status: kernel-api
  Server-1: PipeWire v: 1.4.2 status: active
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8169
  IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: 00:5f:67:0a:4d:01
  Device-2: Sony DualSense wireless controller (PS5)
    driver: playstation,snd-usb-audio,usbhid type: USB
Bluetooth:
  Device-1: TP-Link Bluetooth USB Adapter driver: btusb type: USB
  Report: btmgmt ID: hci0 state: up address: 60:83:E7:AB:E6:04 bt-v: 5.1
Drives:
  Local Storage: total: 12.87 TiB used: 55.87 GiB (0.4%)
  ID-1: /dev/nvme0n1 vendor: Corsair model: MP600 PRO size: 3.64 TiB
  ID-2: /dev/nvme1n1 vendor: A-Data model: SX8200PNP size: 953.87 GiB
  ID-3: /dev/sda vendor: Samsung model: SSD 840 EVO 120GB size: 111.79 GiB
  ID-4: /dev/sdb vendor: Western Digital model: WD20EZRZ-00Z5HB0
    size: 1.82 TiB
  ID-5: /dev/sdc vendor: Toshiba model: HDWG460 size: 5.46 TiB
  ID-6: /dev/sdd vendor: Western Digital model: WD10EARS-00Y5B1
    size: 931.51 GiB
Partition:
  ID-1: / size: 953.57 GiB used: 55.87 GiB (5.9%) fs: btrfs dev: /dev/dm-0
  ID-2: /boot/efi size: 299.4 MiB used: 776 KiB (0.3%) fs: vfat
    dev: /dev/nvme1n1p1
  ID-3: /home size: 953.57 GiB used: 55.87 GiB (5.9%) fs: btrfs
    dev: /dev/dm-0
  ID-4: /var/log size: 953.57 GiB used: 55.87 GiB (5.9%) fs: btrfs
    dev: /dev/dm-0
Swap:
  ID-1: swap-1 type: file size: 512 MiB used: 0 KiB (0.0%)
    file: /swap/swapfile
Sensors:
  System Temperatures: cpu: 51.4 C mobo: N/A gpu: amdgpu temp: 59.0 C
  Fan Speeds (rpm): N/A gpu: amdgpu fan: 0
Info:
  Memory: total: 64 GiB note: est. available: 62.7 GiB used: 3.71 GiB (5.9%)
  Processes: 494 Uptime: 9m Shell: Zsh inxi: 3.3.38

ibus read-config output

SCHEMA: org.freedesktop.ibus
SCHEMA: org.freedesktop.ibus.general
  enable-by-default: false
  xkb-latin-layouts: ['af', 'af(fa-olpc)', 'af(ps-olpc)', 'af(ps)', 'af(uz)', 'af(uz-olpc)', 'am', 'am(eastern)', 'am(eastern-alt)', 'am(phonetic)', 'am(phonetic-alt)', 'am(western)', 'ara', 'ara(azerty)', 'ara(azerty_digits)', 'ara(buckwalter)', 'ara(digits)', 'ara(qwerty)', 'ara(qwerty_digits)', 'az(cyrillic)', 'bd', 'bd(probhat)', 'bg', 'bg(bas_phonetic)', 'bg(phonetic)', 'brai', 'brai(left_hand)', 'brai(right_hand)', 'bt', 'by', 'by(phonetic)', 'by(legacy)', 'ca(ike)', 'cn(tib)', 'cn(tib_asciinum)', 'cn(ug)', 'cz', 'cz(ucw)', 'de(ru)', 'dev', 'et', 'fr(geo)', 'ge', 'ge(os)', 'gr', 'gr(extended)', 'gr(nodeadkeys)', 'gr(polytonic)', 'gr(simple)', 'gur', 'il', 'il(biblical)', 'il(lyx)', 'il(phonetic)', 'id(melayu-phonetic)', 'id(melayu-phoneticx)', 'id(pegon-phonetic)', 'in', 'in(ben)', 'in(ben_baishakhi)', 'in(ben_bornona)', 'in(ben_gitanjali)', 'in(ben_inscript)', 'in(ben_probhat)', 'in(bolnagri)', 'in(deva)', 'in(guj)', 'in(guj-kagapa)', 'in(guru)', 'in(hin-kagapa)', 'in(hin-wx)', 'in(jhelum)', 'in(kan)', 'in(kan-kagapa)', 'in(mal)', 'in(mal_enhanced)', 'in(mal_lalitha)', 'in(mar-kagapa)', 'in(ori)', 'in(san-kagapa)', 'in(tam)', 'in(tamilnet)', 'in(tamilnet_TAB)', 'in(tamilnet_TSCII)', 'in(tamilnet_tamilnumbers)', 'in(tam_tamilnumbers)', 'in(tel)', 'in(tel-kagapa)', 'in(urd-phonetic)', 'in(urd-phonetic3)', 'in(urd-winkeys)', 'iq', 'ir', 'ir(azb)', 'ir(pes_keypad)', 'jp(kana)', 'jp(mac)', 'kg', 'kg(phonetic)', 'kh', 'kz', 'kz(kazrus)', 'kz(ruskaz)', 'la', 'la(stea)', 'lk', 'lk(tam_TAB)', 'lk(tam_unicode)', 'lv(modern-cyr)', 'ma', 'ma(tifinagh)', 'ma(tifinagh-alt)', 'ma(tifinagh-alt-phonetic)', 'ma(tifinagh-extended)', 'ma(tifinagh-extended-phonetic)', 'ma(tifinagh-phonetic)', 'me(cyrillic)', 'me(cyrillicalternatequotes)', 'me(cyrillicyz)', 'mk', 'mk(nodeadkeys)', 'mm', 'mn', 'mv', 'np', 'ph(capewell-dvorak-bay)', 'ph(capewell-qwerf2k6-bay)', 'ph(colemak-bay)', 'ph(dvorak-bay)', 'ph(qwerty-bay)', 'pk', 'pk(ara)', 'pk(snd)', 'pk(urd-crulp)', 'pk(urd-nla)', 'pl(ru_phonetic_dvorak)', 'rs', 'rs(alternatequotes)', 'rs(rue)', 'rs(yz)', 'ru', 'ru(bak)', 'ru(chm)', 'ru(cv)', 'ru(dos)', 'ru(kom)', 'ru(legacy)', 'ru(mac)', 'ru(os_legacy)', 'ru(os_winkeys)', 'ru(phonetic)', 'ru(phonetic_winkeys)', 'ru(sah)', 'ru(srp)', 'ru(tt)', 'ru(typewriter)', 'ru(typewriter-legacy)', 'ru(udm)', 'ru(xal)', 'se(rus)', 'se(swl)', 'sy', 'sy(syc)', 'sy(syc_phonetic)', 'th', 'th(pat)', 'th(tis)', 'tj', 'tj(legacy)', 'tz', 'ua', 'ua(homophonic)', 'ua(legacy)', 'ua(phonetic)', 'ua(typewriter)', 'ua(winkeys)', 'us(chr)', 'us(rus)', 'uz']
  use-xmodmap: true
  preload-engines: ['xkb:us:alt-intl:eng', 'hangul', 'anthy']
  dconf-preserve-name-prefixes: ['/desktop/ibus/engine/pinyin', '/desktop/ibus/engine/bopomofo', '/desktop/ibus/engine/hangul']
  use-global-engine: true
  engines-order: ['xkb:us:alt-intl:eng', 'hangul', 'anthy']
  embed-preedit-text: true
  switcher-delay-time: 400
  use-system-keyboard-layout: true
  version: '1.5.32'
SCHEMA: org.freedesktop.ibus.general.hotkey
  previous-engine: @as []
  enable-unconditional: @as []
  disable-unconditional: @as []
  next-engine: ['Alt+Shift_L']
  trigger: ['Control+space', 'Zenkaku_Hankaku', 'Alt+Kanji', 'Alt+grave', 'Hangul', 'Alt+Release+Alt_R']
  next-engine-in-menu: ['Alt+Shift_L']
  prev-engine: @as []
  triggers: ['<Alt><Super>space']
SCHEMA: org.freedesktop.ibus.panel
  show-im-name: false
  custom-font: 'Sans 10'
  custom-icon: 'Tela-circle-dark'
  show: 0
  auto-hide-timeout: 10000
  custom-theme: 'Orchis-Dark'
  x: -1
  use-custom-theme: true
  property-icon-delay-time: 500
  lookup-table-orientation: 1
  use-custom-font: false
  follow-input-cursor-when-always-shown: false
  use-custom-icon: true
  y: -1
  show-icon-on-systray: true
  use-glyph-from-engine-lang: true
  xkb-icon-rgba: '#51a2da'
SCHEMA: org.freedesktop.ibus.panel.emoji
  has-partial-match: false
  favorite-annotations: @as []
  load-unicode-at-startup: false
  partial-match-length: 3
  favorites: ['👋', '㈴']
  hotkey: ['<Super>period', '<Super>semicolon']
  lang: 'ja'
  font: 'Monospace 16'
  load-emoji-at-startup: true
  unicode-hotkey: ['<Control><Shift>u']
  partial-match-condition: 0

Is there something that I might be missing here?

I just tried ibus-mozc and it worked for me.
So I think it might have something to do with extra/anthy or extra/ibus-anthy.
I will be using mozc. If someone have any possible solution for this I will try and post updates. But for now my problem (being able to type in japanese) is solved.

1 Like