PC keyboard layouts for MacOS straight from X11 xkb.
Thanks to klfc, we converted all keyboard layouts from an Ubuntu 20.04 distribution (X11 xkb) to MacOS (keylayout).
Outcome: type on your Mac the same way you would type on a PC.
Copy y-xkb-<language>.*
to your ~/Library/Keyboard Layouts
folder,
or /Library/Keyboard Layouts
to install for all users,
and then activate the ysoftwareab xkb <language>
via System Preferences
- Keyboard
- Keyboard (tab)
- Input Sources
.
The reasons stem from the Swedish keyboard layout on MacOS.
Basic keys for programming are a killer to reach:
|
isRight Option + 7
\
isShift + Right Option + 7
{
isShift + Right Option + 8
}
isShift + Right Option + 9
Same keys on PC:
|
isRight Option + <
\
isRight Option + +
{
isRight Option + 7
}
isRight Option + 0
Similar issues surface in other languages as you can see in Related Work.
What is different from other initiatives is that this is not a manual conversion.
For a visual diff, please consult the original MacOS keyboard layout se.pdf and the PC keyboard layout y-xkb-se.pdf, as exported by Ukelele.
- https://github.com/PetorSFZ/MacOSX-Improved-Swedish-Keyboard-Layout
- https://github.com/skrysmanski/windows-pc-keyboard-layout-mac
- https://github.com/memm74/PC-Tastatur105.keylayout
- https://github.com/cbaggers/backup-uk-keyboard-layouts-for-macos
- https://gist.github.com/IvanRublev/2da1c7447d0458989d4654b5c35c22b4
- https://github.com/fardjad/persian-pc.keylayout
- https://github.com/kalbason/MacOS-Ukrainian-PC-keyboard-layout
- https://github.com/zaki/mac-hun-keyboard