Caution: This version of this document is no longer maintained. For the latest documentation, see

Korean input method (kpim)

The Korean Photon Input Method (KPIM) is an application that lets you enter combinations of English letters in order to display Hangul/Jamo symbols.

Activating/Deactivating kpim

To run the kpim utility:


Open a pterm window and enter the following command:

kpim &

A small window appears:

kpim window

To toggle between activated and deactivated modes, press Alt-~.


When kpim is activated, and a text field from another application has focus, you can start to enter the English representation of the desired Jamo/Hangul symbol.

When kpim determines that it has a valid Jamo/Hangul symbol, it displays it within the text field. If you continue to type, and the continued input modifies the current symbol, the current symbol is updated. If the continued input doesn't coincide with an addition to the current Jamo/Hangul symbol, then the previous symbol is flushed automatically, and the text field cursor advances for the next character. If you press Enter, the buffer is flushed, the input method is reset, and the text line advances. If you press Escape, the buffer is flushed and the input method is reset.

If, at any point, you deactivate the input method, the buffers are cleared. The input method discards any input at that point.

Other features

Use the -h command-line option to hide the GUI interface, which lets you remotely control kpim via the Photon library routine PtFepCmd(). See the Photon Library Reference for more information about PtFepCmd().

Click the Click the light bulb icon to view the product help. button to view this help document.

KPIM uses mim-1.0 (the Mutt Input Method) to compose Hangul/Jamo symbols, which is freely available on the Internet, and easily configurable via the definition files (.mim files) in /usr/share/mim. You can override the location of the definition files by setting the MIMLIBDIR environment variable to another location.