Posts tagged with “rime”

PopOS/Ubuntu fcitx-rime setup

By my recommendation, my new workmate He (贺) moved to Ubuntu from windows, and he was annoyed of one thing: cannot input Chinese. And I have to google again to find out the answer. This is why I wrote this list for him like people and myself.

sudo apt install fcitx fcitx-rime
im-config  # and select fcitx as the input engine
fcitx-configtool # > Add input method, remember to tick off `Only Show Current Language`

Ubuntu 22.04 fcitx-rime/ibus-rime wubin_pinyin 配置简入繁出

为啥用 fcitx 不用ibus呢.... 一开始我确实是用的ibus,但它老人家在 google doc 的网页里不显示候选文字框,等修复不知道要等到啥时候,我就扭头换 fcitx 了。

ibus-rime, fcitx-rime 已经内置这个功能,但它的默认配置里没有使用这个功能。废话不说,贴上我的配置文件

~/.config/fcitx 或 ibus/rime/default.custom.yaml 内容如下

patch:
 style:
  display_tray_icon: true
  horizental: false
  font_point: 14
 schema_list:
    - schema: wubi_pinyin
    - schema: pinyin_simp
 ascii_composer/switch_key:
  Shift_R: commit_code
  Shift_L: commit_code

~/.config/fcitx 或 ibus/rime/wubi_pinyin.custom.yaml 内容如下:

patch:
  switches:
    - name: ascii_mode
      reset: 0
      states: [ "中文", "西文" ]
    - name: full_shape
      states: [ "半角", "全角" ]
    - name: simplification
      states: [ "汉字", "漢字" ]

  simplifier/opencc_config: s2t.json
  engine/filters:
    - simplifier
    - uniquifier

解决 ibus-rime 在 ubuntu 18.04 下中英文切换图标无变化问题

我忍受这个问题已经有快一个月了,今天打算花点时间把它解决掉。

经过一翻搜索,我发现已经有人在 ibus-rime 项目上报告了这个问题,也有人给出了解决方法。遗憾的是,那个解决方案有些含糊,我不知道需要对系统做哪些改变。

也许从源码安装能够解决问题?但我一开始走了弯路,没有认真安装文档中提到的所有依赖,毫无疑问的,编译到中间就因为缺这缺那失败了。后面我就老老实实的按照文档说明,先安装好所有的依赖,再执行 ./install.sh。然而我仍然可耻的失败了。我不知道原因....也许应该报个bug给作者。幸运的是,源码里还有一个 install-static.sh 脚本,我执行了这个脚本,结果顺利编译成功并安装。

现在我的五笔拼音也能够识别中英方式了(英文状态显示A,中文状态显示“五”),太开心了!

我是 ubuntu 18.04 (pop!os) Gnome 3 桌面,五笔拼音输入法

为方便同样用 ubuntu 18.04 的同学,我把编译前的准备工作和编译步骤列在下面:

1. 准备工作

sudo apt install cmake libboost-all-dev libibus-1.0-dev libnotify-dev libgoogle-glog-dev \
libkyotocabinet-dev libleveldb-dev libmarisa-dev libopencc-dev libyaml-cpp-dev

2. clone project and submodules:

git clone --recursive https://github.com/rime/ibus-rime.git
cd ibus-rime
# do this as normal user
./install-static.sh

3. 重启 ibus

ibus-damon -dxr 

Enjoy your favorite input method!

Virtualbox MacOS VM setup / setup Rime/Squirrel input method (鼠须管) on macOS

  1. I successfully ran macOS High Sierra on my Ubuntu 18.04 laptop through VirtualBox. VirtualBox is great ! This article helps!
  2. Install Rime on macOS in five minutes
    1. download the zip file from latest release from the Tags page on GitHUB
    2. unzip the file and install the pkg file
    3. go to https://github.com/rime/plum to get the wubi package.
git clone https://github.com/rime/plum.git
cd plum
bash rime-install wubi pinyin-simp

The last step, is creating a default.custom.yaml file and putting it in ~/Library/Rime directory.

the content in my default.custom.yaml is

patch:
  schema_list:
    - schema: wubi_pinyin
    - schema: pinyin_simp

Windows 10 小狼毫(RIME)安装五笔拼音输入法

  1. https://rime.im/ 下载安装
  2. 右键点击“中”字图标,在弹出菜单中点击“输入法设定”
  3. 在弹出窗口中点击“获取更多输入方案”,这时会弹出一个 cmd 窗口让你输入需要添加的方案
  4. 先输入 rime-wubi 回车,wubi就自动装上了
  5. 再输入 rime-pinyin-simp 回车,拼音也装上了。
  6. 回车并随手关掉这个 cmd 窗口,加输入法的工作就完成了。
  7. 回到刚才点击 “获取更多输入方案” 的窗口,勾掉你不需要的那些七七八八的输入法,选中刚刚添加上的“五笔拼音”,然后再点一下 “中”按钮 (不是右下角的“中”图标),选择一个你喜欢的风格。

Mission Accomplished!

Enjoy 你的五笔拼音吧! (By the way,写此Blog时我用的小狼毫版本是 0.14.3 )