Skip to content

Importing Oh-My-Rime

In the previous steps, you have learned how to install the Rime input method.

In fact, Rime can be configured as any input method, such as Minnan language input method, Wu language input method, Cantonese input method, and so on. You can also configure key mappings, such as inputting "ABC" but getting "CBA" or fuzzy pinyin.

However, all of this might be a bit complex for a new user. When exploring Rime's configuration, it is recommended to use pre-configured templates created by others, such as "Wusong Pinyin" or the "Oh-My-Rime" introduced in this article.

There are two methods for installing:

  • Manual override installation of configuration files: After downloading and installing the Rime client, manually download the Oh-my-rime configuration files, move them to the configuration directory, and then redeploy.
  • Installation of Oh-my-rime configuration via Dongfeng Po: Suitable for most desktop Rime clients, with Dongfeng Po configured, you can directly import the Oh-my-rime configuration scheme with one click.

This section mainly introduces the method of manually overriding and installing configuration files. The method using Dongfeng Po will be introduced at the end of the document.

Downloading Oh-My-Rime

Oh-My-Rime is an open-source project that uses the GPL 3.0 license. This means you can access its source code and customize it according to your needs. However, please comply with the open-source license and do not use it for commercial purposes.

Let's go to the project page of Oh-My-Rime:

Download Oh-My-Rime to your local machine: Download Oh-My-Rime

After extracting the downloaded file, the internal files should look like this: Internal files after extraction

Moving the Configuration Files

Once we have extracted Oh-My-Rime, we need to move the configuration files to Rime's configuration directory.

The default configuration file locations are:

  • For macOS with Squirrel: ~/Library/Rime/
  • For macOS Fcitx5: ~/.local/share/fcitx5/rime
  • For Windows with Weasel: %APPDATA%/Rime
  • For Linux with ibus: ~/.config/ibus/rime
  • For Linux with Fcitx5: ~/.local/share/fcitx5/rime
  • For Linux with Fcitx5(Flatpak): ~/.var/app/org.fcitx.Fcitx5/data/fcitx5
  • Android Fcitx(Fcitx5 For Android): /storage/emulated/0/Android/data/org.fcitx.fcitx5.android/files/data/rime/

Additionally, on macOS with Squirrel and Windows with Weasel, you can open the configuration directory using software. For example, on macOS: Open configuration directory using settings

For Fcitx Little Penguin on Android, you can use the MT file manager to open the address of the configuration file (you can try searching for fcitx.fcitx5 in the file manager): Finds the configuration directory through MT file manager

INFO

The picture shows that the Oh-my-rime Input Method has been installed. Otherwise, the configuration file address on the left should be an empty folder.

After opening the configuration directory, move the Oh-My-Rime configuration files into it: Move Oh-My-Rime to the configuration directory

Deploying Oh-My-Rime

After completing the above steps, we can deploy Rime, for example, on macOS with Squirrel: Apply configuration

Similarly,Fcitx5 For Android, there are some special features that need to be operated in any interface that can be entered: Fcitx5 For Android With Deploy

Once the deployment is complete, you can start using Oh-My-Rime.

⭐Oh-my-rime with Plum

If you are familiar with Plum, you can directly import the Oh-my-rime input configuration through it. The prerequisites for using Plum are:

  • Git is already installed and configured in the environment variables.

For Windows users, Weasel actually comes with a semi-finished version of Plum. You can activate Plum in Weasel's Scheme Menu Settings under Get More Input Schemes: Plum in Weasel

After that, enter the Oh-my-rime recipe in this interface:

text
Mintimate/oh-my-rime:plum/full

Installing Oh-my-rime scheme with Plum in Weasel

Note that if Git is not configured on your computer, you may need to enter plum first, which will automatically configure and download Git before activating the full version of Plum.

Activate the full version of Plum and then install the Oh-my-rime scheme

References: Windows下使用东风破安装异常Plum Wiki: 安装与更新输入方案

Guide🥳

What is the tool that displays system configuration in the Terminal? Here:摸不透系统当前状态和配置?一条命令快速查看! NeoFetch和FastFetch使用详解

If you are using macOS or Linux, you can enter the Plum command in the terminal:

bash
# Install Plum, this will clone a plum project in the current directory
curl -fsSL https://raw.githubusercontent.com/rime/plum/master/rime-install | bash
# Enter the Plum directory
cd plum

Linux install plum

In this directory, enter the Oh-my-rime recipe:

bash
# Install the Oh-my-rime input method (scheme configuration)
./rime-install Mintimate/oh-my-rime:plum/full

Linu install oh-my-rime by plum

By default:

  • macOS is automatically recognized as Squirrel, which means installing the configuration scheme to ~/Library/Rime/.
  • Linux is automatically recognized as ibus, which means installing the configuration scheme to ~/.config/ibus/rime.

If your Linux uses Fcitx5, you can specify the installation directory for the configuration files with the rime_frontend parameter or rime_dir:

bash
# Specify installation to the Fcitx configuration directory
rime_frontend=fcitx-rime bash rime-install Mintimate/oh-my-rime:plum/full
# Or specify the installation configuration directory
rime_dir="$HOME/.config/fcitx/rime" bash rime-install Mintimate/oh-my-rime:plum/full
# Specify installation to the Fcitx5 configuration directory(macOS)
rime_dir="$HOME/.local/share/fcitx5/rime" bash rime-install Mintimate/oh-my-rime:plum/full

Reference: