Modifying Mac OS X's default keyboard Press and Hold accents to include commonly romanized characters used in Indian languages (e.g. ṇ, ṣ, etc.)
Successfully tested on 10.13.3 High Sierra on a MacBook Air 6,2.
Disable System Integrity Protection first, in order to edit these files:
-
Boot into the Recovery HD by restarting whilst holding ⌘R
-
Open Terminal (from the Utilities menu)
-
Run the following command in Terminal:
csrutil disable
-
Restart
Replace the respective plist file inside (creating a backup first). It can be helpful to double check the differences first using the diff
command.
- For OS X 10.12 Sierra onwards
/System/Library/Input Methods/PressAndHold.app/Contents/PlugIns/PAH_Extension.appex/Contents/Resources
No restart is required. Optionally boot into Recovery mode and enable System Integration Protection again with the csrutil enable
command.
- Ḍ D̥ (new group)
- Ḥ (new group)
- Ṇ Ṅ
- Ṛ (new group)
- Ṣ
- Ṭ (new group)
- ḍ d̥ (new group)
- ḥ (new group)
- ṁ mँ (new group)
- ṇ ṅ
- ṛ (new group)
- ṣ
- ṭ (new group)
Note: for all new groups, i arbitrarily chose <Direction>left</Direction>
but am not sure if it matters.