|
|
Subscribe / Log in / New account

GNOME and input method integration

GNOME and input method integration

Posted Jun 26, 2012 23:03 UTC (Tue) by marcH (subscriber, #57642)
Parent article: GNOME and input method integration

[Sorry this might be slightly off-topic]

Do dead keys and (acrobatic...) modifiers involve a so-called "input method"? Or is something entirely different? Think diacritics.

I used to fix poor default configurations using a simple xmodmaprc file, but eventually got lost in the "advanced" and changing GNOME keyboard configuration techniques and gave up.

I now tend to use spell-checkers instead! Typically not able to fix 100% of the missing diacritics but 90% is much better than 10%.


to post comments

GNOME and input method integration

Posted Jun 26, 2012 23:40 UTC (Tue) by Tester (guest, #40675) [Link] (4 responses)

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

GNOME and input method integration

Posted Jun 27, 2012 10:42 UTC (Wed) by csslayer (guest, #85354) [Link]

The idea of don't require doesn't mean it's not.

Actually it is IM thing on other platform, I don't see the reason that it should not be on linux.

GNOME and input method integration

Posted Jun 27, 2012 11:44 UTC (Wed) by daniels (subscriber, #16193) [Link] (2 responses)

> 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.

GNOME and input method integration

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

> 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 © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds