xkeyboard-config/xkeyboard-config.macintosh.patch

36 lines
1.4 KiB
Diff

https://bugs.freedesktop.org/show_bug.cgi?id=8660
handle the left contrl/option/apple keys properly.
apple+tab switches window
alt+e gives euro, alt+l gives @, etc
---
rules/base.ml1_s.part | 2 +-
rules/base.ml_s.part | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Index: rules/base.ml_s.part
===================================================================
--- rules/base.ml_s.part.orig
+++ rules/base.ml_s.part
@@ -17,7 +17,7 @@
macintosh_old $nonlatin = macintosh_vndr/us(oldmac)+%l%(v):2
macintosh_old * = macintosh_vndr/us(oldmac)+%l%(v)
$macs en_US = pc+macintosh_vndr/us(extended)
- $macs $macvendorlayouts = pc+macintosh_vndr/%l%(v)
+ $macs $macvendorlayouts = pc+macintosh_vndr/%l%(v)+altwin(swap_lalt_lwin)+level3(alt_switch)
olpc $olpclayouts = olpc+%l%(m)
olpc * = olpc+%l%(v)
thinkpad br = pc+br(thinkpad)
Index: rules/base.ml1_s.part
===================================================================
--- rules/base.ml1_s.part.orig
+++ rules/base.ml1_s.part
@@ -5,6 +5,6 @@
macintosh_old us = macintosh_vndr/us(oldmac)
macintosh_old $macvendorlayouts = macintosh_vndr/us(oldmac)+macintosh_vndr/%l[1]%(v[1])
macintosh_old * = macintosh_vndr/us(oldmac)+%l[1]%(v[1])
- $macs $macvendorlayouts = pc+macintosh_vndr/%l[1]%(v[1])
+ $macs $macvendorlayouts = pc+macintosh_vndr/%l[1]%(v[1])+altwin(swap_lalt_lwin)+level3(alt_switch)
thinkpad br = pc+%l[1](thinkpad)
* * = pc+%l[1]%(v[1])