You are not logged in.

#1 2024-03-15 07:43:46

QuickQuokka
Member
Registered: 2022-05-26
Posts: 18

[SOLVED] Compose key has some quirks now

SOLVED: Simply remove GTK_IM_MODULE="xim" from /etc/environment, and then symlink ~/.XCompose to point to /usr/share/X11/locale/en_US.UTF-8/Compose

Hello fellow Arch users!

For quite a long time, I have been using my right alt key as a compose key with little to no problems.

However, recently, I changed my locale in the KDE settings to Hebrew (Regional Settings > Region & Language > Language > Change Language > Hebrew), but then I changed it back to American English. Now I see that the compose key functionality doesn't work in all apps anymore. For example in Firefox, OnlyOffice, and Element.


Here are some of my locale config files:

/etc/locale.conf:

LANG=en_US.UTF-8
LC_CTYPE=C

/etc/locale.gen:

bg_BG.UTF-8 UTF-8  
en_US.UTF-8 UTF-8  
he_IL.UTF-8 UTF-8  
ja_JP.UTF-8 UTF-8  
ko_KR.UTF-8 UTF-8  
zh_CN.UTF-8 UTF-8  

One thing I can confirm is that the right alt key is indeed registered as the multi key (verified by xev).

Last edited by QuickQuokka (2024-03-15 20:13:52)

Offline

#2 2024-03-15 08:28:39

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,009

Re: [SOLVED] Compose key has some quirks now

Your locale should™ not matter at all.

Because of KDE: did you change to wayland w/ plasma 6?

Otherwise: do you use an IM that's not XIM?
https://wiki.archlinux.org/title/Input_method

Offline

#3 2024-03-15 13:19:08

QuickQuokka
Member
Registered: 2022-05-26
Posts: 18

Re: [SOLVED] Compose key has some quirks now

seth wrote:

Your locale should™ not matter at all.

Because of KDE: did you change to wayland w/ plasma 6?

Otherwise: do you use an IM that's not XIM?
https://wiki.archlinux.org/title/Input_method

Nope. Using XIM afaik, and definitely using X11.

Here's my /etc/environment (excluding comments):

GTK_IM_MODULE="xim"

Last edited by QuickQuokka (2024-03-15 13:19:50)

Offline

#4 2024-03-15 14:16:21

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,009

Re: [SOLVED] Compose key has some quirks now

FF seems to respond badly to this?
What if you unset the variable for firefox?
https://bugs.archlinux.org/task/73332

Ftr, none of the affected clients are flatsnapdockontainers?

Offline

#5 2024-03-15 16:36:29

QuickQuokka
Member
Registered: 2022-05-26
Posts: 18

Re: [SOLVED] Compose key has some quirks now

seth wrote:

FF seems to respond badly to this?
What if you unset the variable for firefox?
https://bugs.archlinux.org/task/73332

Ftr, none of the affected clients are flatsnapdockontainers?

I have added and removed the parameter MOZ_USE_XINPUT=1, seemingly changing nothing, and yes, I have installed all of my packages with either Pacman or yay, not any sandboxed solution.

Offline

#6 2024-03-15 16:50:53

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,009

Re: [SOLVED] Compose key has some quirks now

The plan according to that bug would have been to unset GTK_IM_MODULE

Offline

#7 2024-03-15 17:49:42

QuickQuokka
Member
Registered: 2022-05-26
Posts: 18

Re: [SOLVED] Compose key has some quirks now

seth wrote:

The plan according to that bug would have been to unset GTK_IM_MODULE

Umm... It works, but custom sequences I defined in /usr/share/X11/locale/en_US.UTF-8/Compose aren't working.

Offline

#8 2024-03-15 17:58:49

QuickQuokka
Member
Registered: 2022-05-26
Posts: 18

Re: [SOLVED] Compose key has some quirks now

GOT IT!

Symlinked ~/.XCompose to /usr/share/X11/locale/en_US.UTF-8/Compose and it worked!

Offline

#9 2024-03-15 18:18:07

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,009

Re: [SOLVED] Compose key has some quirks now

You want ~/.XCompose to

include "/usr/share/X11/locale/en_US.UTF-8/Compose"

(and then add your custom stuff there)

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB