LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 11-24-2017, 02:19 PM   #1
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,005
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
Libinput questions...


So, I'm trying to get all my laptops up to using libinput because my newest one it just "works" correctly. However have a couple questions about configuring it:

1. On one of my laptops, it MOSTLY works. It has edge scroll enabled instead of 2 finger scroll. I want to disable edge scroll and enable 2 finger scroll (I know the hardware supports it as I was using it on Windows). This laptop I'm still using libinput, but I'd really like to get this fixed since the touchpad works REALLY well with libinput otherwise.

2. On MULTIPLE laptops, it almost works. Single & 2-finger tapping works, 2 finger scroll works, but 3-finger tapping doesn't. These I'm all using synaptics because it fully works. I've tried following the arch wiki for configuring libinput multiple times, but I've NEVER manged to get 3-fing tapping working with libinput on ANY of these. I can stay with Synaptics as it'll probably be quite some time before it's fully deprecated, but I'd PREFER to be able to use libinput since it's usually a bit more predictable in terms of actual touchpad movement, but not having midldle click is simply too big an issue to deal with.

So, does anyone know how to do these configurations, or have a link to a page that describes exactly how to configure them?

Thanks
 
Old 11-24-2017, 03:21 PM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,803

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
I’m out and about with only my iPhone currently, but I recommend reading the man page first
Code:
man libinput
The following command is useful to get device attributes reported
Code:
libinput list-devices
Attributes can be set on the fly or via options in an Xorg config file.

The Arch wiki page is a good reference as well.
https://wiki.archlinux.org/index.php/Libinput
 
Old 11-24-2017, 03:32 PM   #3
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,005

Original Poster
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
YEah, read that page like 10 times now. As I said, nothing I've tried from that page has done anything to help. I've successfully broken the touchpad multiple times, but never managed to get something working that wasn't. I had initially assumed it was just setting the TappingButtonMap to lrm, but that didn't work. I've tried playing with ButtonMapping, but haven't had any success. Nothing else seems like it would affect it.

Last edited by Timothy Miller; 11-24-2017 at 04:45 PM.
 
Old 11-24-2017, 08:42 PM   #4
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,803

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Now that I'm back in front of my Linux box, I realise the command should have been
Code:
libinput-list-devices
Quote:
1. On one of my laptops, it MOSTLY works. It has edge scroll enabled instead of 2 finger scroll. I want to disable edge scroll and enable 2 finger scroll
From 'man libinput'...

Quote:
libinput Scroll Method Enabled
3 boolean values (8 bit, 0 or 1), in order "two-finger", "edge", "button". Indicates which
scroll method is currently enabled on this device.
The Xorg configuration option is specified like this...
Quote:
Option "ScrollMethod" "string"
Enables a scroll method. Permitted values are none, twofinger, edge, button. Not all devices
support all options, if an option is unsupported, the default scroll option for this device
is used.
A similar question here...
https://bbs.archlinux.org/viewtopic.php?id=210096


Quote:
2. On MULTIPLE laptops, it almost works. Single & 2-finger tapping works, 2 finger scroll works, but 3-finger tapping doesn't. These I'm all using synaptics because it fully works. I've tried following the arch wiki for configuring libinput multiple times, but I've NEVER manged to get 3-fing tapping working with libinput on ANY of these. I can stay with Synaptics as it'll probably be quite some time before it's fully deprecated, but I'd PREFER to be able to use libinput since it's usually a bit more predictable in terms of actual touchpad movement, but not having midldle click is simply too big an issue to deal with.
Unfortunately (as the Arch wiki page) mentions, the "libinput driver has fewer options to customize touchpad behaviour to one's own taste, but far more programmatic logic to process multitouch events (e.g. palm detection as well). Hence, it makes sense to try the alternative, if you are experiencing problems on your hardware with one driver or the other."

This thread suggests that "3-finger tapping" is not possible currently with libinput...
https://bbs.archlinux.org/viewtopic.php?id=222904

If you feel that the required feature is missing, then a bug report is the best way forward.
https://bugs.freedesktop.org/buglist...roduct=Wayland
 
Old 11-24-2017, 11:12 PM   #5
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,005

Original Poster
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
Quote:
Originally Posted by ferrari View Post
Now that I'm back in front of my Linux box, I realise the command should have been
Code:
libinput-list-devices
From 'man libinput'...



The Xorg configuration option is specified like this...


A similar question here...
https://bbs.archlinux.org/viewtopic.php?id=210096



Unfortunately (as the Arch wiki page) mentions, the "libinput driver has fewer options to customize touchpad behaviour to one's own taste, but far more programmatic logic to process multitouch events (e.g. palm detection as well). Hence, it makes sense to try the alternative, if you are experiencing problems on your hardware with one driver or the other."

This thread suggests that "3-finger tapping" is not possible currently with libinput...
https://bbs.archlinux.org/viewtopic.php?id=222904

If you feel that the required feature is missing, then a bug report is the best way forward.
https://bugs.freedesktop.org/buglist...roduct=Wayland
It's definitely possible. 4 of my laptops have 3-finger tapping working and are using libinput. Not restricted to a single OS, as they are each running different one (q4os (Debian Stretch based), Arch, Gallium (Ubuntu 16.04 based), and Fedora 27).

AS far as the scrolling, I'm sorry to say that it was a fat fingering that was preventing that from working. I HAD actually updated the correct option, I had mistyped the line, however. I had looked at the line it seems 100 times, and never noticed until I copy/pasted directly from the man...THEN it worked.

Last edited by Timothy Miller; 11-24-2017 at 11:18 PM.
 
Old 11-25-2017, 03:33 AM   #6
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,803

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Quote:
It's definitely possible. 4 of my laptops have 3-finger tapping working and are using libinput. Not restricted to a single OS, as they are each running different one (q4os (Debian Stretch based), Arch, Gallium (Ubuntu 16.04 based), and Fedora 27).
I must have misunderstood your opening post where I understood that you couldn't get 3-finger tapping working...
Quote:
2. On MULTIPLE laptops, it almost works. Single & 2-finger tapping works, 2 finger scroll works, but 3-finger tapping doesn't. These I'm all using synaptics because it fully works. I've tried following the arch wiki for configuring libinput multiple times, but I've NEVER manged to get 3-fing tapping working with libinput on ANY of these.
You could compare the 'libinput-list-devices' output between the four that work (with libinput?) and the ones that don't.

Quote:
AS far as the scrolling, I'm sorry to say that it was a fat fingering that was preventing that from working. I HAD actually updated the correct option, I had mistyped the line, however. I had looked at the line it seems 100 times, and never noticed until I copy/pasted directly from the man...THEN it worked.
That reads like progress.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Alien Bob's libinput dependency lopid Slackware 7 10-31-2017 06:02 AM
[SOLVED] libinput kcm touchpad configuration? mshlinux Gentoo 1 02-04-2017 11:15 PM
[SOLVED] Libinput - beware! pchristy Slackware 12 01-20-2017 02:46 PM
libinput makes devices unresponsive naikin Linux - Software 4 08-08-2016 03:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 05:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration