Vous êtes ici : Accueil > Unix/Linux > Une heure et demi de bonheur : XF86Config-4 et Synaptic
Publié : 6 août 2006
Format PDF Enregistrer au format PDF

Une heure et demi de bonheur : XF86Config-4 et Synaptic

L’été passé, j’ai raté une synchronisation de mon laptop via "dpkg—get-selection". En le réinstallant, j’ai du faire une erreur dans la configuration du "XF86Config-4", je n’avais plus de "clic" via le touchpad : je devais cliquer les boutons. (Je me comprend, j’espère que pour vous ça va !)

Voilà, ce soir j’ai hésité à installer Ubuntu. J’y ai renoncé (trop de chose à réinstaller !) mais chemin faisant, j’ai été regarder la config du serveur X.

Et maintenant ça marche ! J’avais oublié de mettre en commentaire la config de souris générée par la nouvelle installation et j’avais aussi oublié l’option "corepointer" ! Je devais ête fatigué ce soir là !

Quelques astuces : double clic : taper 2 fois très vite ! clic droit : coin inférieur droit clic central : coin supérieur droit

Voilà la bête :

# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section "Files"
       FontPath        "unix/:7100"                    # local font server
       # if the local font server has problems, we can fall back on these
       FontPath        "/usr/lib/X11/fonts/misc"
       FontPath        "/usr/lib/X11/fonts/cyrillic"
       FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
       FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
       FontPath        "/usr/lib/X11/fonts/Type1"
       FontPath        "/usr/lib/X11/fonts/CID"
       FontPath        "/usr/lib/X11/fonts/Speedo"
       FontPath        "/usr/lib/X11/fonts/100dpi"
       FontPath        "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
       Load    "GLcore"
       Load    "bitmap"
       Load    "dbe"
       Load    "ddc"
       Load    "dri"
       Load    "extmod"
       Load    "freetype"
       Load    "glx"
       Load    "int10"
       Load    "record"
       Load    "speedo"
       Load    "type1"
       Load    "vbe"
#YV 18_2_06 for touchpad
       Load  "synaptics"
EndSection

Section "InputDevice"
       Identifier      "Generic Keyboard"
       Driver          "keyboard"
       Option          "CoreKeyboard"
       Option          "XkbRules"      "xfree86"
       Option          "XkbModel"      "pc105"
#       Option          "XkbModel"      "pc104"
       Option          "XkbLayout"     "be"
#       Option          "XkbVariant"    ""
EndSection

#Section "InputDevice"
#        Identifier      "Configured Mouse"
#        Driver          "mouse"
#        Option          "CorePointer"
#        Option          "Device"                "/dev/psaux"
#        Option          "Protocol"              "ImPS/2"
#        Option          "Emulate3Buttons"       "true"
#        Option          "ZAxisMapping"          "4 5"
#EndSection

Section "InputDevice"
       Identifier      "Generic Mouse"
       Driver          "mouse"
       Option          "CorePointer"
       Option          "Device"                "/dev/input/mice"
       Option          "Protocol"              "ImPS/2"
       Option          "Emulate3Buttons"       "true"
       Option          "ZAxisMapping"          "4 5"
EndSection

#YV 5-7-05 for touchpad
Section "InputDevice"
 Identifier    "TouchPad"
 Driver        "synaptics"
 Option          "CorePointer"
 Option        "Device"        "/dev/psaux"
 Option        "Protocol"      "auto-dev"
 Option        "LeftEdge"      "1700"
 Option        "RightEdge"     "5300"
 Option        "TopEdge"       "1700"
 Option        "BottomEdge"    "4200"
 Option        "FingerLow"     "25"
 Option        "FingerHigh"    "30"
 Option        "MaxTapTime"    "180"
 Option        "MaxTapMove"    "220"
 Option        "VertScrollDelta" "100"
 Option        "MinSpeed"      "0.09"
 Option        "MaxSpeed"      "0.18"
 Option        "AccelFactor"   "0.0015"
 Option        "SHMConfig"     "on"
EndSection


Section "Device"
       Identifier      "Carte vidéo générique"
       Driver          "vesa"
EndSection

Section "Monitor"
       Identifier      "Écran générique"
       HorizSync       30-68
       VertRefresh     50-85
       Option          "DPMS"
EndSection

Section "Screen"
       Identifier      "Default Screen"
       Device          "Carte vidéo générique"
       Monitor         "Écran générique"
       DefaultDepth    24
       SubSection "Display"
               Depth           1
               Modes           "1152x864" "1024x768" "800x600" "640x480"
       EndSubSection
       SubSection "Display"
               Depth           4
               Modes           "1152x864" "1024x768" "800x600" "640x480"
       EndSubSection
       SubSection "Display"
               Depth           8
               Modes           "1152x864" "1024x768" "800x600" "640x480"
       EndSubSection
       SubSection "Display"
               Depth           15
               Modes           "1152x864" "1024x768" "800x600" "640x480"
       EndSubSection
       SubSection "Display"
               Depth           16
               Modes           "1152x864" "1024x768" "800x600" "640x480"
       EndSubSection
       SubSection "Display"
               Depth           24
               Modes           "1152x864" "1024x768" "800x600" "640x480"
       EndSubSection
EndSection

Section "ServerLayout"
       Identifier      "Default Layout"
       Screen          "Default Screen"
       InputDevice     "Generic Keyboard"
#Yv     InputDevice     "Configured Mouse"
       InputDevice      "TouchPad"
EndSection

Section "DRI"
       Mode    0666
EndSection