Command to switch 'synaptics' to 'libinput'?

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :)

Moderator: Moderators

Post Reply
User avatar
koesherbacon
Baby Hen
Posts: 14
Joined: Sun Jan 24, 2016 6:36

Command to switch 'synaptics' to 'libinput'?

Post by koesherbacon » Tue Aug 22, 2017 2:43

Could someone share the command to change

Code: Select all

x11-drivers/xf86-input-synaptics-1.9.0
to

Code: Select all

x11-drivers/xf86-input-libinput-0.25.1
? They're both properly installed and while the touchpad works alright with the synaptic driver, it does not work all that well when it comes to tapping. With

Code: Select all

xinput set-prop 11 283 0 0 0 0 1 3 2
enabled, it frequently thinks I'm tapping while I'm actually typing. In other words, when synaptics is allowing tapping, it frequently thinks minor/accidental touches as tapping. I know switching over to libinput will solve this problem.

It would also be helpful to know what the code is to permanently change libinput's assigned number for tapping (in this example xyz) so 'xinput set-prop 11 xyz 1' is always enabled.

Here's my xinput settings if you're interested.

Code: Select all

[email protected] ~ $ xinput list-props 11
Device 'SynPS/2 Synaptics TouchPad':
        Device Enabled (135):   1
        Coordinate Transformation Matrix (137): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        Device Accel Profile (263):     1
        Device Accel Constant Deceleration (264):       2.500000
        Device Accel Adaptive Deceleration (265):       1.000000
        Device Accel Velocity Scaling (266):    12.500000
        Synaptics Edges (267):  1659, 5337, 1531, 4401
        Synaptics Finger (268): 25, 30, 0
        Synaptics Tap Time (269):       180
        Synaptics Tap Move (270):       238
        Synaptics Tap Durations (271):  180, 180, 100
        Synaptics ClickPad (272):       1
        Synaptics Middle Button Timeout (273):  0
        Synaptics Two-Finger Pressure (274):    282
        Synaptics Two-Finger Width (275):       7
        Synaptics Scrolling Distance (276):     108, 108
        Synaptics Edge Scrolling (277): 0, 0, 0
        Synaptics Two-Finger Scrolling (278):   1, 0
        Synaptics Move Speed (279):     1.000000, 1.750000, 0.036880, 0.000000
        Synaptics Off (280):    0
        Synaptics Locked Drags (281):   0
        Synaptics Locked Drags Timeout (282):   5000
        Synaptics Tap Action (283):     0, 0, 0, 0, 0, 0, 0
        Synaptics Click Action (284):   1, 3, 2
        Synaptics Circular Scrolling (285):     0
        Synaptics Circular Scrolling Distance (286):    0.100000
        Synaptics Circular Scrolling Trigger (287):     0
        Synaptics Circular Pad (288):   0
        Synaptics Palm Detection (289): 0
        Synaptics Palm Dimensions (290):        10, 200
        Synaptics Coasting Speed (291): 20.000000, 50.000000
        Synaptics Pressure Motion (292):        30, 160
        Synaptics Pressure Motion Factor (293): 1.000000, 1.000000
        Synaptics Grab Event Device (294):      0
        Synaptics Gestures (295):       1
        Synaptics Capabilities (296):   1, 0, 0, 1, 1, 1, 1
        Synaptics Pad Resolution (297): 53, 36
        Synaptics Area (298):   0, 0, 0, 0
        Synaptics Soft Button Areas (299):      3498, 0, 4033, 0, 0, 0, 0, 0
        Synaptics Noise Cancellation (300):     27, 27
        Device Product ID (259):        2, 7
        Device Node (258):      "/dev/input/event11"

I don't think my DE matters, but for what its worth, right now it's LXQt, but I'm probably going to be switching to XFCE or KDE once they're installed.

Thanks a lot!

~ Ev

User avatar
sabayonino
Sagely Hen
Posts: 3279
Joined: Sun Sep 21, 2008 1:12
Location: Italy
Contact:

Re: Command to switch 'synaptics' to 'libinput'?

Post by sabayonino » Tue Aug 22, 2017 11:30

Hi, try to read libinput-gentoo-wiki.
It coould help you

https://wiki.gentoo.org/wiki/Libinput
(skip any "emerge or kernel" commands)
:wink:
[Che Cos'è Il Calcolo Distribuito (BOINC)

BOINC ready ! Sabayon+BOINC = BILD ,my Sabayon spin :cyclops: - Ready to crunch for the Science everywhere :)

manifesto
Growing Hen
Posts: 181
Joined: Mon Jul 19, 2010 22:21

Re: Command to switch 'synaptics' to 'libinput'?

Post by manifesto » Thu Sep 20, 2018 13:36

Since a few weeks (or more) my trackpad start to go wild. I had to puch it to click anything it was really a pita to use it.
I first though it was broken but moves always worked fine.
Eventually I start to google seriously and found this synaptic/libinput issue.
I did what mentioned in gentoo page (remove synaptic link and link to xinput) and now trackpad is working almost perfectly.
Note other distros I had the same issue and all of I had to move to libxinput.
As synaptic is not maintenant it make sense but I see that sabayon is still using not using INPUT_DEVICES="libinput" flag.
And removing synaptic propose to remove plasma as dep ...
So will Sabayon moves to libinput in the next future ? Am I the only one to have the trackpad issue recently ?

User avatar
sabayonino
Sagely Hen
Posts: 3279
Joined: Sun Sep 21, 2008 1:12
Location: Italy
Contact:

Re: Command to switch 'synaptics' to 'libinput'?

Post by sabayonino » Thu Sep 20, 2018 19:00

manifesto wrote:
Thu Sep 20, 2018 13:36

As synaptic is not maintenant it make sense but I see that sabayon is still using not using INPUT_DEVICES="libinput" flag.
And removing synaptic propose to remove plasma as dep ...
Synaptic depends on

Code: Select all

equery d x11-drivers/xf86-input-synaptics-1.9.1
 * These packages depend on x11-drivers/xf86-input-synaptics-1.9.1:
kde-plasma/plasma-desktop-5.13.5-r1 (touchpad ? x11-drivers/xf86-input-synaptics)
x11-base/xorg-drivers-1.19 (input_devices_synaptics ? x11-drivers/xf86-input-synaptics)
"Touchpad" flag enable the module to setup the touchpad in plasma desktop/Plasma preferences.
Without this flag there's nothing to control the tuochpad

Libinput depends on (for me)

Code: Select all

equery d dev-libs/libinput
 * These packages depend on dev-libs/libinput-1.9:
app-text/calibre-3.26.1 (dev-libs/libinput)
dev-qt/qtgui-5.11.1 (libinput ? dev-libs/libinput)
kde-plasma/kwin-5.13.5 (>=dev-libs/libinput-1.9)
x11-drivers/xf86-input-libinput-0.27.1 (>=dev-libs/libinput-1.5.0:0)
You can try to remove x11-drivers/xf86-input-synaptics running:

Code: Select all

# equo rm x11-drivers/xf86-input-synaptics --nodeps -a
Touchpad module control will be removed to the control center and t x11-drivers/xf86-input-synaptics will be installed as palsma-desktop dependence to the next plasma-desktop update.

Other way , file a bug report with your request.

Good Luck !
[Che Cos'è Il Calcolo Distribuito (BOINC)

BOINC ready ! Sabayon+BOINC = BILD ,my Sabayon spin :cyclops: - Ready to crunch for the Science everywhere :)

Post Reply