LinuxQuestions.org
Help answer threads with 0 replies.
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, 03:19 PM   #1
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, Fedora & Arch mostly.
Posts: 2,535

Rep: Reputation: 693Reputation: 693Reputation: 693Reputation: 693Reputation: 693Reputation: 693
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, 04:21 PM   #2
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 2,360

Rep: Reputation: 372Reputation: 372Reputation: 372Reputation: 372
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, 04:32 PM   #3
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, Fedora & Arch mostly.
Posts: 2,535

Original Poster
Rep: Reputation: 693Reputation: 693Reputation: 693Reputation: 693Reputation: 693Reputation: 693
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 05:45 PM.
 
Old 11-24-2017, 09:42 PM   #4
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 2,360

Rep: Reputation: 372Reputation: 372Reputation: 372Reputation: 372
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-25-2017, 12:12 AM   #5
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, Fedora & Arch mostly.
Posts: 2,535

Original Poster
Rep: Reputation: 693Reputation: 693Reputation: 693Reputation: 693Reputation: 693Reputation: 693
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-25-2017 at 12:18 AM.
 
Old 11-25-2017, 04:33 AM   #6
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 2,360

Rep: Reputation: 372Reputation: 372Reputation: 372Reputation: 372
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 07:02 AM
[SOLVED] libinput kcm touchpad configuration? mshlinux Gentoo 1 02-05-2017 12:15 AM
[SOLVED] Libinput - beware! pchristy Slackware 12 01-20-2017 03:46 PM
libinput makes devices unresponsive naikin Linux - Software 4 08-08-2016 04:17 PM

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

All times are GMT -5. The time now is 08:11 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration