My laptop's keyboard isn't working anymore. Therefore, I wrote a script which would disable the on-board keyboard with xinput float ID. On the new version of Ubuntu (17.10) this isn't working anymore due to the update to wayland.
When I Iist my devices with sudo libinput list-devices, I get:
[...]
Device: Rapoo E6100
Kernel: /dev/input/event13
Group: 6
Seat: seat0, default
Capabilities: keyboard
Tap-to-click: n/a
Tap-and-drag: n/a
Tap drag lock: n/a
Left-handed: n/a
Nat.scrolling: n/a
Middle emulation: n/a
Calibration: n/a
Scroll methods: none
Click methods: none
Disable-w-typing: n/a
Accel profiles: n/a
Rotation: n/a
[...]
Device: AT Translated Set 2 keyboard
Kernel: /dev/input/event4
Group: 9
Seat: seat0, default
Capabilities: keyboard
Tap-to-click: n/a
Tap-and-drag: n/a
Tap drag lock: n/a
Left-handed: n/a
Nat.scrolling: n/a
Middle emulation: n/a
Calibration: n/a
Scroll methods: none
Click methods: none
Disable-w-typing: n/a
Accel profiles: n/a
Rotation: n/a
[...]
Rapoo E6100 is the working keyboard and AT Translated Set 2 keyboard is the broken, on-board keyboard.
I read that in order to have a device ignored, the capabilities can be removed from it (https://wayland.freedesktop.org/libinput/doc/latest/udev_config.html#udev_device_type). How can this be achieved with libinput?
Or is there a possibility to simply ignore the group 9?