You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I built lafayette.toml with Kalamine and began to use with Debian : it worked fine.
Then, I tried to install the dist/lafayette.keylayout file at the office, on a very old macOS (Mojave 10.14).
I know how to install a *.keylayout file in ~/Library/Keyboard\ Layouts, as I've done it a couple of times before, but this time it didn't worked – the layout didn't showed up in Preferences > Keyboard > Input Sources (or Préférences > Clavier > Méthodes de saisie as the locale is French).
Looking at the lafayette.keylayout file (attached to this issue as lafayette.keylayout.txt ), I found two duplicate blocks of XML elements :
The first one at lines 1252-1259, the second one at lines 1268-1275 :
I deleted the duplicate blocks. The layout then appeared in Input Sources and I was able to use it (as a proof : I’ve written some paragraphs of this message with Lafayette).
I don't know whether the issue comes from Qwerty Lafayette or from Kalamine (I tried to look at the Kalamine code, but I have no programming skills). But for testing purpose I built two other layouts :
iovantsaous
changed the title
invalid lafayette.keylayout built with Kalamine (duplicate XML elements)
invalid lafayette.keylayout built with Kalamine (duplicate XML elements) (macOS)
Jun 6, 2024
I run Debian 12 at home. I first installed pipx, then Kalamine 0.36.
I downloaded Qwerty Lafayette v0.9 https://qwerty-lafayette.org/layouts/lafayette.toml
I built
lafayette.toml
with Kalamine and began to use with Debian : it worked fine.Then, I tried to install the
dist/lafayette.keylayout
file at the office, on a very old macOS (Mojave 10.14).I know how to install a
*.keylayout
file in~/Library/Keyboard\ Layouts
, as I've done it a couple of times before, but this time it didn't worked – the layout didn't showed up inPreferences > Keyboard > Input Sources
(orPréférences > Clavier > Méthodes de saisie
as the locale is French).Looking at the
lafayette.keylayout
file (attached to this issue as lafayette.keylayout.txt ), I found two duplicate blocks of XML elements :The first one at lines 1252-1259, the second one at lines 1268-1275 :
I deleted the duplicate blocks. The layout then appeared in
Input Sources
and I was able to use it (as a proof : I’ve written some paragraphs of this message with Lafayette).I don't know whether the issue comes from Qwerty Lafayette or from Kalamine (I tried to look at the Kalamine code, but I have no programming skills). But for testing purpose I built two other layouts :
I could install Ergol, but not
lafayette101.keylayout
. There was another duplicate block :So I deleted the duplicata XML element and the layout showed up in
Input sources
.For information, the prebuilt layout for Lafayette v0.8, downloaded from https://qwerty-lafayette.org/releases/lafayette_macos_v0.8.keylayout, works fine on macOS 10.14.
The text was updated successfully, but these errors were encountered: