Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

My custom AZERTY .keylayout file

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)

How to install

  1. Copy the .keylayout file to the Keyboard Layouts folder within /Library. In command form:

    # Install the keyboard layout system-wide
    cd /Library/Keyboard\ Layouts; sudo curl -O#
  2. Reboot, or log out and log in again.

  3. Enable the new keyboard layout via System PreferencesKeyboardInput SourcesAZERTY.

How to make the custom keyboard layout the system default

To use the custom layout for the login screen, you need to set it as the system default.

  1. Run the following command:

    sudo curl -#o /Library/Preferences/
  2. Reboot.

How to remove the default OS X keyboard layout from the Input menu

You can remove any default OS X keyboard layout (that you won’t be using anymore) from the Input menu as follows:

  1. Make sure the current input source is your custom keyboard layout.

  2. Open ~/Library/Preferences/ (If needed, you can convert the plist to XML by running plutil -convert xml1.)

  3. Remove the input source or input sources you want to disable from the AppleEnabledInputSources dictionary. If there is an AppleDefaultAsciiInputSource key, remove it.

  4. 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


Mathias Bynens


This keyboard layout is available under the MIT license.

You can’t perform that action at this time.