This is an edited version of the default ‘French Numerical’ AZERTY keyboard layout available on OS X.
The following special characters are now available through key combinations:
⌥
+i
=←
⌥
+⇧
+i
=→
⌥
+H
=♥
⌥
+⇧
+H
=♡
⌥
+2
=²
⌥
+⇧
+2
=³
⌥
+L
=λ
⌥
+⇧
+@
=☆
⌥
+⇧
+;
=‥
⌥
+⇧
+X
=×
⌥
+⇧
+C
=⌘
⌥
+⇧
+S
=⇧
⌥
+⇧
+O
=⌥
⌥
+⇧
+M
=−
(minus sign)⌥
+S
=∑
(used to be⌥
+⇧
+S
)
-
Copy the
.keylayout
file to theKeyboard Layouts
folder within/Library
. In command form:# Install the keyboard layout system-wide cd /Library/Keyboard\ Layouts; sudo curl -O# https://raw.githubusercontent.com/mathiasbynens/custom.keylayout/master/azerty/azerty.keylayout
-
Reboot, or log out and log in again.
-
Enable the new keyboard layout via System Preferences › Keyboard › Input Sources › AZERTY.
To use the custom layout for the login screen, you need to set it as the system default.
-
Run the following command:
sudo curl -#o /Library/Preferences/com.apple.HIToolbox.plist https://raw.githubusercontent.com/mathiasbynens/custom.keylayout/master/azerty/tmp.plist
-
Reboot.
You can remove any default OS X keyboard layout (that you won’t be using anymore) from the Input menu as follows:
-
Make sure the current input source is your custom keyboard layout.
-
Open
~/Library/Preferences/com.apple.HIToolbox.plist
. (If needed, you can convert theplist
to XML by runningplutil -convert xml1
.) -
Remove the input source or input sources you want to disable from the
AppleEnabledInputSources
dictionary. If there is anAppleDefaultAsciiInputSource
key, remove it. -
Reboot.
Note that I used ‘French Numerical’ instead of the ‘Belgian’ keyboard layout because the only difference between those two is that the French Numerical layout allows you to type numbers without pressing Shift
(by enabling Caps Lock
).
I’ve only overwritten key combinations that inserted characters that can be inserted by another, easier and more intuitive key combination. For example, to type ê
, you can either press ^
followed by E
, or ⌥
+ E
. I’d consider the last one to be obsolete.
OS X has supported .keylayout
files since version 10.2 (Jaguar).
Created using Ukelele.app.
Mathias Bynens |
This keyboard layout is available under the MIT license.