I need to get those flag icons:

enter image description here

Question is How do I do it?

As far I've tried :

  • searching the web for them (duh..),
  • extracting them from Ukelele package (only non-retina ones are there),
  • (Unsuccessfully) trying to extract it from this file: /System/Library/Keyboard\ Layouts/AppleKeyboardLayouts.bundle/Contents/Resources/AppleKeyboardLayouts-L.dat

Either pointing me to this resource or any hint on how to "open" this .dat file will be really helpful. Thanks!

  • Are you using a Mac or an iOS a device? – Daniel Oct 1 '14 at 0:28
  • Macbook Pro Retina on Yosemite (not sure if that's relevant). – meeDamian Oct 1 '14 at 0:51

You can use apple-kbd-dat-icon-extract.py from https://github.com/phible/scripts:

curl https://raw.githubusercontent.com/phible/scripts/master/apple-kbd-dat-icon-extract.py -o a.py;mkdir icons;python a.py -o icons

  • That's exactly what I was looking for! Live long and prosper, my friend :). – meeDamian Oct 2 '14 at 13:14

You must log in to answer this question.

protected by Community Feb 16 '16 at 15:54

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged .