Last active
December 12, 2016 17:48
-
-
Save frne/f21513f3f97d68db73338b3bcb86269f to your computer and use it in GitHub Desktop.
XUBUNTU ob MacBook Pro
This file contains 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
# path: /usr/share/X11/xorg.conf.d/90-rat.conf | |
Section "InputClass" | |
Identifier "Mouse Remap" | |
MatchDevicePath "/dev/input/event*" | |
MatchProduct "Mad Catz Mad Catz R.A.T.7 Mouse" | |
Option "AutoReleaseButtons" "13 14 15" | |
Option "Buttons" "17" | |
Option "YAxisMapping" "10 11" | |
Option "ZAxisMapping" "4 5 6 7" | |
Option "Emulate3Buttons" "no" | |
Option "Resolution" "2000" | |
Option "ButtonMapping" "1 2 3 4 5 0 0 8 9 7 6 12 0 0 0 16 17" | |
EndSection |
This file contains 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
# path: /usr/share/X11/xorg.conf.d/90-trackpad.conf | |
Section "InputClass" | |
Identifier "touchpad catchall" | |
Driver "mtrack" | |
MatchIsTouchpad "on" | |
# This option is recommend on all Linux systems using evdev, but cannot be | |
# enabled by default. See the following link for details: | |
# http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html | |
MatchDevicePath "/dev/input/event*" | |
EndSection | |
Section "InputClass" | |
Identifier "touchpad ignore duplicates" | |
MatchIsTouchpad "on" | |
MatchOS "Linux" | |
MatchDevicePath "/dev/input/mouse*" | |
Option "Ignore" "on" | |
EndSection | |
# This option enables the bottom right corner to be a right button on clickpads | |
# and the right and middle top areas to be right / middle buttons on clickpads | |
# with a top button area. | |
# This option is only interpreted by clickpads. | |
Section "InputClass" | |
Identifier "Default clickpad buttons" | |
MatchDriver "mtrack" | |
Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0" | |
Option "SecondarySoftButtonAreas" "58% 0 0 15% 42% 58% 0 15%" | |
EndSection | |
# This option disables software buttons on Apple touchpads. | |
# This option is only interpreted by clickpads. | |
Section "InputClass" | |
Identifier "Disable clickpad buttons on Apple touchpads" | |
MatchProduct "Apple|bcm5974" | |
MatchDriver "mtrack" | |
Option "SoftButtonAreas" "0 0 0 0 0 0 0 0" | |
EndSection | |
Section "InputClass" | |
MatchIsTouchpad "on" | |
Identifier "Touchpads" | |
Driver "mtrack" | |
Option "Sensitivity" "0.95" | |
Option "FingerHigh" "12" | |
Option "FingerLow" "1" | |
Option "IgnoreThumb" "true" | |
Option "IgnorePalm" "true" | |
Option "TapButton1" "0" | |
Option "TapButton2" "0" | |
Option "TapButton3" "0" | |
Option "TapButton4" "0" | |
Option "ClickFinger1" "1" | |
Option "ClickFinger2" "3" | |
Option "ClickFinger3" "3" | |
# Option "ButtonMoveEmulate" "false" | |
Option "ButtonIntegrated" "true" | |
Option "ClickTime" "25" | |
Option "BottomEdge" "25" | |
Option "SwipeLeftButton" "8" | |
Option "SwipeRightButton" "9" | |
Option "SwipeUpButton" "0" | |
Option "SwipeDownButton" "0" | |
Option "ScrollDistance" "75" | |
Option "ScrollUpButton" "5" | |
Option "ScrollDownButton" "4" | |
EndSection |
This file contains 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
// path: /usr/share/X11/xkb/symbols/macintosh_vndr/ch | |
// 03.01.2003 | |
// Andreas Tobler <[email protected]> | |
// modified for Swiss German Apple Extended Keyboard II | |
default | |
partial alphanumeric_keys | |
xkb_symbols "extended" { | |
name[Group1]= "Switzerland - German, Mac"; | |
key <AE01> { [ 1, plus, plusminus, infinity ] }; | |
key <AE02> { [ 2, quotedbl, leftdoublequotemark, rightdoublequotemark ] }; | |
key <AE03> { [ 3, asterisk, numbersign, leftcaret ] }; | |
// not displayed here | |
key <AE04> { [ 4, ccedilla, Ccedilla, slash ] }; | |
key <AE05> { [ 5, percent, bracketleft ] }; | |
key <AE06> { [ 6, ampersand, bracketright ] }; | |
key <AE07> { [ 7, slash, bar, backslash ] }; | |
key <AE08> { [ 8, parenleft, braceleft, Ograve ] }; | |
key <AE09> { [ 9, parenright, braceright, Ocircumflex ] }; | |
key <AE10> { [ 0, equal, notequal, Uacute ] }; | |
key <AE11> { [ apostrophe, question, questiondown, NoSymbol ] }; | |
key <AE12> { [ dead_circumflex,dead_grave, dead_acute, asciicircum ] }; | |
key <AD01> { [ q, Q, oe, OE ] }; | |
key <AD02> { [ w, W, Greek_SIGMA, Aacute ] }; | |
key <AD03> { [ e, E, EuroSign, Ediaeresis ] }; | |
key <AD04> { [ r, R, registered, Egrave ] }; | |
key <AD05> { [ t, T, dagger, Icircumflex ] }; | |
key <AD06> { [ z, Z, Greek_OMEGA, Iacute ] }; | |
key <AD07> { [ u, U, degree, Ugrave ] }; | |
key <AD08> { [ i, I, exclamdown, idotless ] }; | |
key <AD09> { [ o, O, oslash, Ooblique ] }; | |
key <AD10> { [ p, P, Greek_pi, Greek_PI ] }; | |
key <AD11> { [ udiaeresis, egrave, section, ydiaeresis ] }; | |
key <AD12> { [ dead_diaeresis, exclam, grave, apostrophe ] }; | |
key <AC01> { [ a, A, aring, Aring ] }; | |
key <AC02> { [ s, S, ssharp, NoSymbol ] }; | |
// ligature fl | |
key <AC03> { [ d, D, Greek_sigma, NoSymbol ] }; | |
// partialderivative is not available here att | |
key <AC04> { [ f, F, function, doubledagger ] }; | |
key <AC05> { [ g, G, at, comma ] }; | |
key <AC06> { [ h, H, ordfeminine, periodcentered ] }; | |
key <AC07> { [ j, J, masculine, eth ] }; | |
key <AC08> { [ k, K, Greek_DELTA, macron ] }; | |
key <AC09> { [ l, L, notsign, caret ] }; | |
key <AC10> { [ odiaeresis, eacute, cent, breve ] }; | |
key <AC11> { [ adiaeresis, agrave, ae, AE ] }; | |
key <AB01> { [ y, Y, yen, Ydiaeresis ] }; | |
key <AB02> { [ x, X, similarequal, trademark ] }; | |
key <AB03> { [ c, C, copyright, NoSymbol ] }; | |
key <AB04> { [ v, V, radical, diamond ] }; | |
key <AB05> { [ b, B, integral, NoSymbol ] }; | |
key <AB06> { [ n, N, dead_tilde, enopencircbullet ] }; | |
// to be fixed att | |
key <AB07> { [ m, M, mu, dead_abovering ] }; | |
// not sure att | |
key <AB08> { [ comma, semicolon, guillemotleft, guillemotright ] }; | |
key <AB09> { [ period, colon, ellipsis, division ] }; | |
key <AB10> { [ minus, underscore, hyphen, emdash ] }; | |
key <TLDE> { [ less, greater, NoSymbol, NoSymbol ] }; | |
// ligature fi // per mille | |
key <SPCE> { [ space, nobreakspace, nobreakspace ] }; | |
key <LSGT> { [ less, greater, lessthanequal, greaterthanequal ] }; | |
key <BKSL> { [ dollar, sterling, paragraph, enfilledcircbullet ] }; | |
include "kpdl(comma)" | |
include "level3(ralt_switch)" | |
}; | |
partial alphanumeric_keys | |
xkb_symbols "de" { | |
include "macintosh_vndr/ch(extended)" | |
}; | |
partial alphanumeric_keys | |
xkb_symbols "fr" { | |
include "macintosh_vndr/ch(extended)" | |
name[Group1]= "Switzerland - French, Mac"; | |
override key <AD11> { | |
[ egrave, udiaeresis, bracketleft ] | |
}; | |
override key <AC10> { | |
[ eacute, odiaeresis ] | |
}; | |
override key <AC11> { | |
[ agrave, adiaeresis, braceleft ] | |
}; | |
}; | |
partial alphanumeric_keys | |
xkb_symbols "nodeadkeys" { | |
include "macintosh_vndr/ch(fr)" // for consistent naming | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment