Hacker News new | ask | show | jobs
by nammi 1163 days ago
I think Karabiner(-Elements) is way more popular and probably more flexible, but I've had a lot of success with Ukelele for 6-7 years. I exported one layout and just copy it to each new macbook. Specifically it lets me set `option` as a dead key so I can have `opt+i`, `opt+j`, etc... shortcuts in editors.

https://software.sil.org/ukelele/

2 comments

It is more flexible but it's a bloatware. I had to spend some time to uninstall it completely.

https://karabiner-elements.pqrs.org/docs/manual/operation/un...

> bloatware

That word doesn't mean what you think it means. What those instructions explain is (1) removing macOS permissions, (2) removing logs/temporary files, (3) removing config. These are normal things that some may want to keep after uninstalling the program. Calling it bloatware is misleading and dilutes the meaning for things that are actually bloatware.

The Mac keyboard layout system is good; it's basically a tree of states, so it's both simple and capable. Ukelele is a decent layout editor; the only down side I recall is that it's not easy to create chains analogous to X11 Compose. Editing or generating keyboard layout XML directly is also possible.

Karabiner and hidutil are at a lower level; they modify the key codes that are the input to layout.