A key recognized by X that you can use to enter a whole range of Unicode characters with mnemonic key sequences. For example, compose-singlequote-e to enter an “é” (e-acute) character. Note this is not a “modifier” key, it’s more like a “dead” key—you press it, let it go, then press the rest of the keys in the sequence in turn.
|acute: á, é, í, ó, ú||compose-singlequote-letter|
|caret: â, ê, î, ô, û||compose-caret-letter|
|grave: à, è, ì, ò, ù||compose-backquote-letter|
|macron: ā, ē, ī, ō, ū||compose-underscore-letter|
|tilde: ã, ñ, õ||compase-tilde-letter|
|umlaut: ä, ë, ï, ö, ü||compose-doublequote-letter|
By default this function is not assigned to any key. You can tell the X server what key to use for this function with a command of the form
to assign it to the caps-lock key. (Do you use caps-lock for anything else? I don’t.) GUI environments like GNOME and KDE probably provide some way you can configure this automatically every time you login.
The key sequences you can use depend on your locale, and are defined in the file
To get the largest choice of characters, make sure you select a UTF-8-encoded locale.
But this can be useful even if you don’t write accented characters and text in multiple languages: the characters available include typographic niceties like the following:
|description||looks like||key sequence|
|opening double quote||“||compose-lessthan-doublequote|
|closing double quote||”||compose-greaterthan-doublequote|
|opening single quote||‘||compose-lessthan-singlequote|
|closing single quote/apostrophe||’||compose-greaterthan-singlequote|
|section symbol||§||compose-s-o or compose-o-s|
|cents sign||¢||compose-c-slash or compose-slash-c|
|euro sign||€||compose-c-equals or compose-equals-c|
|copyright||©||compose-c-o or compose-o-c|
lib/main.php:944: Notice: PageInfo: Cannot find action page