0

I want to create a custom keyboard layout for ancient greek using m17n. There is already the grc mizuochi layout, but I want to change some key mappings. The changes for normal ascii character keys like "a" for "α" works but I want to use some keys that are on the German keyboard layout (ö, ä).

According to the manual on nongnu.org one should use xev to get the keysym. For ä that would be "adiaresis" for example. That works for lowercase, but not for uppercase (Ä), which would be symkey "Adiaresis". In that case the letter is simple not mapped - it's just like typing on a normal German keyboard.

What works is for example this mapping using the less than key: ("<i" ?ἱ)

I tried to use other keys instead that are also on English keyboard. This worked: ((dead_acute i) ?ί)

This didn't work (again a problem when using shift): ((dead_grave) ?ὶ)

The manual mentions non-ascii keys and refers to another page, but I couldn't figure out how it should be done:

Lowercase letters and parentheses are literals, so they must be written as they are. Uppercase letters represent arbitrary strings.

KEYSEQ specifies a sequence of keys in this format:

(SYMBOLIC-KEY SYMBOLIC-KEY ...)

where SYMBOLIC-KEY is the keysym value returned by the xev command. For instance

(n i)

represents a key sequence of and . If all SYMBOLIC-KEYs are ASCII characters, you can use the short form

"ni"

instead. Consult Input Method for Non-ASCII characters.

(Background: I also tried creating a custom xkb keyboard layout, but the dead keys are limited and only the ones for modern greek are available. This is why I'm trying to use ibus-m17n)

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.