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

Ilya Anfimov ilan at tzirechnoy.com
Mon Mar 18 15:24:49 UTC 2019


On Mon, Mar 18, 2019 at 03:56:16PM +0100, Pierre-Luc Angles wrote:
> Dear Ilya, dear ??en, dear all,
> 
> Thanks for your messages.
> 
> The font that I am using with this keys is Junicode.
> 
> A big thank you to Ilya!!! In my terminal, I have entered
> env XMODIFIERS='' GTK_IM_MODULE=xim libreoffice
> LibreOffice opens and I can type all the compose keys that I have entered in
> ~/.XCompose !!!! I am very very glad! Thanks again Ilya!
> 
> Is there a way to automate this command or should I launch it every time I
> want to use these commands? Or is it "dangereous" somehow to have these
> commands configured like this all the time?

 It is usual environment variables.

 you can put

XMODIFIERS=''
export XMODIFIERS
GTK_IM_MODULE=xim
export GTK_IM_MODULE

somewhere in your ~/.xsessionrc

Probably  this  will stop im-config from modifying anything later
in Xsession processing, but all other  toolkits  should  be  just
fine with default values.

 You can add others the same way manually, however, something like:

QT_IM_MODULE=xim
export QT_IM_MODULE
QT4_IM_MODULE=xim
export QT4IM_MODULE
CLUTTER_IM_MODULE=xim
export CLUTTER_IM_MODULE


Also,  there  are  numerous ways to set your environment: you can
put it in /etc/profile, in ~/.profile, or  type  in  you  command
prompt  to  modify that for anything started later from that com-
mand prompt window.



More information about the xorg mailing list