39aldo39 / klfc

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

Converting from KLC gives "is not supported on the shiftstate" on all shiftstate characters #54

Closed LainLayer closed 3 months ago

LainLayer commented 11 months ago

I am trying to install the following weird Russian layout on linux: https://kbdlayout.info/NorKyril/download/klc

I am converting from klc to xkb

$ ./klfc/klfc --from-klc norkyril.klc -o output2/
klfc: warning: uknown line ‘["ATTRIBUTES"]’.
klfc: warning: uknown line ‘["ALTGR"]’.
klfc: warning: the letter ‘і’ is not supported on the shiftstate ‘None’ in TMK.
klfc: warning: the letter ‘ц’ is not supported on the shiftstate ‘None’ in TMK.
klfc: warning: the letter ‘ш’ is not supported on the shiftstate ‘None’ in TMK.
klfc: warning: the letter ‘е’ is not supported on the shiftstate ‘None’ in TMK.
klfc: warning: the letter ‘р’ is not supported on the shiftstate ‘None’ in TMK.
klfc: warning: the letter ‘т’ is not supported on the shiftstate ‘None’ in TMK.
klfc: warning: the letter ‘й’ is not supported on the shiftstate ‘None’ in TMK.
klfc: warning: the letter ‘у’ is not supported on the shiftstate ‘None’ in TMK.
klfc: warning: the letter ‘и’ is not supported on the shiftstate ‘None’ in TMK.
klfc: warning: the letter ‘о’ is not supported on the shiftstate ‘None’ in TMK.
klfc: warning: the letter ‘п’ is not supported on the shiftstate ‘None’ in TMK.
klfc: warning: the letter ‘џ’ is not supported on the shiftstate ‘None’ in TMK.
klfc: warning: the letter ‘cdk:ь’ is not supported on the shiftstate ‘None’ in TMK.
klfc: warning: the letter ‘cdk:'’ is not supported on the shiftstate ‘None’ in TMK.
klfc: warning: the letter ‘а’ is not supported on the shiftstate ‘None’ in TMK.
klfc: warning: the letter ‘с’ is not supported on the shiftstate ‘None’ in TMK.
klfc: warning: the letter ‘д’ is not supported on the shiftstate ‘None’ in TMK.
klfc: warning: the letter ‘ф’ is not supported on the shiftstate ‘None’ in TMK.
klfc: warning: the letter ‘г’ is not supported on the shiftstate ‘None’ in TMK.
klfc: warning: the letter ‘х’ is not supported on the shiftstate ‘None’ in TMK.
klfc: warning: the letter ‘я’ is not supported on the shiftstate ‘None’ in TMK.
klfc: warning: the letter ‘к’ is not supported on the shiftstate ‘None’ in TMK.
klfc: warning: the letter ‘л’ is not supported on the shiftstate ‘None’ in TMK.
klfc: warning: the letter ‘ё’ is not supported on the shiftstate ‘None’ in TMK.
klfc: warning: the letter ‘э’ is not supported on the shiftstate ‘None’ in TMK.
klfc: warning: the letter ‘ж’ is not supported on the shiftstate ‘None’ in TMK.
klfc: warning: the letter ‘з’ is not supported on the shiftstate ‘None’ in TMK.
klfc: warning: the letter ‘ю’ is not supported on the shiftstate ‘None’ in TMK.
klfc: warning: the letter ‘ч’ is not supported on the shiftstate ‘None’ in TMK.
klfc: warning: the letter ‘в’ is not supported on the shiftstate ‘None’ in TMK.
klfc: warning: the letter ‘б’ is not supported on the shiftstate ‘None’ in TMK.
klfc: warning: the letter ‘н’ is not supported on the shiftstate ‘None’ in TMK.
klfc: warning: the letter ‘м’ is not supported on the shiftstate ‘None’ in TMK.
klfc: warning: the letter ‘І’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘¤’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘cdk:`’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘Ц’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘Ш’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘Е’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘Р’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘Т’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘Й’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘У’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘И’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘О’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘П’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘Џ’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘cdk:Ь’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘꙳’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘А’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘С’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘Д’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘Ф’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘Г’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘Х’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘Я’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘К’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘Л’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘Ё’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘Э’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘Ж’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘З’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘Ю’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘Ч’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘В’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘Б’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘Н’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘М’ is not supported on the shiftstate ‘Shift’ in TMK.
klfc: warning: the letter ‘ї’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘cdk:Ӏ’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘£’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘€’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘₴’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘ѫ’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘ꚙ’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘ԛ’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘ԝ’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘cdk:̧’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘cdk:́’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘ѕ’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘щ’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘є’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘₽’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘ɯ’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘ү’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘ў’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘ѵ’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘ө’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘ѱ’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘ѡ’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘cdk:̈’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘cdk:̄’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘ӕ’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘ә’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘ѳ’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘ґ’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘һ’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘ј’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘ѯ’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘ԓ’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘ꚃ’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘ҍ’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘ꙙ’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘ԑ’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘ѧ’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘ҽ’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘ꙫ’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘ẟ’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘ԩ’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘ӎ’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘№’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘cdk:̇’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘cdk:̑’ is not supported on the shiftstate ‘Alt+Control’ in TMK.
klfc: warning: the letter ‘Ї’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘ӏ’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘cdk:Х’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘cdk:З’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘ѣ’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘Ѣ’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘Ѫ’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘Ꚙ’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘꙯’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘Ѕ’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘Щ’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘Є’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘₮’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘₸’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘Ү’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘Ў’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘Ѵ’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘Ө’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘Ѱ’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘Ѡ’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘̃’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘҃’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘Ӕ’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘Ә’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘cdk:Ԁ’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘Ѳ’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘Ґ’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘Һ’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘Ј’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘Ѯ’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘Ԓ’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘Ꚃ’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘Ҍ’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘Ꙙ’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘Ԑ’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘Ѧ’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘Ҽ’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘Ꙫ’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘ꙮ’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘Ԩ’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘Ӎ’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.
klfc: warning: the letter ‘꙾’ is not supported on the shiftstate ‘Shift+Alt+Control’ in TMK.

I have made use the file is in UTF-8, and using windows line ends. I run both the install-system.sh script and the scripts/install-xcompose.sh script, as sudo.

I cannot access any of the characters it printed in the log.

DreymaR commented 7 months ago

But you aren't converting to XKB, are you? It says you're converting to TMK?

TMK remaps keys not symbols, so it cannot support shift state mappings (without some memory-consuming and platform-dependent trickery). Are you sure you did select XKB as your output?

LainLayer commented 3 months ago

You're right, I missed the --xkb option and didnt know what "TMK" is so the output kinda confused me. My bad!