rime - weakish/cheat GitHub Wiki

Under ~/.config/{ibus,fcitx}/rime/:

  • *.custom.yaml and user.yaml: configure files.
  • *.userdb.kct: user dictionary.

Export and import user dictionary:

; cd ~/.config/{ibus,fcitx}/rime/
; rime_dict_manager --list # list avaiable dictionries
luna_pinyin
; rime_dict_manager --export luna_pinyin luna_pinyin.userdb.kct.txt
: rime_dict_manager --import luna_pinyin luna_pinyin.userdb.kct.txt

Note that you need to close/kill rime before importing/exporting. (Or copying *.userdb.kct to another directory to export and delete *.userdb.kct before import.)