Remapping Caps Lock to Compose
Because I now and then need to use scandinavian letters despite using US Dvorak as my layout, I would like to use Caps Lock as a compose key. (I don’t need Caps Lock at all, I’m not a forum troll)
Because I now and then need to use scandinavian letters despite using US Dvorak as my layout, I would like to use Caps Lock as a compose key. (I don’t need Caps Lock at all, I’m not a forum troll)
The problem is that the compose key works fine, but some application doesn’t accept some characters from it. E.g. I can type the character ∞
in Emacs (Compose+8+8), but this won’t work in FireFox, Konsole and Kate. But many other characters, e.g. €
typed there (in FireFox, Konsole and Kate) with Compose work just fine. Also I may insert a problem symbols with a simple copy-paste (from any of two clipboards).
I used Gnome for a long time, but preferred vanilla X input method (xim
) over the default GTK behaviour. I just set GTK_IM_MODULE
and QT_IM_MODULE
environment variables to xim
, and didn’t have any problem with multiple-layout config, Compose key, custom ~/.XCompose
and misc:typo
typography extensions.
How can one add custom Compose-key sequences? I have googled quite a bit, but could not find an explanation. In particular, I would like to have: