39aldo39 / klfc

Keyboard Layout Files Creator
GNU General Public License v3.0
215 stars 13 forks source link

Are custom dead keys and ligatures supposed to work with the X Keyboard Extension format or not? #50

Open kindaro opened 1 year ago

kindaro commented 1 year ago

I tried creating a custom dead key and a ligature. Neither seem to work. The dead key merely outputs its baseChar and the ligature merely outputs the single character before the : mark.

Is this expected? Can you please clarify these exceptions in the documentation?

DreymaR commented 1 year ago

Different platforms do have different strengths and weaknesses. TTBOMK, X11's xkb cannot support ligatures. And its dead keys are not defined in the layout file but in a separate compose file. I guess Aldo didn't implement that format?

Yes, the documentation should cover such things.

kindaro commented 1 year ago

a separate compose file

Can you hint me as to how to write one?

DreymaR commented 1 year ago

Read the X Files? I don't have a cookbook. But in the Linux community someone must have answered it. Just start digging... phew.