Prepare the code table source file to define the mapping of characters, words, or phrases to input keystrokes.
Convert the source code table file to binary format.
# /usr/lib/im/locale/zh_CN/common/txt2bin \ source_codetable_file binary_codetable_file
You can find the txt2bin and bin2txt are utilities in the directory: /usr/lib/im/locale/zh_CN/common/
Add the code table to the input method specification file, /usr/lib/im/locale/zh_CN/sysime.cfg.
For example, if your new code table binary file is called newim.data, add the entry newim to the input method specification file, sysime.cfg.
# /etc/init.d/IIim stop
# /etc/init.d/IIim start
The new input method is ready to use when you log in to the system.