Skip to content

Commit

Permalink
add unique id for each keylayout
Browse files Browse the repository at this point in the history
  • Loading branch information
andreineculau committed Nov 21, 2021
1 parent 0bbee5f commit 1203058
Show file tree
Hide file tree
Showing 705 changed files with 686 additions and 2,270 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ XKB_DATA_URL=http://ports.ubuntu.com/pool/main/x/xkeyboard-config/${XKB_DATA_DEB
all: ${XKB_DATA_DEB}
ar -x ${XKB_DATA_DEB} ./data.tar.xz
tar xvf data.tar.xz
rm -rf data.tar.xz tmp Makefile.log
( for f in usr/share/X11/xkb/symbols/??; do \
rm -rf data.tar.xz tmp Makefile.log *.keylayout
( id=0; \
for f in usr/share/X11/xkb/symbols/??; do \
for g in $$(cat $$f | grep "^xkb_symbols" | sed "s/^xkb_symbols \+\"\([^\"]\+\)\".*/\1/"); do \
./klfc --from-xkb "$$f($$g)" --keylayout ./tmp; \
f_basename=$$(basename $$f); \
Expand All @@ -15,6 +16,8 @@ all: ${XKB_DATA_DEB}
echo y-xkb-$${f_basename}$${g_suffix}.keylayout; \
mv tmp/$${f_basename}$${g_suffix}.keylayout y-xkb-$${f_basename}$${g_suffix}.keylayout; \
sed -i "s/name=\"[^\"]\+\"/name=\"ysoftwareab xkb $${f_basename}$${g_suffix}\"/" y-xkb-$${f_basename}$${g_suffix}.keylayout; \
id=$$((id+1)); \
sed -i "s/id=\"-1337\"/id=\"$${id}\"/" y-xkb-$${f_basename}$${g_suffix}.keylayout; \
done; \
done ) 2>>Makefile.log
rm -rf tmp
Expand Down
2 changes: 1 addition & 1 deletion y-xkb-af-fa-olpc.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb af-fa-olpc">
<keyboard group="126" id="1" name="ysoftwareab xkb af-fa-olpc">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
2 changes: 1 addition & 1 deletion y-xkb-af-olpc-ps.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb af-olpc-ps">
<keyboard group="126" id="2" name="ysoftwareab xkb af-olpc-ps">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
2 changes: 1 addition & 1 deletion y-xkb-af-ps.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb af-ps">
<keyboard group="126" id="3" name="ysoftwareab xkb af-ps">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
2 changes: 1 addition & 1 deletion y-xkb-af-uz-olpc.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb af-uz-olpc">
<keyboard group="126" id="4" name="ysoftwareab xkb af-uz-olpc">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
2 changes: 1 addition & 1 deletion y-xkb-af-uz.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb af-uz">
<keyboard group="126" id="5" name="ysoftwareab xkb af-uz">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
2 changes: 1 addition & 1 deletion y-xkb-af.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb af">
<keyboard group="126" id="6" name="ysoftwareab xkb af">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
2 changes: 1 addition & 1 deletion y-xkb-al-plisi.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb al-plisi">
<keyboard group="126" id="7" name="ysoftwareab xkb al-plisi">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
2 changes: 1 addition & 1 deletion y-xkb-al-veqilharxhi.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb al-veqilharxhi">
<keyboard group="126" id="8" name="ysoftwareab xkb al-veqilharxhi">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
2 changes: 1 addition & 1 deletion y-xkb-al.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb al">
<keyboard group="126" id="9" name="ysoftwareab xkb al">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
2 changes: 1 addition & 1 deletion y-xkb-am-eastern-alt.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb am-eastern-alt">
<keyboard group="126" id="10" name="ysoftwareab xkb am-eastern-alt">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
2 changes: 1 addition & 1 deletion y-xkb-am-eastern.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb am-eastern">
<keyboard group="126" id="11" name="ysoftwareab xkb am-eastern">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
2 changes: 1 addition & 1 deletion y-xkb-am-olpc-phonetic.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb am-olpc-phonetic">
<keyboard group="126" id="12" name="ysoftwareab xkb am-olpc-phonetic">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
2 changes: 1 addition & 1 deletion y-xkb-am-olpc.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb am-olpc">
<keyboard group="126" id="13" name="ysoftwareab xkb am-olpc">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
2 changes: 1 addition & 1 deletion y-xkb-am-phonetic-alt.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb am-phonetic-alt">
<keyboard group="126" id="14" name="ysoftwareab xkb am-phonetic-alt">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
2 changes: 1 addition & 1 deletion y-xkb-am-phonetic.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb am-phonetic">
<keyboard group="126" id="15" name="ysoftwareab xkb am-phonetic">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
2 changes: 1 addition & 1 deletion y-xkb-am-western.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb am-western">
<keyboard group="126" id="16" name="ysoftwareab xkb am-western">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
2 changes: 1 addition & 1 deletion y-xkb-am.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb am">
<keyboard group="126" id="17" name="ysoftwareab xkb am">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
2 changes: 1 addition & 1 deletion y-xkb-at-mac.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb at-mac">
<keyboard group="126" id="18" name="ysoftwareab xkb at-mac">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
2 changes: 1 addition & 1 deletion y-xkb-at-nodeadkeys.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb at-nodeadkeys">
<keyboard group="126" id="19" name="ysoftwareab xkb at-nodeadkeys">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
2 changes: 1 addition & 1 deletion y-xkb-at-sundeadkeys.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb at-sundeadkeys">
<keyboard group="126" id="20" name="ysoftwareab xkb at-sundeadkeys">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
2 changes: 1 addition & 1 deletion y-xkb-at.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb at">
<keyboard group="126" id="21" name="ysoftwareab xkb at">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
2 changes: 1 addition & 1 deletion y-xkb-au.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb au">
<keyboard group="126" id="22" name="ysoftwareab xkb au">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
2 changes: 1 addition & 1 deletion y-xkb-az-cyrillic.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb az-cyrillic">
<keyboard group="126" id="23" name="ysoftwareab xkb az-cyrillic">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
2 changes: 1 addition & 1 deletion y-xkb-az-latin.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb az-latin">
<keyboard group="126" id="24" name="ysoftwareab xkb az-latin">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
69 changes: 0 additions & 69 deletions y-xkb-az.keylayout

This file was deleted.

2 changes: 1 addition & 1 deletion y-xkb-ba-alternatequotes.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb ba-alternatequotes">
<keyboard group="126" id="25" name="ysoftwareab xkb ba-alternatequotes">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
2 changes: 1 addition & 1 deletion y-xkb-ba-unicode.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb ba-unicode">
<keyboard group="126" id="26" name="ysoftwareab xkb ba-unicode">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
2 changes: 1 addition & 1 deletion y-xkb-ba-unicodeus.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb ba-unicodeus">
<keyboard group="126" id="27" name="ysoftwareab xkb ba-unicodeus">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
2 changes: 1 addition & 1 deletion y-xkb-ba-us.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb ba-us">
<keyboard group="126" id="28" name="ysoftwareab xkb ba-us">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
2 changes: 1 addition & 1 deletion y-xkb-ba.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb ba">
<keyboard group="126" id="29" name="ysoftwareab xkb ba">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
2 changes: 1 addition & 1 deletion y-xkb-bd-probhat.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb bd-probhat">
<keyboard group="126" id="30" name="ysoftwareab xkb bd-probhat">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
2 changes: 1 addition & 1 deletion y-xkb-bd.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb bd">
<keyboard group="126" id="31" name="ysoftwareab xkb bd">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
2 changes: 1 addition & 1 deletion y-xkb-be-iso-alternate.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb be-iso-alternate">
<keyboard group="126" id="32" name="ysoftwareab xkb be-iso-alternate">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
2 changes: 1 addition & 1 deletion y-xkb-be-nodeadkeys.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb be-nodeadkeys">
<keyboard group="126" id="33" name="ysoftwareab xkb be-nodeadkeys">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
2 changes: 1 addition & 1 deletion y-xkb-be-oss.keylayout
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Generated by KLFC 1.5.6
https://github.com/39aldo39/klfc
-->
<keyboard group="126" id="-1337" name="ysoftwareab xkb be-oss">
<keyboard group="126" id="34" name="ysoftwareab xkb be-oss">
<layouts>
<layout first="0" last="0" modifiers="defaultModifierMap" mapSet="defaultKeyMapSet" />
</layouts>
Expand Down
Loading

0 comments on commit 1203058

Please sign in to comment.