Skip to content
Search

Uim

lastmod 2021-10-04created 2020-04-012 edits

How to install

sudo apt-get install uim uim-byeoru

Changing key settings

To use the right Alt key as the Korean/English toggle, you need to change the key settings.

xmodmap -e 'remove mod1 = Alt_R'
xmodmap -e 'keycode 108 = Hangul'

Changing Alt_R to Hangul

Open the /usr/share/X11/xkb/symbols/altwin file and change alt_R to Hangul.

// Meta is mapped to second level of Alt keys.
partial modifier_keys
xkb_symbols "meta_alt" {
    key <LALT> { [ Alt_L, Meta_L ] };
    key <RALT> { type[Group1] = "TWO_LEVEL",
                 symbols[Group1] = [ Hangul ] };
    modifier_map Mod1 { Alt_L, Alt_R, Meta_L, Meta_R };
//  modifier_map Mod4 {};
};

You can now toggle between Korean and English with the right Alt key.

See also

Favorite site

author Zer0 sitemap