By Pandya


2015-06-02 10:56:05 8 Comments

I use Trisquel 7.0 LTS (Comes with GNOME 3 Flashback). I visited some post like this and this. on the topic about adding custom compose key sequence.

I set Menu Key as Compose Key:

screenshot

I created ~/.Xcompose containing:

$ cat ~/.Xcompose 
include "%L"   # import the default Compose file for your locale
<Multi_key> <r> <r>     : "ñ" U00F1

Also added export GTK_IM_MODULE="xim" at the end of ~/.profile. I tried after logging out and login back, also restarting many times but it is not working.

The default compose key sequences (/usr/share/X11/locale/en_US.UTF-8/Compose) e.g. Menu, s, s = ß is working fine.

I also tried to add custom key sequence:-

<Multi_key> <s> <d>                 : "ñ"   U00F1

At the end of /usr/share/X11/locale/en_US.UTF-8/Compose but it is also not working.

Thus, Why my custom compose sequence is not working? What am I missing?

EDIT:

I've installed uim and set GTK_IM_MODULE="uim" instead of xim by export GTK_IM_MODULE="uim" at ~/.profile after restarting session, I found that Manually set custom key sequence in /usr/share/X11/locale/en_US.UTF-8/Compose is working now. BUT still defined sequence in ~/.Xcompose is not working.

BTW, what is xim and uim relation to input method and why uim is working and xim is not in my case?

1 comments

@Pandya 2015-06-03 10:31:32

It was my mistake that I created .Xcompose instead of .XCompose! (see question that every times mentions .Xcompose).

Now all custom compose key sequences that are defined in ~/.XCompose are working well.

Related Questions

Sponsored Content

2 Answered Questions

[SOLVED] Adding custom Compose key sequences

1 Answered Questions

3 Answered Questions

[SOLVED] How to make Compose work in GTK and Qt apps?

1 Answered Questions

[SOLVED] Modifier keys in compose sequence

  • 2015-06-02 13:51:38
  • Fabian
  • 234 View
  • 7 Score
  • 1 Answer
  • Tags:   x11 compose-key

Sponsored Content