Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run-session.sh errors #31

Open
Pomegranate123 opened this issue Oct 21, 2020 · 1 comment
Open

run-session.sh errors #31

Pomegranate123 opened this issue Oct 21, 2020 · 1 comment

Comments

@Pomegranate123
Copy link

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.

39aldo39 added a commit that referenced this issue Oct 28, 2020
@39aldo39
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants