klfc icon indicating copy to clipboard operation
klfc copied to clipboard

run-session.sh errors

Open Pomegranate123 opened this issue 3 years ago • 1 comments

I've made my keyboard layout and installed it (with xkb), but when I try to run ./run-session.sh I get the following output: Error: Unknown field Alt in a symbol interpretation Definition ignored Error: Unknown field NumLock in a symbol interpretation Definition ignored Error: symbols not defined in XkbWriteXKBSymbols Output file "/tmp/temp.xkb" removed

I've also noticed that my layout name (BEAKL 15) has replaced the English(us) layout name, and that half of the variants that were there (in the English(us) layout) are now invisible when I select the newly named BEAKL 15 layout. (for example, dvorak is missing). I do see the missing layouts when I open the us symbols file, however.

This is the layout I've tried to add: (I can't upload .json, so .txt will do) beakl.txt

Any ideas on how I could fix this? I feel like I've made some major mistake that ruined my xkb files or something, since uninstalling the layout doesn't seem to revert the second issue I had.

Pomegranate123 avatar Oct 21 '20 14:10 Pomegranate123

As for the ./run-session.sh errors, it turns out that the problem occurs when you have multiple modifiers bound to the same key: I used a , to separate them instead of a +. The error should be fixed if you replace vmods=LevelThree,Alt by vmods=LevelThree+Alt and vmods=LevelFive,NumLock by vmods=LevelFive+NumLock. However, I am no sure whether XKB supports this well. In my limited testing it didn't really seem to work.

As for the missing layouts, did the problems happen when you executed ./run-session.sh or ./install-system.sh? But neither one should have any effect on existing layouts. Also, what shell are you using? I am not sure what happened, but the UI depends on the definitions in the rules directory (instead of symbols).

39aldo39 avatar Oct 28 '20 18:10 39aldo39