Thursday, May 2, 2024
11
rated 0 times [  11] [ 0]  / answers: 1 / hits: 1484  / 2 Years ago, wed, january 26, 2022, 7:41:00

I have quite a few custom compose key sequences. I know I can get them working with an ~/.XCompose and switching the input method to xim. However, Sublime Text 2 doesn't accept any compose key sequences when I'm using xim. It does accept them when I'm using the default input method. I think I reported this bug for Sublime Text 2 a while ago.



Using the default input method, I added the contents of my ~/.XCompose to /usr/share/X11/locale/en_US.UTF-8/Compose but this did not change anything. Is there any way I can get the compose key sequences in my ~/.XCompose to work without relying on xim?


More From » sublime-text

 Answers
1

I know you asked this a year ago, but in case it ever helps someone, here’s what worked for me to enable custom .XCompose additions:



sudo apt-get install uim
export "GTK_IM_MODULE=uim"
(log out and in again)


uim is an input method which respects the compose file additions, but also enables the functionality not available in xim, eg Ctrl+Shift+U to enter a hex Unicode character ID.



This may work for the OP’s situation, if he still needs a solution, I don’t know.


[#38551] Wednesday, January 26, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
izecaptur

Total Points: 113
Total Questions: 102
Total Answers: 114

Location: Northern Mariana Islands
Member since Fri, Jan 15, 2021
3 Years ago
;