Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
ComposeKey
Edit
PageHistory
Diff
Info
LikePages
You are viewing an old revision of this page.
View the current version
.
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. 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 <tt>setxkbmap -option compose:</tt>''keyname'' for example <tt>setxkbmap -option compose:caps</tt> 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|LocaleName], and are defined in the file <tt>/usr/share/X11/locale/</tt>''localename''<tt>/Compose</tt> To get the largest choice of characters, make sure you select a [UTF-8]-encoded locale. 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: <?plugin OldStyleTable |*description* | *looks like* | *key sequence* | opening double quote | “ | compose-lessthen-doublequote | closing double quote | ” | compose-greaterthan-doublequote | opening single quote | ‘ | compose-lessthan-singlequote | closing single quote/apostrophe | ’ | compose-greaterthan-singlequote | em-dash | — | compose-hyphen-hyphen-hyphen | paragraph symbol/pilcrow | ¶ | compose-p-exclamation | section symbol | § | compose-s-o or compose-o-s | degree sign | ° | compose-o-o | 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 | registered trademark | ® | compose-o-r | trademark | ™ | compose-t-m ?>
2 pages link to
ComposeKey
:
LawrenceDoliveiro
UnicodeNotes