Page 1 sur 1
[clavier] double clavier avec double layout (résolu)
Publié : lun. 23 nov. 2020, 09:39
par tomsawyer01
Bonjour,
Mon laptop est un dell qui tourne sous Archlinux avec KDE et clavier en azerty. Et je viens d'avoir un écran externe avec un clavier externe (Querty) . Du coup , je demande votre aide si c'est possible de switcher automatiquement entre les 2 claviers Querty et Azerty ?
Merci d'avance
Re: [clavier] double clavier avec double layout
Publié : lun. 23 nov. 2020, 10:39
par benjarobin
Bonjour,
Que je sache tu ne peux pas avoir un layout par clavier. Le layout est forcément commun à tous les clavier de branché
Re: [clavier] double clavier avec double layout
Publié : lun. 23 nov. 2020, 14:44
par viperpaulo
Hello,
Je ne sais pas du tout si c'est possible mais en utilisant des "Identifier" différents pour les claviers dans la configuration de Xorg ?
Code : Tout sélectionner
Section "InputClass"
Identifier "XXXXX quelque chose à trouver XXXXX"
MatchIsKeyboard "yes"
Option "XkbLayout" "fr"
Option "XkbVariant" "latin9"
EndSection
Re: [clavier] double clavier avec double layout
Publié : lun. 23 nov. 2020, 18:02
par benjarobin
Hum, je crois avoir dis une bêtise, il est peut être possible de réaliser une telle chose.
L'identifier n'a aucune importance, tu dois juste en avoir 2 de différents.
Tu dois supprimer / changer la condition pour que cela match le bon device, je te conseille pour cela MatchUSBID si ton clavier est en USB
Re: [clavier] double clavier avec double layout
Publié : mar. 24 nov. 2020, 07:19
par tomsawyer01
J'ai essayé avec un raccourci pour switcher entre les 2 rapidement pour l'instant. Je creuse du coté de KDE pour separer selon l'ecran aussi et tester celui de @viperpaulo
Re: [clavier] double clavier avec double layout
Publié : mar. 24 nov. 2020, 07:24
par tomsawyer01
viperpaulo a écrit : ↑lun. 23 nov. 2020, 14:44
Hello,
Je ne sais pas du tout si c'est possible mais en utilisant des "Identifier" différents pour les claviers dans la configuration de Xorg ?
Code : Tout sélectionner
Section "InputClass"
Identifier "XXXXX quelque chose à trouver XXXXX"
MatchIsKeyboard "yes"
Option "XkbLayout" "fr"
Option "XkbVariant" "latin9"
EndSection
C'est lequel l'idenfiant ?
Code : Tout sélectionner
Information [ 80166.850] (II) config/udev: Adding input device Bluetooth Keyboard (/dev/input/event22)
Information [ 80166.850] (**) Bluetooth Keyboard: Applying InputClass "libinput keyboard catchall"
Information [ 80166.850] (**) Bluetooth Keyboard: Applying InputClass "system-keyboard"
Information [ 80166.850] (II) Using input driver 'libinput' for 'Bluetooth Keyboard'
Information [ 80166.850] (**) Bluetooth Keyboard: always reports core events
Information [ 80166.851] (**) Option "Device" "/dev/input/event22"
Information [ 80166.851] (**) Option "_source" "server/udev"
Information [ 80166.856] (II) event22 - Bluetooth Keyboard: is tagged by udev as: Keyboard
Information [ 80166.856] (II) event22 - Bluetooth Keyboard: device is a keyboard
Information [ 80166.857] (II) event22 - Bluetooth Keyboard: device removed
Information [ 80166.884] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/bluetooth/hci0/hci0:256/0005:05AC:0220.0007/input/input32/event22"
Information [ 80166.884] (II) XINPUT: Adding extended input device "Bluetooth Keyboard" (type: KEYBOARD, id 19)
Information [ 80166.884] (**) Option "xkb_layout" "fr"
Information [ 80166.891] (II) event22 - Bluetooth Keyboard: is tagged by udev as: Keyboard
Information [ 80166.891] (II) event22 - Bluetooth Keyboard: device is a keyboard
Information [ 80166.899] (II) config/udev: Adding input device Bluetooth Keyboard Consumer Control (/dev/input/event23)
Information [ 80166.899] (**) Bluetooth Keyboard Consumer Control: Applying InputClass "libinput keyboard catchall"
Information [ 80166.899] (**) Bluetooth Keyboard Consumer Control: Applying InputClass "system-keyboard"
Information [ 80166.899] (II) Using input driver 'libinput' for 'Bluetooth Keyboard Consumer Control'
Information [ 80166.899] (**) Bluetooth Keyboard Consumer Control: always reports core events
Information [ 80166.899] (**) Option "Device" "/dev/input/event23"
Information [ 80166.899] (**) Option "_source" "server/udev"
Information [ 80166.905] (II) event23 - Bluetooth Keyboard Consumer Control: is tagged by udev as: Keyboard
Information [ 80166.906] (II) event23 - Bluetooth Keyboard Consumer Control: device is a keyboard
Information [ 80166.907] (II) event23 - Bluetooth Keyboard Consumer Control: device removed
Information [ 80166.958] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/bluetooth/hci0/hci0:256/0005:05AC:0220.0007/input/input33/event23"
Information [ 80166.958] (II) XINPUT: Adding extended input device "Bluetooth Keyboard Consumer Control" (type: KEYBOARD, id 20)
Information [ 80166.958] (**) Option "xkb_layout" "fr"
Information [ 80166.965] (II) event23 - Bluetooth Keyboard Consumer Control: is tagged by udev as: Keyboard
Information [ 80166.965] (II) event23 - Bluetooth Keyboard Consumer Control: device is a keyboard
Re: [clavier] double clavier avec double layout (résolu)
Publié : mer. 25 nov. 2020, 17:28
par tomsawyer01