User Tools

Site Tools


xorg
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


xorg [2011/10/30 19:19] (current) – created ginko
Line 1: Line 1:
 +====== X.org ======
 +===== Gestion du clavier =====
 +Sous X.org 1.8 ; utilisation du /etc/X11/xorg.conf.
  
 +Il est possible de gérer plusieurs clavier avec plusieurs keymaps : il suffit de créer deux Sections "InputClass" distinctes.
 +<code>Section "InputClass"
 +    Identifier             "Keyboard TypeMatrix"
 +    MatchIsKeyboard    "yes"
 +    MatchProduct    "TypeMatrix.com USB Keyboard"
 +    Option            "XkbLayout" "fr"
 +    Option            "XkbVariant" "bepo"
 +EndSection
 +
 +Section "InputClass"
 +    Identifier             "Keyboard NOVATEK"
 +    MatchIsKeyboard    "yes"
 +    MatchProduct    "NOVATEK USB Keyboard"
 +    Option            "XkbLayout" "fr"
 +EndSection
 +</code>
 +L' « identifier » est seulement un identifiant unique. Le « MatchProduct » permet à xorg d'identifer le clavier. Pour le récupérer, utiliser ''xinput''.
xorg.txt · Last modified: 2011/10/30 19:19 by ginko