Lenient dead keys

Simos Xenitellis simos.lists at googlemail.com
Mon Jan 2 03:09:05 PST 2012


On Mon, Jan 2, 2012 at 10:57 AM, Andre Majorel <aym-11x at teaser.fr> wrote:

> Is there is a way to have a dead key output itself and the next
> key if there is no valid combination ?
>
> E.G. with [^] mapped to dead_circumflex, have [^][a] output "â"
> but [^][b] output "^b" instead of nothing.
>
>
I think this would require to change the source code and recompile.
You would either do this at the Xorg level (recompile Xorg) or the GTK+
level (assuming you use the GNOME desktop environment, which replicates the
Xorg functionality; recompile gtk+).
For GNOME, you would need to make changes around
http://git.gnome.org/browse/gtk+/tree/gtk/gtkimcontextsimple.c#n711

There might be an easier workaround if you can give a description of what
you are trying to achieve.
For example, if you want to write a language that has a ^ over b, then you
can use combining diacritics
and write b̂ (b + 0x302).

Simos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20120102/c299da0b/attachment.html>


More information about the xorg mailing list