GNOME Bugzilla – Bug 756331
Relationship between GTK and Xorg Compose Key Sequenses
Last modified: 2015-10-15 07:58:05 UTC
I work to make a new keyboard for French (Togo), that includes several extra symbols used for local languages. I work to submit it to XKB: https://bugs.freedesktop.org/show_bug.cgi?id=92344 These languages have several tone marks, and I need to add several Compose Key Sequenses. I want it to be possible for the user to select the keyboard (in Ubuntu 14), and then get these compose sequenses out of the box. However, it seems unclear to me, exactly where they should be added. On this page it is written: "The Gtk Compose Table was derived from the X compose tables of XFree86 version 4.0 with further modification intended to provide a Gnome standard for all locales. It is likely that in future it will follow more closely the xorg version." https://help.ubuntu.com/community/GtkComposeTable Do GTK have their own Compose Key Sequenses or do they use the once from libX11/xorg? Where exactly is the repo for the GTK Compose Key Sequenses? Are there different local packs? Are there plans to switch over to use xorg instead?
GtkIMContextSimple has a built-in table that is derived from the Xorg compose tables. It gets updated very sporadically from newer Xorg. Very recently, we added support for reading ~/.XCompose and ~/.local/share/gtk-3/Compose.
Okay, in other words: I can't commit any patch directly to GtK? I should add them to Xorg and wait for it to be updated at GtK? And do you update from all the different locals used in libX11? Or should I preferably add to a specific one, like 'en_US.UTF-8/Compose.pre'?
See https://git.gnome.org/browse/gtk+/tree/gtk/gtkimcontextsimpleseqs.h#n18 for details
Okay cool, good to know, thanks for information! :)