LWN.net Logo

GNOME and input method integration

GNOME and input method integration

Posted Jun 27, 2012 11:44 UTC (Wed) by daniels (subscriber, #16193)
In reply to: GNOME and input method integration by Tester
Parent article: GNOME and input method integration

> Dead keys are definitely a feature of the basic xkb based keyboard input, they don't require an IM thing.

Actually, they do, it's just that Xlib's built-in input method supports it. If you want to compose á using a dead key, the user types — and the X server sends — a 'dead_acute' keypress, followed by an 'a' keypress. It's then up to the client to compose this into á, much the same way it does for Compose+a+'. You can check this by looking at /usr/share/X11/locale/en_US.UTF-8/Compose for the built-in X Input Method:
<dead_acute> <a> : "á" aacute # LATIN SMALL LETTER A WITH ACUTE

Broadly speaking, anything which involves multiple keypresses turning into one, is an input method feature.


(Log in to post comments)

GNOME and input method integration

Posted Jun 27, 2012 12:42 UTC (Wed) by marcH (subscriber, #57642) [Link]

> It's then up to the client to compose this into à...

So, can you have situations like: one GNOME application and one KDE application running side by side and composing this example differently?

GNOME and input method integration

Posted Jun 27, 2012 12:48 UTC (Wed) by daniels (subscriber, #16193) [Link]

Yep, totally.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds