Table of Contents
1 About Rime
Rime is the best chinese input method that I have ever met. It can be customized according to my habits and perferred settings.
2 ibus-rime
2.1 installation
fcitx-rime
is a better choice for vim users. But ibus-rime
is more stable and updated.
sudo apt-get install ibus ibus-rime fcitx-rime |
~/.config/ibus/rime
is ibus-rime
's default config file path. It's recommended to use *.custom.yaml
to save user's own configuration instead of modifying default files.
2.2 issues
Run ibus-setup
to set pannel and candidate preference, for ibus-rime
having no permissions to modify ibus
configuration.
If ibus-rime
is missing in system tray, check /usr/share/ibus-rime/icons/zhung.svg
. Copy it as zhung.png, then open and save as zhung.svg.
3 squirrel
MacOS version of rime is named squirrel
, and with fcitx-remote-for-osx
it become an amazing input-method.
3.1 squirrel.custom.yaml
patch: |
3.2 modified color scheme
patch: # us_keyboard_layout: true show_notifications_when: appropriate style: color_scheme: apathy preset_color_schemes: apathy: name: "冷漠 / Apathy" author: "LIANG Hai " horizontal: true # 水平排列 inline_preedit: true #单行显示,false 双行显示 candidate_format: "%c\u2005%@\u2005" # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间。 corner_radius: 5 #候选条圆角 border_height: 6 # 窗口边界高度,大于圆角半径才生效 border_width: 6 # 窗口边界宽度,大于圆角半径才生效 back_color: 0xFFFFFF #候选条背景色 border_color: 0xE0B693 # 边框色 font_face: ".AdobeSHSDeskSC-Regular" #候选词字体 font_point: 16 #候选字词大小 text_color: 0x424242 #高亮选中词颜色 label_font_face: "SourceCodePro-Regular" #候选词编号字体 label_font_point: 13 #候选编号大小 label_color: 0x9e9e9e # 预选栏编号颜色 candidate_text_color: 0x000000 # 预选项文字颜色 text_color: 0x9e9e9e # 拼音行文字颜色,24 位色值,16 进制,BGR 顺序 comment_text_color: 0x999999 # 拼音等提示文字颜色 hilited_text_color: 0x9e9e9e # 高亮拼音 (需要开启内嵌编码) hilited_candidate_text_color: 0x000000 # 第一候选项文字颜色 hilited_candidate_back_color: 0xfff0e4 # 第一候选项背景背景色 hilited_candidate_label_color: 0x9e9e9e # 第一候选项编号颜色 hilited_comment_text_color: 0x9e9e9e # 注解文字高亮 "app_options/com.runningwithcrayons.Alfred-3/ascii_mode": true # "app_options/org.gnu.Emacs/ascii_mode": true
3.3 luna_pinyin.custom.yaml
# luna_pinyin.custom.yaml |