Debian GNU/Linux
Compose key (2021)
Wikipedia:
"A compose key (sometimes called multi key) is a key on a computer keyboard that indicates that the following (usually 2 or more) keystrokes trigger the insertion of an alternate character, typically a precomposed character or a symbol.
For instance, typing Compose
followed by ~
and then n
will insert ñ
."
Under LXQT, I use this command to map the compose key on right control
key:
xmodmap -e "keysym Control_R = Multi_key"
It is necessery to add this line in the /etc/environment
file:
GTK_IM_MODULE="xim"