Invoke keylayout compilation?

17 views
Skip to first unread message

Jérémy Chatard

unread,
Apr 13, 2024, 3:33:20 AMApr 13
to Ukelele Users
Hi,

I've read in some threads users having keylayout files not showing up in their preference pane. And most of the time they send the file and John reports back an error from the uchr compiler.

I'd like to be able to check what the compiler says about my files.

In the documentation (https://developer.apple.com/library/archive/technotes/tn2056/_index.html) they say we need to check the console.log for "uchr XML compiler". But I could never find something like this.

Can someone point me in the right direction? I'm on Sonoma.

Thank you very much!

Jérémy

John Brownie

unread,
Apr 13, 2024, 12:53:30 PMApr 13
to ukelel...@googlegroups.com
Unfortunately, Apple changed their console log system a few years back, and it’s much less easy to use for the average person. You could try the following, but I’m not 100% sure that it will work.

  1. Open the Console app.
  2. Type uchr in the search field at top right.
  3. Click the start button.
  4. Now move the keyboard layout into the Keyboard Layouts folder.
  5. Hopefully you will see if there is a problem.

Sadly, when I try it, it doesn’t seem to work. There may be some way around this, but I haven’t been able to find it in limited testing.

The only guaranteed method I know of is to use the command line program klcompiler to check it. The problem there is that this has to be downloaded from the Apple Developer site, which requires an Apple Developer account. That’s free if you want that, but it’s more hassle than most people want to go through. If you do want it, it’s part of the Font Tools package.

John

Jérémy Chatard

unread,
Apr 14, 2024, 3:29:30 AMApr 14
to Ukelele Users
Thank you John, I'll give a try to klcompiler :-)
Reply all
Reply to author
Forward
0 new messages