mirror of
https://github.com/tiyn/wiki.git
synced 2025-12-31 20:19:46 +01:00
x: added compose key
This commit is contained in:
@@ -108,6 +108,25 @@ setxkbmap -query | grep -q '<layout 1>' && setxkbmap <layout 2> || setxkbmap <la
|
|||||||
Using [SXHKD](/wiki/linux/sxhkd.md) a hotkey can be setup to seamlessly transition between the two
|
Using [SXHKD](/wiki/linux/sxhkd.md) a hotkey can be setup to seamlessly transition between the two
|
||||||
layouts.
|
layouts.
|
||||||
|
|
||||||
|
##### Write Diacritics and Ligatures
|
||||||
|
|
||||||
|
In many languages there are ligatures (for example `œ`) and diacritics (for example `ç`).
|
||||||
|
An easy way to write them is by using the compose button.
|
||||||
|
Using the compose button these special symbols can be composed from their parts.
|
||||||
|
The `ç` can be written by chaining compose with `,` and `c`.
|
||||||
|
The `œ` can be written by chaining compose with `o` and `e`.
|
||||||
|
There are many other diacritics and ligatures that can be written this way.
|
||||||
|
|
||||||
|
To temporarily set up a compose key the following command can be used.
|
||||||
|
It will set the given key `<compose>` (for example the right control key with `rctrl`) to act as
|
||||||
|
the compose key when tapped.
|
||||||
|
`<layout>` specifies the layout of the keymap (for example german with `de`).
|
||||||
|
If it is omitted the english `en` layout will be set.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
setxkbmap -layout <layout> -option compose:<compose>
|
||||||
|
```
|
||||||
|
|
||||||
#### Display
|
#### Display
|
||||||
|
|
||||||
This section describes the handling of displays by X.
|
This section describes the handling of displays by X.
|
||||||
|
|||||||
Reference in New Issue
Block a user