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:I created ~/.Xcompose containing:$ cat ~/.Xcompose include %L   # import the default Compose file for your locale<Multi_key> <r> <r>     :  U00F1Also 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>                 :    U00F1At 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?
Add custom compose key sequence (not working)
gnome;input method;compose key
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.