
Ich nutze ein Thinkpad und versuche mir anzugewöhnen, eine externe Tastatur zu verwenden, die zusätzlich über einen Trackpoint verfügt.
Mit der internen Tastatur kann ich zwar mit der mittleren Maustaste klicken (zB einfügen, oder Link in neuem Tab öffnen), wenn ich aber die mittlere Taste gedrückt halte und den Trackpoint bewege, scrolle ich.
Bei der externen Tastatur stelle ich fest, dass das Scrollen funktioniert, aber es wird auch oft (nicht immer) ein Klickereignis ausgelöst, und plötzlich ist mein Editor voller eingefügter Inhalte
Die xinput
Eigenschaften scheinen gleich eingestellt zu sein:
Intern:
~ $ xinput list-props 16
Device 'TPPS/2 Elan TrackPoint':
Device Enabled (188): 1
Coordinate Transformation Matrix (190): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Natural Scrolling Enabled (325): 0
libinput Natural Scrolling Enabled Default (326): 0
libinput Scroll Methods Available (327): 0, 0, 1
libinput Scroll Method Enabled (328): 0, 0, 1
libinput Scroll Method Enabled Default (329): 0, 0, 1
libinput Button Scrolling Button (330): 2
libinput Button Scrolling Button Default (331): 2
libinput Button Scrolling Button Lock Enabled (332): 0
libinput Button Scrolling Button Lock Enabled Default (333): 0
libinput Middle Emulation Enabled (358): 1
libinput Middle Emulation Enabled Default (359): 0
libinput Accel Speed (334): -0.500000
libinput Accel Speed Default (335): 0.000000
libinput Accel Profiles Available (336): 1, 1
libinput Accel Profile Enabled (337): 1, 0
libinput Accel Profile Enabled Default (338): 1, 0
libinput Left Handed Enabled (339): 0
libinput Left Handed Enabled Default (340): 0
libinput Send Events Modes Available (310): 1, 0
libinput Send Events Mode Enabled (311): 0, 0
libinput Send Events Mode Enabled Default (312): 0, 0
Device Node (313): "/dev/input/event9"
Device Product ID (314): 2, 10
libinput Drag Lock Buttons (341): <no items>
libinput Horizontal Scroll Enabled (342): 1
libinput Scrolling Pixel Distance (343): 15
libinput Scrolling Pixel Distance Default (344): 15
Extern
~ $ xinput list-props 18
Device 'Lenovo TrackPoint Keyboard II Mouse':
Device Enabled (188): 1
Coordinate Transformation Matrix (190): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Natural Scrolling Enabled (325): 0
libinput Natural Scrolling Enabled Default (326): 0
libinput Scroll Methods Available (327): 0, 0, 1
libinput Scroll Method Enabled (328): 0, 0, 1
libinput Scroll Method Enabled Default (329): 0, 0, 0
libinput Button Scrolling Button (330): 2
libinput Button Scrolling Button Default (331): 2
libinput Button Scrolling Button Lock Enabled (332): 0
libinput Button Scrolling Button Lock Enabled Default (333): 0
libinput Middle Emulation Enabled (358): 1
libinput Middle Emulation Enabled Default (359): 0
libinput Accel Speed (334): -0.500000
libinput Accel Speed Default (335): 0.000000
libinput Accel Profiles Available (336): 1, 1
libinput Accel Profile Enabled (337): 1, 0
libinput Accel Profile Enabled Default (338): 1, 0
libinput Left Handed Enabled (339): 0
libinput Left Handed Enabled Default (340): 0
libinput Send Events Modes Available (310): 1, 0
libinput Send Events Mode Enabled (311): 0, 0
libinput Send Events Mode Enabled Default (312): 0, 0
Device Node (313): "/dev/input/event19"
Device Product ID (314): 6127, 24814
libinput Drag Lock Buttons (341): <no items>
libinput Horizontal Scroll Enabled (342): 1
libinput Scrolling Pixel Distance (343): 15
libinput Scrolling Pixel Distance Default (344): 15
Wo sollte ich sonst noch suchen? Ist dieses „Customer Control“-Gerät relevant?
~ $ xinput list-props 20
Device 'Lenovo TrackPoint Keyboard II Consumer Control':
Device Enabled (188): 1
Coordinate Transformation Matrix (190): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Natural Scrolling Enabled (325): 0
libinput Natural Scrolling Enabled Default (326): 0
libinput Send Events Modes Available (310): 1, 0
libinput Send Events Mode Enabled (311): 0, 0
libinput Send Events Mode Enabled Default (312): 0, 0
Device Node (313): "/dev/input/event21"
Device Product ID (314): 6127, 24814
libinput Drag Lock Buttons (341): <no items>
libinput Horizontal Scroll Enabled (342): 1
Antwort1
Es stellte sich heraus, dass dies ein Fehler im Linux-Kernel war, behoben durchein Patch von José Expósito, derdas Teil der Linux-Version 5.19 ist.