Support for OS X Lion’s “key variations”
mathiasbynens opened this issue · comments
Ukelele.app’s “New From Current Input Source” doesn’t work in Lion anymore: http://groups.google.com/group/ukelele-users/browse_thread/thread/109cdaf6c840eadf
This is still not possible with Ukelele 2.1.8, but at least you can create new keyboard layouts based on the default ones again: http://groups.google.com/group/ukelele-users/browse_thread/thread/5e5b74fd9cd7f793
I’ve started a thread on the Apple subsite of Stack Exchange: http://apple.stackexchange.com/q/44906/4408 Turns out the characters in the popovers are defined in /System/Library/Input Methods/PressAndHold.app/Contents/Resources/Keyboard-en.plist
. There’s no way of knowing if it’s even possible to define them from within a .keylayout
file.
Ukelele.app 2.2 supports this!
By saving a keyboard layout in a bundle, it will become compatible with the “press and hold” mechanism for entering diacritics, introduced in OS X 10.7 (Lion). For this purpose, an “intended language” can be supplied (default is the system language), which will determine which possibilities are offered in the pop-up. However, such bundles may not work with OS X 10.4 (Tiger) and earlier.
I don’t really need or want this. I’d rather use https://github.com/mathiasbynens/dotfiles/blob/d82a407f9f73c0cf8c0c5aed31710779add1fb9c/.osx#L145-L149.