Add key binding in Anthy (Ibus-Anthy)

I am using Anthy / Japanese keyboard in Fedora 43.

After adding the Japanese keyboard, I tried to add keyboard bindings Ctrl+H and Ctrl+K for switching to Hiragana or Katakana. I started by enabling shortcutkey editing in the system menu. But when I try to add or edit Ctrl+H for switching to Hiragana nothing is added.

How can I add a shortcut?

Ben

EDIT

Apparantly I changed more than I thought. Several shortcuts such as Ctrl+C, Ctrl+V and Ctrl+S no longer work when using the Japanese Anthy keyboard.

Hoe can I restore the original shortcut keys?

I’m not sure how you modified the shortcut keys but you can run the ibus-anthy settings with the menu of the keyboard indicator panel icon or invoke /usr/libexec/ibus-setup-anthy directly.

Ctrl-H is assigned to the ā€œbackspaceā€ key by default so you need to delete the setting at first and you can assign it to the ā€œon_offā€ key.

I used the menu of the keyboard indicator to get into this app.

When selecting katakana_mode → Edit a dialog pops up. In that dialog yesterday I tried to enter a code by either typing the string ā€˜Ctrl+h’ or pressing (left)Ctrl+H. Neither worked.

Today I tried again and this time it worked! (But I can’t understand what has changed :wink: )

I edited the shortcut for ā€˜backspace’ and after deleting Ctrl+H I assigned that key to hiragana-mode. Everything is working fine now.

1 Like