|
Export Mac .keylayout fileFeature available only in Premium and Personal editions (not available in Lite and Player editions). The "Export Mac keylayout file" command is accessed through the File | Export Mac keylayout file... menu item, or through the button (Export Mac keylayout file) on the main toolbar. It exports the current layout in the Mac keylayout format, which allows them to be installed and used on all current versions of Apple Mac OS. (Note that KbdEdit can also import Mac layouts via the Import Mac .keylayout file command). Choosing the command opens up the standard "Save As" dialog, where a full path to the saved file can be chosen:
Installing exported layouts on a MacInstalling the keylayout files on a Mac requires a few manual steps. Each file you want to use under Mac has to be copied to the ~/Library/Keyboard Layouts/ subdirectory under current user's home directory (represented by tilde ~):
This subdirectory does not exist by default, and will most likely have to be created first. Keep in mind that capitalisation matters under Mac - ~/Library/Keyboard Layouts/ and ~/Library/keyboard layouts/ are two distinct directories, and only the former is correct. Installing keylayout files in this subdirectory makes them available only to the current user. To make them available system-wide (to all users), they have to be copied to system directory /Library/Keyboard Layouts/. For the new layouts to be picked up, it is necessary to log out and log back in. The new layouts will appear under the Others language in Keyboard Settings UI:
Click Add for the desired layouts, and they will appear in the keyboard switcher UI:
Limitations of Windows-to-Mac conversionUnder the hood, Windows and Mac keyboard layout file formats are quite different, with each supporting unique functionality not found in the other. This means that conversion can be a lossy process, in which some of the features of the original Windows layout are not fully (or at all) replicated on the Mac side. What is preservedThese functions are fully preserved:
Note however that, on the Mac side, only dead transformations that are accessible through current key mappings are retained in the layout. This differs from the Windows format, where dead transformations are kept in the dead table even if they are not mapped to any keys! In practice this means that you may notice a loss of some dead transformations if you export a layout to the keylayout format, and import the same layout back with Import Mac .keylayout file. ModifiersOnly Shift, AltGR and Ctrl modifier keys are supported reliably. On the Mac side, they are mapped to the Shift, Opt and Ctrl keys respectively (be aware of limitations of Ctrl as a general-purpose modifier key). If a Windows layout uses the Kana key, either togglable or non-togglable, it will be represented by the Cmd key on the Mac side, but this is unlikely to work as intended, as Cmd is usually reserved for UI shortcuts under Mac. Windows modifier keys Roya and Loya are not supported. Each Windows modifier position is accessible via only one modifier combination on the Mac side. This differs from the Mac approach, whereby each modifier position is typically accessible through several different combinations. Low-level customisationsMost Low-level editor customisations are not supported on the Mac side:
Maximising Windows / Mac interoperabilityHere are a few practical tips to ensure your custom layout remains usable on a Mac:
|
Copyright © KbdSoft 2007-2025 |