Problem with mapping a key to multiple characters (Unicode + diacritic symbol)

Ilya Anfimov ilan at
Tue Apr 2 15:50:48 UTC 2019

On Tue, Apr 02, 2019 at 02:31:31PM +0200, Pierre-Luc Angles wrote:
> Dear Ilya, dear xorgers,
> launching env XMODIFIERS='' GTK_IM_MODULE=xim libreoffice in my terminal
> makes indeed my keyboard for Unicode characters + diacritics working but
> switching to my French keyboard (variant with Sun dead keys), the dead keys
> like the dead_circumflex does not work any more (I have to close LibreOffice
> and reopen it to make env XMODIFIERS='' GTK_IM_MODULE=xim libreoffice be
> ended). I have checked and this is also the case with the normal French
> keyboard azerty.
> On the contrary, the dead keys works on the keyboard layout that I have
> mapped when env XMODIFIERS='' GTK_IM_MODULE=xim libreoffice is launched.
> It is just a small problem but I would but helpfull to understand why some
> dead keys works and other not when env XMODIFIERS='' GTK_IM_MODULE=xim
> libreoffice is launched.

 A possible explanation is that you didn't added

include "%L"

 at the beginning of you ~/.XCompose.

 There could be other variants, though. If that does not helps --
it will be good to say exactly what are you typing with dead_cir-
cumflex,  what  is  the usual sequence of unicode characters is a
result of typing, what is your locale  name  and  what  xev  says
about your text.

More information about the xorg mailing list