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

improve tools for rules debugging #669

Open
bam80 opened this issue Feb 25, 2025 · 0 comments
Open

improve tools for rules debugging #669

bam80 opened this issue Feb 25, 2025 · 0 comments

Comments

@bam80
Copy link

bam80 commented Feb 25, 2025

Continuation of https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/merge_requests/793#note_2797505

Q: Any tool showing resulting symbols string, to debug rules?

A: There is unfortunately no public API for this. Either:

  • use the --verbose options or compile libxkbcommon
  • compile libxkbcommon locally, then use the internal tool build/compile-keymap --kccsgt --include … --layout … --variant ….

So it's buried really deep for now, and is not documented.
Even if someone is lucky enough to deduce it, he has to compose complex pipes currently:

$ xkbcli compile-keymap --verbose --test --model applealu_iso --layout us  2>&1 | grep KcCGST

Could we improve the situation e.g. by adding xkbcli compile-keymap --kccsgt option, or expanding existing --rmlvo option there?

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

1 participant