Voilà mon xorg.conf pour un Ibook G4 1,42ghz
Section "ServerLayout"
Identifier "X"
Screen 0 "Screen" 0 0
InputDevice "SynapticsTouchpad" "CorePointer"
InputDevice "Mouse"
InputDevice "Keyboard" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/lib/X11/rgb"
ModulePath "/usr/lib/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/local/share/fonts"
EndSection
Section "Module"
Load "extmod"
Load "dri"
Load "dbe"
Load "record"
Load "xtrap"
Load "glx"
Load "type1"
Load "freetype"
EndSection
Section "InputDevice"
Identifier "Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "macintosh"
Option "XkbLayout" "fr_new2"
EndSection
Section "InputDevice"
Identifier "Mouse"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "SynapticsTouchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
# Option "Device" "/dev/input/mice"
Option "Device" "/dev/input/appletouch"
Option "Protocol" "auto-dev"
Option "LeftEdge" "50"
Option "RightEdge" "900" # max 950
Option "TopEdge" "30"
Option "BottomEdge" "304" # max 334
Option "FingerLow" "15"
Option "FingerHigh" "20"
Option "MaxTapTime" "180"
Option "MaxTapMove" "100"
Option "MaxDoubleTapTime" "180"
Option "ClickTime" "100"
Option "FastTaps" "0"
Option "VertScrollDelta" "30"
Option "HorizScrollDelta" "30"
Option "EdgeMotionMinZ" "30"
Option "EdgeMotionMaxZ" "160"
Option "EdgeMotionMinSpeed" "1"
Option "EdgeMotionMaxSpeed" "400"
Option "EdgeMotionUseAlways" "false"
Option "MinSpeed" "0.5"
Option "MaxSpeed" "2.0"
Option "AccelFactor" "0.12"
Option "LockedDrags" "false"
Option "RTCornerButton" "0"
Option "RBCornerButton" "0"
Option "LTCornerButton" "0"
Option "LBCornerButton" "0"
Option "TapButton1" "1"
Option "TapButton2" "2"
Option "TapButton3" "3"
Option "CircularScrolling" "1"
Option "CircScrollDelta" "0.1"
Option "CircScrollTrigger" "1"
Option "PalmDetect" "false" # not supported
Option "CoastingSpeed" "1"
Option "SHMConfig" "on"
EndSection
Section "Monitor"
Identifier "InternalMonitor"
VendorName "Apple"
ModelName "LCD"
DisplaySize 246 185
EndSection
Section "Device"
Identifier "GraphicCard"
Driver "ati"
VendorName "ATI Technologies Inc"
BoardName "Radeon 9550"
BusID "PCI:0:16:0"
Option "AGPMode" "4"
Option "PanelSize" "1024x768"
# Clone Mode:
# Option "MonitorLayout" "LVDS,CRT"
# Option "CRT2HSync" "31.5-80"
# Option "CRT2VRefresh" "60-85"
# Option "MetaModes" "1024x768-1024x768"
EndSection
Section "Screen"
Identifier "Screen"
Device "GraphicCard"
Monitor "InternalMonitor"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
Pour la sortie VGA, j'en sais rien, je l'utilise pas...
Le défilement avec le pavé est activé avec ce xorg.conf.
Pour le mapping clavier voilà la carte fr_new2 à copier dans /etc/X11/xkb/symbols et dans /etc/X11/xkb/symbols/macintosh (par mesure de précaution, je sais plus dans lequel faut le copier exactement donc autant faire les deux 😉 ) :
// Marc.Shapiro@inria.fr 19-sep-1998
// modifications : Etienne Herlent <eherlent@linux-france.org> june 2000
// adapted to the new input layer :
// Martin Costabel <costabel@wanadoo.fr> 3-jan-2001
// adapted for Latin9 alphabet (ISO-8859-15):
// Etienne Herlent <eherlent@linux-france.org> march 2005
// This map is an almost-complete mapping of the standard French
// MacIntosh keyboard under Xwindows. I tried to remain as faithful
// as possible to the Mac meaning of each key. I did this entirely by
// hand and by intuition, relying on the Clavier (Keyboard?) Desktop
// Accessory for the Mac meaning of keys, and on reading keysymdef.h
// to intuit the corresponding X names. Lacking proper documentation,
// I may have made some mistakes.
// Entries marked CHECK are particularly uncertain
// Entries marked MISSING mark Mac characters for which I was unable
// to find a corresponding keysym. (Some for sure don't: e.g. the
// Apple mark and the oe/OE character; others I may have simply not
// found.)
xkb_symbols "extended" {
name[Group1]= "FR-1";
key <ESC> { [ Escape ] };
// Alphanumeric section
key <TLDE> { [ at, numbersign ],
[periodcentered, Ydiaeresis ] }; // MISSING: Ydiaeresis; eherlent : ok in Latin9
key <ENTR> { [ KP_Enter ] };
key <AE01> { [ ampersand, 1 ],
[ VoidSymbol, dead_acute ] }; // MISSING: Apple
key <AE02> { [ eacute, 2 ],
[ ediaeresis, Eacute ] };
key <AE03> { [ quotedbl, 3 ],
[ VoidSymbol, VoidSymbol ] }; // CHECK all quotemarks
key <AE04> { [ apostrophe, 4 ],
[ VoidSymbol, VoidSymbol ] };
key <AE05> { [ parenleft, 5 ],
[ braceleft, bracketleft ] };
key <AE06> { [ section, 6 ], // CHECK section
[ paragraph, aring ] };
key <AE07> { [ egrave, 7 ],
[guillemotleft, guillemotright] };
key <AE08> { [ exclam, 8 ],
[ exclamdown, Ucircumflex ] };
key <AE09> { [ ccedilla, 9 ],
[ Ccedilla, Aacute ] };
key <AE10> { [ agrave, 0 ],
[ oslash, VoidSymbol ] }; // MISSING: Oslash
key <AE11> { [ parenright, degree ],
[ braceright, bracketright ] };
key <AE12> { [ minus, underscore ],
[ emdash, endash ] }; // CHECK dashes
key <BKSP> { [ BackSpace, VoidSymbol ],
[ Delete, VoidSymbol ] };
key <TAB> { [ Tab, ISO_Left_Tab ] };
key <AD01> { [ a, A ],
[ ae, AE ] };
key <AD02> { [ z, Z ],
[ Acircumflex, Aring ] };
key <AD03> { [ e, E ],
[ ecircumflex, Ecircumflex ] };
key <AD04> { [ r, R ],
[ registered, currency ] };
key <AD05> { [ t, T ],
[ VoidSymbol, VoidSymbol ] };
key <AD06> { [ y, Y ],
[ Uacute, Ydiaeresis ] }; // MISSING: Ydiaeresis; eherlent : ok in Latin9
key <AD07> { [ u, U ],
[ VoidSymbol, ordfeminine ] }; // MISSING: ordmasculine?
key <AD08> { [ i, I ],
[ icircumflex, idiaeresis ] };
key <AD09> { [ o, O ],
[ oe, OE ] }; // MISSING: oe, OE lacking in Latin1; eherlent ok in Latin9
key <AD10> { [ p, P ],
[ VoidSymbol, VoidSymbol ] };
key <AD11> { [dead_circumflex,dead_diaeresis ],
[ ocircumflex, Ocircumflex ] };
key <AD12> { [ dollar, asterisk ],
[ EuroSign, yen ] }; // eherlent : EuroSign in Latin9
key <CAPS> { [ Caps_Lock ] };
key <AC01> { [ q, Q ],
[acircumflex, Agrave ] };
key <AC02> { [ s, S ],
[ Ograve, VoidSymbol ] };
key <AC03> { [ d, D ],
[VoidSymbol, VoidSymbol ] };
key <AC04> { [ f, F ],
[VoidSymbol, periodcentered ] }; // MISSING: oblong script f??
key <AC05> { [ g, G ],
[VoidSymbol, VoidSymbol ] }; // MISSING: kerned fi, fl
key <AC06> { [ h, H ],
[ Igrave, Icircumflex ] };
key <AC07> { [ j, J ],
[Idiaeresis, Iacute ] };
key <AC08> { [ k, K ],
[ Egrave, Ediaeresis ] };
key <AC09> { [ l, L ],
[ notsign, bar ] };
key <AC10> { [ m, M ],
[ mu, Oacute ] };
key <AC11> { [ ugrave, percent ],
[ Ugrave, ucircumflex ] }; // MISSING: per-mille
key <BKSL> { [ dead_grave, sterling ],
[ at, numbersign ] };
key <RTRN> { [ Return ] };
key <LSGT> { [ less, greater ],
[VoidSymbol, VoidSymbol ] };
key <AB01> { [ w, W ],
[VoidSymbol, VoidSymbol ] }; // MISSING: half-guillemot (single angle bracket)
key <AB02> { [ x, X ],
[VoidSymbol, VoidSymbol ] }; // CHECK similarequal; MISSING: extra-slanted slash
key <AB03> { [ c, C ],
[ copyright, cent ] };
key <AB04> { [ v, V ],
[ diamond, leftradical ] }; // CHECK diamond, leftradical
key <AB05> { [ b, B ],
[ ssharp, VoidSymbol ] }; // CHECK: Greek_beta or ssharp?; MISSING: oblong script s
key <AB06> { [ n, N ],
[ dead_tilde, asciitilde ] };
key <AB07> { [ comma, question ],
[VoidSymbol, questiondown ] };
key <AB08> { [ semicolon, period ],
[VoidSymbol, periodcentered ] };
key <AB09> { [ colon, slash ],
[ division, backslash ] };
key <AB10> { [ equal, plus ],
[VoidSymbol, plusminus ] };
key <SPCE> { [ space, space ],
[nobreakspace, nobreakspace ] };
// End alphanumeric section
// Begin modifier mappings
key <LWIN> { [ Alt_L, Meta_L ] };
key <LFSH> { [ Shift_L ] };
key <LCTL> { [ Control_L ] };
// key <LALT> { [ Mode_switch ] };
key <LALT> { [ Mode_switch, Mode_switch ] };
key <RMTA> { [ Meta_R ] };
key <RTSH> { [ Shift_R ] };
key <RCTL> { [ Control_R ] };
key <RALT> { [ script_switch ] };
// End modifier mappings
// Begin "Function" section
key <FK01> { [ F1 ] };
key <FK02> { [ F2 ] };
key <FK03> { [ F3 ] };
key <FK04> { [ F4 ] };
key <FK05> { [ F5 ] };
key <FK06> { [ F6 ] };
key <FK07> { [ F7 ] };
key <FK08> { [ F8 ] };
key <FK09> { [ F9 ] };
key <FK10> { [ F10 ] };
key <FK11> { [ F11 ] };
key <FK12> { [ F12 ] };
key <FK13> { [ F13, Print ] };
key <FK14> { [ F14, Scroll_Lock ] };
key <FK15> { [ F15, Pause ] };
// End "Function" section
// Begin "Editing" section
key <INS> { [ Insert ] };
key <HOME> { [ Home ] };
key <PGUP> { [ Prior ] };
key <DELE> { [ Delete ] };
key <END> { [ End ] };
key <PGDN> { [ Next ] };
key <UP> { [ Up ] };
key <LEFT> { [ Left ] };
key <DOWN> { [ Down ] };
key <RGHT> { [ Right ] };
// End "Editing" section
// Begin "Keypad" section
key <KPCL> { [ Clear ] };
key <KPEQ> { [ KP_Equal ] };
key <KPDV> { [ KP_Divide ] };
key <KPMU> { [ KP_Multiply ] };
key <KP7> { [ KP_7 ] };
key <KP8> { [ KP_8 ] };
key <KP9> { [ KP_9 ] };
key <KPSU> { [ KP_Subtract ] };
key <KP4> { [ KP_4 ] };
key <KP5> { [ KP_5 ] };
key <KP6> { [ KP_6 ] };
key <KPAD> { [ KP_Add ] };
key <KP1> { [ KP_1 ] };
key <KP2> { [ KP_2 ] };
key <KP3> { [ KP_3 ] };
key <KPEN> { [ KP_Enter ] };
key <KP0> { [ KP_0 ] };
key <KPDL> { [ comma,KP_Decimal ] };
// End "Keypad" section
// begin modifier mappings
modifier_map Shift { Shift_L, Shift_R };
modifier_map Lock { Caps_Lock };
modifier_map Control{ Control_L, Control_R };
modifier_map Mod1 { Meta_L, Meta_R };
modifier_map Mod2 { Alt_L, Alt_R };
modifier_map Mod3 { Mode_switch };
// end modifier mappings
};
Bon Courage, chez moi avec ces fichiers tout marche bien en tout cas. 😉