-
-
Save mvoong/311e6a4043705750cd13f051c5909605 to your computer and use it in GitHub Desktop.
uk-mac-xkb-symbols-config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- Amend the uk mac variants in /usr/share/X11/xkb/rules/evdev.xml --> | |
| ... | |
| <variant> | |
| <configItem> | |
| <name>mac</name> | |
| <description>English (UK, Macintosh)</description> | |
| </configItem> | |
| </variant> | |
| <!-- START OF ADDITION --> | |
| <variant> | |
| <configItem> | |
| <name>macfixed</name> | |
| <description>English (UK, Macintosh, Fixed)</description> | |
| </configItem> | |
| </variant> | |
| <!-- END OF ADDITION --> | |
| <variant> | |
| <configItem> | |
| <name>mac_intl</name> | |
| <description>English (UK, intl., Macintosh)</description> | |
| </configItem> | |
| </variant> | |
| ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Add this to /usr/share/X11/xkb/symbols/gb | |
| partial alphanumeric_keys | |
| xkb_symbols "macfixed" { | |
| // Describes the differences between a very simple en_US | |
| // keyboard and a very simple U.K. keyboard layout | |
| include "latin" | |
| name[Group1]= "English (UK, Macintosh, Fixed)"; | |
| key <AE02> { [ 2, at, EuroSign ] }; | |
| key <AE03> { [ 3, numbersign ] }; | |
| key <LSGT> { [ sterling, plusminus ] }; | |
| key <TLDE> { [ grave, asciitilde ] }; | |
| include "level3(ralt_switch)" | |
| include "level3(enter_switch)" | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment