Dead key behavior on Linux / X11

Tigran S. tisarukhan at gmail.com
Thu Apr 21 15:59:14 UTC 2022


Hello Samuel,

Thanks for the reference.
I have noticed the following behaviours of dead keys in Linux.

First, if there is no sequence defined, e.g. *<dead_acute> <Greek_beta>* in
the Compose file, then nothing will output. But in Windows and macOS the
output will be  *՛β. *Also, every key can be a dead key in Windows and
macOS.

Second, it is not possible to define the following two sequences
*<dead_acute> <dead_horn> <Greek_alpha>                 ** : "ἄ"  U1f04*
*<dead_acute> <dead_horn>                                            ** :
" *̐ *"*

In macOS, when a dead key is pressed and if there is no combination defined
with the previous symbol, it enters a new dead key state awaiting another
key to be pressed. That awaiting state is shown by highlighting the symbol.

Anyway, macOS has a better implementation of dead keys over Windows and
Linux.

Regards,
Tigran

On Thu, Apr 21, 2022 at 5:55 PM Samuel Thibault <
samuel.thibault at aquilenet.fr> wrote:

> Hello,
>
> Tigran S., le jeu. 21 avril 2022 12:33:06 +0400, a ecrit:
> > in macOS, I can type that word without a space between t and k dead
> > keys.
>
>
> > Is it possible to have such an implementation of dead keys in Linux?
>
> That can be encoded in the XCompose table, yes, see for instance
>
> el_GR.UTF-8/Compose.pre
>
> that has the various dead_* combinations.
>
> Samuel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg-devel/attachments/20220421/bfb9ba6c/attachment.htm>


More information about the xorg-devel mailing list