Questions tagged [libinput]

libinput provides device detection and setup as well as event handling for the Wayland compositor. Use this tag for libinput specific device related issues.

Filter by
Sorted by
Tagged with
0 votes
1 answer
37 views

Can I merge keyboard and mouse to a single virtual input device?

There are some applications that use strange/inconvenient user interaction and that is impossible to edit. I want to remap a combination of a keyboard and mouse event to another combination of ...
user avatar
  • 432
0 votes
1 answer
34 views

How to use two mice at the same time (single pointer)

I'm on Xorg (using libinput). I'm trying two use two "mouse" devices, one for scrolling and the other for moving the cursor. But when the pointer is moving, some aplications (but not ...
user avatar
0 votes
0 answers
59 views

Disable physical left click on touchpad but keeping tap

I need to disable the clicking on touchpad as my touchpad is a bit broken and get stuck specifically on the left side. Unfortunately I am unable to find the one-line command.
user avatar
1 vote
0 answers
151 views

Xinput/libinput button remapping with Trackball scrolling

So I'm using my trackball and I have configured it with trackball scrolling. What I now want to do is to remap the original scroll wheel to be used for some different function. The Problem is that ...
user avatar
0 votes
0 answers
160 views

Increase xorg libinput touchpad sensitivity to small movement

I've been occasionally experiencing a sort of 'floating' cursor that's hard to point where I want it, and I've finally realised it's because the sensitivity, in terms of how much my finger has to move ...
user avatar
  • 1,608
0 votes
0 answers
108 views

Map drawing tablet to one monitor or program in KDE Plasma Wayland

I have a hardware setup with two monitors and a USB drawing tablet that I find useful for taking notes during meetings. My ideal is to have videoconferencing software maximized on one monitor and ...
user avatar
  • 35
0 votes
0 answers
39 views

Debian - Setting up a trackball as scroller

I want configure one of the buttons of my Elecom trackball to change the ball to act as a vertical/horizontal scroll. So far I triev this way: I used xinput list to find the trackball name and xev to ...
user avatar
  • 23
0 votes
1 answer
39 views

Gameball xorg.conf configuration

So my Gameball finally arrived, and I loved it. Now it comes the fun part: configuration. When it first arrived both scroll areas where working. But the I want both upper buttons to be left and right ...
user avatar
0 votes
0 answers
769 views

Arch Linux - Elan Touchpad detected and all drivers installed, but not working

I've seen lots of problems similar to this, but none which had the touchpad detected and drivers installed, and still not working. I'm trying to install Arch for the first time on a new laptop, and I ...
user avatar
  • 1
2 votes
1 answer
1k views

Lowering/Disabling touchpad acceleration in GNOME 40 (Wayland)

I have set the touchpad speed slider to ~50% in Mouse & Touchpad Settings. I find this good enough most of the time but if I move my finger a bit too fast, the pointer flies to the edge/corner. If ...
user avatar
0 votes
0 answers
48 views

Ubuntu and Fedora do not have touchpad settings for USB touchpad

I have scoured the internet for days trying to find a solution, and none of the proposed solutions have worked. I am starting to believe this is a problem with libinput. I am trying to disable tap-to-...
user avatar
1 vote
0 answers
398 views

How to disable touchpad acceleration in Gnome (Wayland)

I'm trying to disable the touchpad mouse acceleration on Ubuntu 21.04, with Gnome 3 using Wayland. The settings have no option for it, Gnome Tweaks has nothing and I was unable to find a setting using ...
user avatar
  • 11
0 votes
1 answer
975 views

Mapping touch screen and wacom tablet to different monitors under wayland using libinput

I have recently switched to wayland, and running sway on Ubuntu 20.04. I'm trying to map my touch screen and wacom tablet to specific monitors. I have 3 monitors connected and working properly. I have ...
user avatar
2 votes
0 answers
216 views

How to enable extra buttons on trackball?

On FreeBSD xev only recognizes clicks from the first 9 buttons from the Elecom Huge trackball. On Arch Linux clicks from all the 12 buttons are recognized. As per recommendation from libinput ...
user avatar
0 votes
0 answers
17 views

libinput -- disable horizontal scrolling [duplicate]

The Logitech Trackman does not have a scroll wheel so we enable it by installing libinput and this libinput.conf Section "InputClass" Identifier "Marble Mouse" MatchProduct "...
user avatar
0 votes
0 answers
71 views

Map One by Wacom pen button; tablet not detected by xsetwacom but detected by libwacom-list-local-devices. (Arch Linux)

I'm trying to work with my One by Wacom tablet now. It's working just as expected: pointer movement, clicks etc. How do I map the single button on the stylus to something like C-z. I tried following ...
user avatar
1 vote
2 answers
568 views

Touchpad cursor jumps/skips on Lenovo Ideapad Gaming laptop

I have recently bought a new Lenovo Ideapad Gaming laptop. On my old Lenovo laptop, when I move my finger against the touchpad, the cursor will move smoothly, a few pixels each time. But on the new ...
user avatar
  • 339
0 votes
1 answer
230 views

libinput settings keep getting reset

I've set up my mouse with a flat profile and a speed to my liking like so from the command line: xinput --set-prop 'Logitech G9x Laser Mouse' 'libinput Accel Profile Enabled' 0, 1 xinput --set-prop '...
user avatar
0 votes
1 answer
161 views

Toggling touchpad with `xinput --disable <device>` kills user session

[Host running Arch linux 5.11.12-arch1-1 with gdm on Xorg.] For years I've disabled/enabled my touchpad on the fly, directly from keyboard or cli as long as I had an active terminal session. I did ...
user avatar
  • 2,288
1 vote
0 answers
230 views

Disable trackpoint acceleration in Gnome 3 on Wayland

I am using Debian 11 (testing) and Gnome 3. I was able to disable mouse pointer acceleration using gnome tweaks but there is still annoying acceleration when using a trackpoint. Looking through Gnome ...
user avatar
0 votes
0 answers
123 views

How to rotate touchpad

I am sometimes using the apple magic trackpad and would find it more convenient, if I could use it upside down. Thus I was looking for a way to rotate my input. I stumpled upon libinput and some ...
user avatar
  • 165
0 votes
0 answers
318 views

How to scroll by holding "middle-mouse" and moving pen on a tablet?

I am trying use a tablet as my primary pointing device instead of a mouse (to get comfortable with it). It works but scrolling has become very inconvenient. See, a mouse has a scroll wheel that I can ...
user avatar
  • 139
2 votes
2 answers
2k views

How to configure the Elecom Huge trackball to scroll with the ball?

One of the cool things about trackballs is that the ball can be used for 2D scrolling upon pressing a user-defined button. I have an Elecom Huge trackball and want to configure it with xinput (so that ...
user avatar
3 votes
2 answers
888 views

How can I change my trackball's scroll method in GNOME on Wayland?

I like using libinput's on-button scrolling feature to make my trackball a scroll wheel when holding down BTN_BACK. The Arch Linux wiki describes how to configure this feature in Xorg. When I used ...
user avatar
  • 736
0 votes
1 answer
597 views

Touchpad vertical scrolling not working

I am using ubuntu 18.04 and libinput for drivers. Scrolling is not working for my system. I have tried changing natural scrolling and two finger scroll option with all the combination, still it does ...
user avatar
2 votes
1 answer
267 views

How do you use a wiimote with libinput in Wayland?

I want to use a Wii Remote as a media controller. There is an X driver that supports this: xf86-input-xwiimote. It maps the arrow keys to normal keyboard arrow keys, A to enter (for activating ...
user avatar
  • 166
1 vote
1 answer
330 views

libinput: delay between touch and button release, making it hard to release a drag and drop

I'm using libinput (on nixos 20.03/KDE plasma 5.17 with default configuration), and I've a quite annoying behaviour: when I untouch my touchpad during a selection or a drag and drop, the click is not ...
user avatar
  • 2,168
1 vote
0 answers
596 views

evdev events not showing up in libinput or X11

Some background: I'm using a VEIKK A50 graphics tablet with a custom patched version of this driver to add button support. The tablet registers 3 evdev devices upon being plugged in - pen events come ...
user avatar
  • 287
0 votes
2 answers
1k views

My systemd service won't run

I am trying to set xinput settings on my laptop on boot so I made a script with all my settings and a basic systemd service file: [Unit] Description=Sets my preferred xinput settings [Service] ...
user avatar
  • 1
1 vote
1 answer
701 views

Drag lock not working on fresh Ubuntu 20.04 install

This is a Dell Inspiron 15 7559 from 2016 which came preinstalled with Ubuntu at the time. I had later been running 16.04 for the past 4 years without a problem. Yesterday, I did a fresh install (...
user avatar
0 votes
1 answer
617 views

How to disable trackpoint scrolling with libinput?

Update: now the middle-click emulation no longer works, so I'm more stuck than ever. Pressing buttons 1 and 3 acts as a scroll wheel just like pressing the middle button. I have a lenovo keyboard ...
user avatar
  • 4,637
4 votes
2 answers
4k views

Disable laptop touchpad on Wayland

I need to disable the touchpad of my laptop. I am using Gnome on Wayland. libinput should provide this functionality, but apparently it doesn't. xinput doesn't work because I'm on Wayland. I think ...
user avatar
  • 739
1 vote
0 answers
214 views

xinput list "UNKNOWN"

I posted this question is Ask Ubuntu but nobody was able to answer it, it seems like. I am including it here because this does not appear to be an Ubuntu-specific problem: This is a modified version ...
user avatar
0 votes
0 answers
231 views

libinput touchscreen click event accuracy

I have a AdVantech Touchdisplay with Debian 10. A tap results in a click event (all fine here). But a tap with a little move does not. If you have to control a touch device during while the hole ...
user avatar
  • 111
1 vote
0 answers
124 views

Reduce two finger scroll distance on touchpad

I recently installed Fedora on my Dell XPS laptop (9360) but the touchpad has been giving me issues. Overall, it doesn't seem very responsive (compared to Windows on the same machine and other laptops)...
user avatar
  • 123
2 votes
1 answer
2k views

Kinetic scrolling with libinput possible?

I am using Manjaro like this guy: https://forum.manjaro.org/t/how-to-enable-kinetic-scrolling-with-libinput-driver/36488 And my system comes with libinput. Unfortunately libinput does not have kinetic ...
user avatar
  • 163
1 vote
1 answer
315 views

ThinkPad touchpad and trackpoint do not work 90% of the time on Arch

The touchpad and trackpoint on my ThinkPad x250 had gained the habit of not working pretty much all of the time now. At first, it appeared to be that after sleep it stopped working, then it gradually ...
user avatar
0 votes
1 answer
226 views

Triple tap required for opening files/folders

On my Xubuntu Core 18.04, I need to triple tap every time I want to open a file or folder in Thunar or other applications' (libreoffice, abiword, notepadqq, etc.) menus. Double tap does nothing. The ...
user avatar
  • 188
3 votes
2 answers
284 views

libinput button scrolling: delay between button press and scroll

I'm using libinput to enable "button scrolling" for my trackball, where holding a specific button down causes ball movement to translate to scroll movement. xinput set-prop $TRACKBALL_ID "libinput ...
user avatar
3 votes
0 answers
292 views

How to get position of fingers on touchpad

I want to develop a program which would be able to make use of absolute position of fingers on a touchpad to define custom in-app gestures. I've read that using raw data from evdev is a really bad ...
user avatar
  • 131
0 votes
0 answers
495 views

Touchpad's palm detection works very poorly

I have Mi Notebook Pro (15.6 inches), it has very big, usable touchpad (apparently, manufactured by Elantech). But it's palm detection works very poorly. I started to bang my head with it in hope to ...
user avatar
  • 365
1 vote
1 answer
215 views

Redefine libinput software button area

I'm trying to configure libinput to use about 1/3 of the height of the touchpad as the software button area rather than the roughly 1/5 of the height. Having only 1/5 of the height is quite small for ...
user avatar
  • 113
2 votes
2 answers
9k views

Can I make middle-mouse scrolling on linux behave more like autoscrolling on windows?

For any who do not know what autoscrolling is, you can experience it in Chromium with the autoscroll extension (speed set to 3), and in firefox by enabling the 'use autoscroll' option. Enabling ...
user avatar
  • 1,819
2 votes
1 answer
2k views

Libinput transformation matrix for rotating the input coordinates

Take a look at the official documentation for libinput's coordinate transformation matrix: https://wayland.freedesktop.org/libinput/doc/1.1.0/group__config.html#ga09a798f58cc601edd2797780096e9804 ...
user avatar
  • 1,311
1 vote
1 answer
1k views

How can I map two buttons to scroll emulation?

I have a Logitech Trackman Marble, which has 2 large buttons and two tiny ones. It also has no scroll wheel. Using this configuration from the Arch wiki, it is possible to configure one of the small ...
user avatar
  • 311
2 votes
1 answer
837 views

Razer Blade Stealth touchpad jumps with Linux

My Issue I am using the 2016 model Razer Blade Stealth laptop. Recently, I've decided to install Linux on it. Whenever I use the touchpad on any Linux OS I've loaded onto it so far, the cursor jumps ...
user avatar
  • 129
2 votes
0 answers
278 views

ASUS Zenbook UX430UAR touchpad sleeps (seemingly not a USB autosuspend issue)

The System This is a brand-new ASUS Zenbook UX430UAR dual booting the pre-installed Windows 10 and a minimal Debian, uname -a: Linux myhostname 4.9.0-7-amd64 #1 SMP Debian 4.9.110-3+deb9u2 (2018-08-...
user avatar
4 votes
3 answers
3k views

libinput palm detection not working

I recently bought a new Dell XPS 15 and installed Debian on it. It previously ran Windows 10, and the palm detection/rejection worked perfectly, just as I would have expected. But now, running Debian ...
user avatar
2 votes
0 answers
94 views

What layer of the OS/drivers/X/Wayland might cause touchpad problems in both synaptic and libinput?

I am wondering, what layer of the stack might be causing issues in my touchpad if both the synaptic driver and the libinput driver show the same issue? I would be using my trackpad and intermittently ...
user avatar
  • 171
5 votes
2 answers
4k views

How to completely inhibit lid switch events?

Context: Due to missing drivers for my 2-in-1 convertible, folding the screen back only triggers a lid switch event. This causes the laptop to suspend or, when "Suspend when laptop lid is closed" is ...
user avatar