Bon, je m'acharne et j'essaye de comprendre comment marche xorg maintenant : c'est pas gagne. Je crois aussi que c'est le bordel dans mes fichiers xorg... Donc en gros, j'ai lu et relu le wiki. J'ai compris que les config de arch sont dans /usr/share/X11/xorg.conf.d/ et que celles que je veux remodifier sont a copier/coller/editer dans /etc/X11/xorg.conf.d. Bon. J'ai reussi certaines choses, comme a mettre le layout que je je veux pour le gestionnaire de connexion (j'utilise kdm). Par contre je dois le refaire de temps en temps, les fichiers dans /etc/X11/xorg.conf.d/ etant renomes en .pacnew (aucune idee de pourquoi, comnment, ou quand...).
Par contre, comme dit dans un autre sujet, ma souris a des boutons deja mappes et ca je ne comprends pas. J'aurais pense que ca serait dans le fichier xorg.conf, mais comme ce fichier n'existe pas...
Ensuite, quand je prends les choses doucement et que j'essaye de faire comme dans le wiki, je copie 10-evdev dans /etc/X11/xorg.conf.d, je rajoute la section ServerLayout, et la VLAN ca me remet en ligne de commande sans serveur X.
Donc j'aimerais bien comprendre via des exemples sur mon systeme comment ca marche ce xorg... Est ce que si il y a des redondances entre /etc/X11/xorg.conf.d et /usr/share/X11/xorg.conf.d/ c'est grave ? D'apres ce que je comprends dans le wiki, xorg va concateener toutes les config et rajouter le xorg.conf a la fin (mais comme j'arrive aps a mettre la main sur ce xorg.conf...). Je soupconne evdev d'etre pour quelque chose dans mon incomprehension, mais je ne vois pas ou sont les configurations du coup.
Ensuite, je pense que j'ai "sali" mes fichiers /usr/share/X11/xorg.conf.d/ en essayant de les editer et de piger... Bref j'ai besoin d'aide !!! Et pardon si je suis pas doue, pourtant j'essaye vraiment de comprendre et j'ai passe bien du temps et lire et relire la page du wiki... mais encore une fois, soit mon systeme est out de chez out soit le wiki n'est plus tout a fait a jour avec les changements de xorg et du coup... durdur de comprendre.
Voila les fichiers et leur contenu :
Code : Tout sélectionner
~> ls /etc/X11/xorg.conf.d/
10-evdev.conf 40-mouse.conf 50-synaptics.conf 50-synaptics.conf.pacnew
*contenu de 10-evdev.conf, copie depuis /usr/share/X11/xorg.conf.d/ ou j'avais rajouter le serverlayout, puis commente vu que j'avais plus de serveur x suite a ca...
Code : Tout sélectionner
#Section "ServerLayout"
# Identifier "Default Layout"
# Screen 0 "Monitor0" 0 0
# InputDevice "Keyboard0" "CoreKeyboard"
# InputDevice "Evdev Mouse" "CorePointer"
#EndSection
Section "InputClass"
Identifier "evdev pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev tablet catchall"
MatchIsTablet "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
*contenu de 40-mouse.conf, copie depuis /usr/share/X11/xorg.conf.d/
Code : Tout sélectionner
Section "InputDevice"
Identifier "Evdev Mouse"
Driver "evdev"
Option "Name" "Logitech USB-PS/2 Optical Mouse"
Option "evBits" "+1-2"
Option "keyBits" "~272-287"
Option "relBits" "~0-2 ~6 ~8"
Option "Pass" "3"
Option "CorePointer"
EndSection
Code : Tout sélectionner
Section "InputClass"
Identifier "touchpad catchall"
Driver "synaptics"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Option "TapButton1" "1"
Option "TapButton2" "2"
Option "TapButton3" "3"
Option "VertEdgeScroll" "on"
Option "VertTwoFingerScroll" "on"
Option "HorizEdgeScroll" "on"
Option "HorizTwoFingerScroll" "on"
Option "CircularScrolling" "on"
Option "CircScrollTrigger" "2"
Option "EmulateTwoFingerMinZ" "40"
Option "EmulateTwoFingerMinW" "8"
Option "CoastingSpeed" "0"
EndSection
Section "InputClass"
Identifier "touchpad ignore duplicates"
MatchIsTouchpad "on"
MatchOS "Linux"
MatchDevicePath "/dev/input/mouse*"
Option "Ignore" "on"
EndSection
Section "InputClass"
Identifier "Keyboard Layout"
MatchIsKeyboard "yes"
Option "XkbLayout" "fr"
Option "XkbVariant" "latin9"
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 "synaptics"
Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
Option "SecondarySoftButtonAreas" "58% 0 0 8% 42% 58% 0 8%"
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 "synaptics"
Option "SoftButtonAreas" "0 0 0 0 0 0 0 0"
EndSection
Ensuite, voila les fichiers que j'ai dans /usr/share/X11/xorg.conf.d/
Code : Tout sélectionner
ls /usr/share/X11/xorg.conf.d/
10-evdev.conf 10-quirks.conf 50-synaptics.conf nvidia-drm-outputclass.conf
Code : Tout sélectionner
#
# Catch-all evdev loader for udev-based systems
# We don't simply match on any device since that also adds accelerometers
# and other devices that we don't really want to use. The list below
# matches everything but joysticks.
Section "InputClass"
Identifier "evdev pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev tablet catchall"
MatchIsTablet "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "evdev touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
Code : Tout sélectionner
# Collection of quirks and blacklist/whitelists for specific devices.
# Accelerometer device, posts data through ABS_X/ABS_Y, making X unusable
# http://bugs.freedesktop.org/show_bug.cgi?id=22442
Section "InputClass"
Identifier "ThinkPad HDAPS accelerometer blacklist"
MatchProduct "ThinkPad HDAPS accelerometer data"
Option "Ignore" "on"
EndSection
# https://bugzilla.redhat.com/show_bug.cgi?id=523914
# Mouse does not move in PV Xen guest
# Explicitly tell evdev to not ignore the absolute axes.
Section "InputClass"
Identifier "Xen Virtual Pointer axis blacklist"
MatchProduct "Xen Virtual Pointer"
Option "IgnoreAbsoluteAxes" "off"
Option "IgnoreRelativeAxes" "off"
EndSection
# https://bugs.freedesktop.org/show_bug.cgi?id=55867
# Bug 55867 - Doesn't know how to tag XI_TRACKBALL
Section "InputClass"
Identifier "Tag trackballs as XI_TRACKBALL"
MatchProduct "trackball"
MatchDriver "evdev"
Option "TypeName" "TRACKBALL"
EndSection
# https://bugs.freedesktop.org/show_bug.cgi?id=62831
# Bug 62831 - Mionix Naos 5000 mouse detected incorrectly
Section "InputClass"
Identifier "Tag Mionix Naos 5000 mouse XI_MOUSE"
MatchProduct "La-VIEW Technology Naos 5000 Mouse"
MatchDriver "evdev"
Option "TypeName" "MOUSE"
EndSection
Code : Tout sélectionner
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Logitech USB-PS/2 Optical Mouse id=11 [slave pointer (2)]
⎜ ↳ DualPoint Stick id=14 [slave pointer (2)]
⎜ ↳ AlpsPS/2 ALPS DualPoint TouchPad id=15 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Power Button id=8 [slave keyboard (3)]
↳ Sleep Button id=9 [slave keyboard (3)]
↳ Laptop_Integrated_Webcam_FHD id=10 [slave keyboard (3)]
↳ LITEON Technology USB Keyboard id=12 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=13 [slave keyboard (3)]
↳ Dell WMI hotkeys id=16 [slave keyboard (3)]
Enfin, /usr/share/X11/xorg.conf.d/50-synaptics.conf :
Code : Tout sélectionner
# Example xorg.conf.d snippet that assigns the touchpad driver
# to all touchpads. See xorg.conf.d(5) for more information on
# InputClass.
# DO NOT EDIT THIS FILE, your distribution will likely overwrite
# it when updating. Copy (and rename) this file into
# /etc/X11/xorg.conf.d first.
# Additional options may be added in the form of
# Option "OptionName" "value"
#
Section "InputClass"
Identifier "touchpad catchall"
Driver "synaptics"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Option "TapButton1" "1"
Option "TapButton2" "2"
Option "TapButton3" "3"
Option "VertEdgeScroll" "on"
Option "VertTwoFingerScroll" "on"
Option "HorizEdgeScroll" "on"
Option "HorizTwoFingerScroll" "on"
Option "CircularScrolling" "on"
Option "CircScrollTrigger" "2"
Option "EmulateTwoFingerMinZ" "40"
Option "EmulateTwoFingerMinW" "8"
Option "CoastingSpeed" "0"
# 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 "synaptics"
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 "synaptics"
Option "SoftButtonAreas" "0 0 0 0 0 0 0 0"
EndSection

PS : le wiki que j'essayais de suivre et comprendre : https://wiki.archlinux.org/index.php/xorg
Merci d'avance !!!