Custom layout icon missing from the input source switcher popup

1 view
Skip to first unread message

steve...@sil.org

unread,
11:31 AM (7 hours ago) 11:31 AM
to Ukelele Users
From: Laszlo Vass <laszl...@gmail.com>
Product: OTHER
Subject: Ukelele - Custom layout icon missing from the input source switcher popup

Dear Ukelele team,

I have created a custom keyboard layout with Ukelele, saved as a bundle containing a .keylayout file and an .icns icon, and installed in ~/Library/Keyboard Layouts/. The icon displays correctly in the menu bar input source selector. However, it does not appear in the small popup that shows when I switch layouts with the keyboard shortcut. Built-in layouts show their icons there.

While investigating, I found that Apple’s built-in layouts are stored in AppleKeyboardLayouts-L.dat, which also contains embedded binary plists with a TISIconLabels property. I understand from a thread on this group that this property is not supported in layout bundles. My questions are:

Is there any way to make the icon appear in the switcher popup for a layout installed as a bundle?
Is there any supported way to set TISIconLabels, or an equivalent, for a custom layout?
If not, is there a workaround, such as a different bundle structure or Info.plist key, that makes macOS show the icon or a text label in that popup?

I am using macOS 27.2, and would be glad to send the bundle if that helps.

Thank you for your work on Ukelele.

Kind regards,
Laszlo

[Laszlo sent this using the Contact us form at software.sil.org

Gé van Gasteren

unread,
12:58 PM (6 hours ago) 12:58 PM
to ukelel...@googlegroups.com
Hi Laszlo,

I think you have done everything right if you have logged out after installing your .bundle file.
You could try removing it and installing it again using Ukelele's built-in Organiser, but that's just a guess.

It should be possible to get your icon in the list: On my Mac (with 27.2), holding down the shortcut for a second produces the following list, including one custom keyboard layout:
image.png


--
You received this message because you are subscribed to the Google Groups "Ukelele Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ukelele-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ukelele-users/30c543ac-387d-4624-b3f1-f98e34f32740n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages