O Apple Wireless Keyboard não usa a configuração do Xorg

1

Estou tentando usar o teclado Apple Wireless Keyboard no meu laptop com o Ubuntu 17.10

Encontrei algumas dicas para usar dois teclados com dois layouts diferentes usando o Xorg.

O Xorg parece aplicar a configuração correta nos dois teclados, mas o Apple one só tem algumas teclas funcionando (7, 8, 9, +, back) e é tudo.

Algumas outras chaves funcionam com layout errado:

0 key returns /

) key returns =

/ key returns .

, key returns 0

j key returns 1

k key returns 2

l key returns 3

m key returns -

p key returns *

o key returns 6

i key returns 5

u key returns 4

Todas as outras chaves não estão funcionando.mas não consigo descobrir qual é o problema.

Acho que tenho um problema na minha configuração.

Existe outra maneira de fazê-lo funcionar?

Obrigado,

/etc/X11/xorg.conf.d/30-keyboard.conf

Section "InputClass"
        Identifier "Default keyboard configuration"
        MatchDevicePath "/dev/input/event*"
        MatchIsKeyboard "on"
        Driver "libinput"

        Option "XkbLayout" "fr"
        Option "XkbModel" "pc105"
        Option "XkbVariant" "oss"
EndSection

Section "InputClass"
        Identifier "Apple Wireless Keyboard"
        MatchDevicePath "/dev/input/event*"
        MatchIsKeyboard "on"
        Driver "libinput"

        MatchProduct "Apple Wireless Keyboard"

        Option "XkbLayout" "fr"
        Option "XkbModel" "apple"
        Option "XkbVariant" "mac"
EndSection

/var/log/Xorg.0.log

[  3066.178] (II) config/udev: Adding input device Apple Wireless Keyboard (/dev/input/event16)
[  3066.179] (**) Apple Wireless Keyboard: Applying InputClass "libinput keyboard catchall"
[  3066.179] (**) Apple Wireless Keyboard: Applying InputClass "Default keyboard configuration"
[  3066.179] (**) Apple Wireless Keyboard: Applying InputClass "Apple Wireless Keyboard"
[  3066.179] (II) Using input driver 'libinput' for 'Apple Wireless Keyboard'
[  3066.179] (**) Apple Wireless Keyboard: always reports core events
[  3066.179] (**) Option "Device" "/dev/input/event16"
[  3066.179] (**) Option "_source" "server/udev"
[  3066.180] (II) event16 - (II) Apple Wireless Keyboard: (II) is tagged by udev as: Keyboard
[  3066.180] (II) event16 - (II) Apple Wireless Keyboard: (II) device is a keyboard
[  3066.180] (II) event16 - (II) Apple Wireless Keyboard: (II) device removed
[  3066.200] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/bluetooth/hci0/hci0:256/0005:05AC:$
[  3066.200] (II) XINPUT: Adding extended input device "Apple Wireless Keyboard" (type: KEYBOARD, id 12)
[  3066.200] (**) Option "xkb_model" "apple"
[  3066.200] (**) Option "xkb_layout" "fr"
[  3066.200] (**) Option "xkb_variant" "mac"
[  3066.239] (II) event16 - (II) Apple Wireless Keyboard: (II) is tagged by udev as: Keyboard
[  3066.239] (II) event16 - (II) Apple Wireless Keyboard: (II) device is a keyboard
    
por JenC 03.12.2017 / 16:11

0 respostas