xkeyboard-config/xkeyboard-config.macintosh.patch

35 lines
1.4 KiB
Diff
Raw Normal View History

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.ml1_s.part
===================================================================
--- rules/base.ml1_s.part.orig
+++ rules/base.ml1_s.part
@@ -5,5 +5,5 @@
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)
* * = pc+%l[1]%(v[1])
Index: rules/base.ml_s.part
===================================================================
--- rules/base.ml_s.part.orig
+++ rules/base.ml_s.part
@@ -14,7 +14,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)
* jp = pc+jp(latin)+jp:2
* $nonlatin = pc+us+%l%(v):2
* * = pc+%l%(v)