I’ve been using the Compose key for special characters for quite a while now, including a quite rich custom ~/.XCompose file. There has always been a problem, where the Compose key didn’t register at all in QT-based applications, but I did not mind, as most applications I use to edit text are GTK based.
Now, the behavior of the Compose key has changed in a recent update. Before, after pressing the Compose key there was no feedback until a character was produced. Now, there is a symbol indicating the Compose key followed by underlined characters that you type, which then turn into the desired character (Fig.1). There is one problem however, after this seemingly cosmetic change, the system started ignoring my ~/.XCompose file.
Fig. 1: (the underline is lost due to loss of focus when taking the screenshot)
I’ve been doing all my tests with firefox. I’ve tried manually setting the input method to
xim by setting the
$GTK_IM_MODULE env variable, which is recommended by some forum posts. This recovers the original behaviour with no feedback until a character is produced, but my .XCompose is still ignored. If I try to read the variable before setting it, it returns:
$ echo $GTK_IM_MODULE cedilla $ echo $QT_IM_MODULE xim
I tried to find out what this
cedilla input method is, but all Google searches point me to results along the lines of “how to type cedilla with x input method”.
I use i3 and set my keyboard layout at startup using
I would like to somehow load my custom .XCompose config, but I haven’t been able to find out how. (Preferably without
Thank you very much for your assistance.
$XCOMPOSEFILE env variable also doesn’t work.