You are not logged in.

#1 2019-03-12 12:14:21

summerer
Member
From: Germany
Registered: 2014-01-25
Posts: 54

[SOLVED] libinput Configuring ThinkPad Trackpoint

Hi, i would like to know if there is a way to configure an external mouse sensitivity in GNOME on Wayland using libinput without changing the sensitivity of the ThinkPad trackpoint.

Unfortunately, the libinput documentation is quite overwhelming and the GNOME control panel doesn't discern between the trackpoint and the external mouse.

Arch Wiki gives some configuration tips under Xorg and GNOME but I haven't been able to find some sort of configuration files that are easy to manipulate for libinput under Wayland.

Any help would be greatly appreciated.

Cheers Tim

Last edited by summerer (2019-03-12 20:14:02)

Offline

#2 2019-03-12 12:25:13

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 1,987
Website

Re: [SOLVED] libinput Configuring ThinkPad Trackpoint

So you say, that you tried this and it did not work?
Can you please show the output of

xinput --list-props <device id>

from the respective devices?


macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }

Offline

#3 2019-03-12 12:28:58

summerer
Member
From: Germany
Registered: 2014-01-25
Posts: 54

Re: [SOLVED] libinput Configuring ThinkPad Trackpoint

I haven't tried anything related to xinput or xset because I thought Wayland doesn't work with them.

I entered xinput into my terminal and I was informed that it isn't installed.

Should I install it despite the fact that I don't use X.org? Or maybe try it out on a GNOME on X.org session?

Offline

#4 2019-03-12 18:02:56

mrfaber
Member
Registered: 2016-08-09
Posts: 25

Re: [SOLVED] libinput Configuring ThinkPad Trackpoint

Did you read the wiki page on Trackpoints?

I have this in "/etc/udev/hwdb.d/71-pointingstick-override.hwdb":

evdev:name:TPPS/2 Elan TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX1Carbon6th:*
 POINTINGSTICK_SENSITIVITY=10
 POINTINGSTICK_CONST_ACCEL=0.25

You should be able to adapt it to your needs.

Last edited by mrfaber (2019-03-12 21:48:49)

Offline

#5 2019-03-12 18:05:59

summerer
Member
From: Germany
Registered: 2014-01-25
Posts: 54

Re: [SOLVED] libinput Configuring ThinkPad Trackpoint

Unfortunately, my google journey didn't bring me to the Trackpoints site today.

Your config looks like it could work. I will give it a try!

Thanks!

Offline

#6 2019-03-12 18:46:41

summerer
Member
From: Germany
Registered: 2014-01-25
Posts: 54

Re: [SOLVED] libinput Configuring ThinkPad Trackpoint

Thanks to your advice mrfaber, I figuered out that if I write

[Trackpoint Override]
MatchUdevType=pointingstick
AttrTrackpointMultiplier=0.25

into /etc/libinput/local-overrides.quirks I am able to manipulate the trackpoint.

Therefore this issue is resolved.

Thanks to all of you who provided input!

Offline

#7 2019-03-12 20:12:31

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,738

Re: [SOLVED] libinput Configuring ThinkPad Trackpoint

Glad to hear, please mark as [SOLVED] by editing the title in your first post, you might have to remove some fluff, e.g. the separately from mouse doesn't really add to the overall solution.

Offline

#8 2019-03-12 21:23:47

mrfaber
Member
Registered: 2016-08-09
Posts: 25

Re: [SOLVED] libinput Configuring ThinkPad Trackpoint

Did not know about the quirks mechanism, seems to be a recent addition. Thanks for sharing summerer.
Found this post which lays out why udev hwdb might not be the best way forward.

Offline

#9 2019-03-12 21:39:57

summerer
Member
From: Germany
Registered: 2014-01-25
Posts: 54

Re: [SOLVED] libinput Configuring ThinkPad Trackpoint

Quite an informative article, thanks for sharing mrfaber.

Offline

#10 2019-03-12 22:05:00

mrfaber
Member
Registered: 2016-08-09
Posts: 25

Re: [SOLVED] libinput Configuring ThinkPad Trackpoint

Updated the wiki as well, in case anyone coming from el goog is passing by: https://wiki.archlinux.org/index.php/Tr … ice-quirks

Offline

#11 2019-03-12 22:07:19

summerer
Member
From: Germany
Registered: 2014-01-25
Posts: 54

Re: [SOLVED] libinput Configuring ThinkPad Trackpoint

mrfaber wrote:

Updated the wiki as well, in case anyone coming from el goog is passing by: https://wiki.archlinux.org/index.php/Tr … ice-quirks

Very nice. Finding the information was my biggest issue. Having something in Arch wiki is always super helpful.

Offline

Board footer

Powered by FluxBB