I'm just put writed myself code to the end of file /usr/share/X11/xkb/symbols/ru // Apple layout partial default alphanumeric_keys xkb_symbols "ru_mac" { include "ru(common)" name[Group1]= "Russian Macintosh"; key { [ less, greater ] }; key { [ 2, quotedbl ] }; key { [ 3, numerosign ] }; key { [ 4, percent ] }; key { [ 5, colon ] }; key { [ 6, comma ] }; key { [ 7, period ] }; key { [ 8, semicolon ] }; key { [ bracketright, bracketleft ] }; key { [ Cyrillic_io, Cyrillic_IO ] }; }; And add variant in file /usr/share/X11/xkb/rules/evdev.xml ru_mac Russian (Macintosh)