Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hickford/xkb_ldml
LDML keyboard mappings for XKB layouts
https://github.com/hickford/xkb_ldml
Last synced: about 20 hours ago
JSON representation
LDML keyboard mappings for XKB layouts
- Host: GitHub
- URL: https://github.com/hickford/xkb_ldml
- Owner: hickford
- License: mit
- Created: 2021-03-13T16:55:55.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-08-13T07:04:26.000Z (over 1 year ago)
- Last Synced: 2024-11-06T09:25:37.438Z (about 2 months ago)
- Language: HTML
- Homepage: https://hickford.github.io/xkb_ldml/cldr-staging/docs/charts/40/keyboards/layouts/index.html
- Size: 2.16 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
xkb_ldml
========LDML keyboard mappings for XKB layouts.
## Background
Unicode's [Common Locale Data Repository](http://cldr.unicode.org/) (CLDR) collects locale data for all countries and languages, including [keyboard layouts in LDML format](https://github.com/unicode-org/cldr/tree/master/keyboards). In particular, there are some [useful charts](https://unicode-org.github.io/cldr-staging/charts/latest/keyboards/layouts/en). These cover Windows, Mac, Android and Chrome OS layouts, but are missing Linux layouts.
## Results
I generated LDML and charts for Linux from [xkeyboard-config](https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config)
(commit [297bb515](https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/commit/297bb51556bf72c26acc26b411cfab8116376d6e)):* LDML https://github.com/hickford/xkb_ldml/tree/main/cldr-staging/docs/charts/40/keyboards/layouts
* Charts https://hickford.github.io/xkb_ldml/cldr-staging/docs/charts/40/keyboards/layouts/index.html## Developer instructions
### Generate LDML
xkbcli list > xkbcli-list.yaml
python3 xkb_ldml.py### Create charts
Download CLDR data and tools from http://cldr.unicode.org/index/downloads . Extract data.
java -DCLDR_DIR=cldr -DCLDR_TMP_DIR=tmp -jar cldr-tools-40.0.jar showkeyboards