xkeyboard-config/xkeyboard-config.macintosh.patch

28 lines
1.2 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.ml_s.part
+++ rules/base.ml_s.part
@@ -20,7 +20,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)
$thinkpads br = pc+br(thinkpad)
--- rules/base.ml1_s.part
+++ 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)
$thinkpads br = pc+%l[1](thinkpad)
* * = pc+%l[1]%(v[1])