Compose key

From Gentoo Wiki
Jump to:navigation Jump to:search
This article is a stub. Please help out by expanding it - how to get started.
Resources

The Compose key, also known as Multi_key on the X Window System, allows one to combine several keys into one character (e.g. compose o / to form ø, or compose = e to form €).

Configuration

Note: there is no compose key defined by default.

Xorg

The user can specify it in XkbOptions:

FILE /etc/X11/xorg.conf.d/keyboard.conf
Section "InputClass"
        Identifier          "Keyboard0"
        MatchIsKeyboard     "on"
        Option "XkbLayout"  "us,ru"
        Option "XkbOptions" "grp:alt_shift_toggle,compose:rctrl"
EndSection

…or through graphical front-ends such as x11-misc/qxkb

Wayland

Sway

To set the compose key to Right Control, update your Sway config with:

FILE ~/.config/sway/config
...
input * xkb_options compose:rctrl
...

Key combinations

See the Arch wiki for how to list and modify key combinations.

See also

External resources