how do I get compose keys to work the same in qt, x apps like xterm, and gtk apps ? -- seems like a simple enough question right? it's not.
I followed the instructions here: https://wiki.ubuntu.com/ComposeKey and that worked, sort of. but I notice some differences. gnome and gtk apps get a different set of compose keys than qt and apps like xedit, xterm, etc. After finding that first wiki page and going through it I found https://help.ubuntu.com/community/ComposeKey , but that does not appear to differ substantially in its instructions.
what appears to happen is that, however xim actually returns compose keys to gnome, gnome behaves as if:
1. it first reads the /usr/share/X11/locale/compose.dir and finds the compose file for you locale.
2. it loads those compose key definitions.
3. it loads and overwrites previous definitions with ~/.XCompose definitions, but
4. it won't load lines with more than 3 keys: compose + the other two. effectively they have to look like dead keys. it won't load lines with more than one character of output. (this is despite the fact that those bounds do not apply in the global Compose file for your locale.) and I *think* it doesn't load files that are "include"-d in the .XCompose file.
for the rest of xwindows, it works like this:
1. it first checks for .XCompose, if it is there, it ignores the global compose file. if it is not there, it loads the global compose file.
2. lt loads all include files in the .XCompose file.
3. it has no restrictions on the number of characters in the compose sequence, nor in the result they return, niether in the local nor global files.
if I could get compose keys to load regardless of layout with ibus, I'd use that. but as things stand with ibus, I understand you have to define eg an ibus-tables map for your compose keys, and the you'd have to define one for each XKB layout you use. this seems impractical.
I've been trying to build a decent kreyòl asyisyen locale for the better part of a month now, and I understand a lot of the system .. with digraphs and multigraphs, this is where I'm at. I have two other issues relating to keyboard layout, if anyone can help me in a general way... I notice that:
*xedit/xterm, qt, etc do not accept unicode input with ctrl+shift -- in any locale.
*xedit/xterm do not handle custom defined deadkeys in the symbols/xx files -- at least not dead_tilde in the es file specified on the ñ key on my keyboard
Any help please?
Bookmarks