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
1 vote
1 answer
19 views

How remove/debug Stylus Asus pen which sends events every time laptop starts since is disabled

Week ago stylus have been added somehow between devices (I do not have own stylus for few months) and spam me with events every time laptop starts: $ sudo libinput debug-events | grep event5 -event5 ...
ldrahnik's user avatar
0 votes
1 answer
21 views

How do i add Options to the xorg conf?

Where is, and how do I change the xorg conf file? I want to change the default scrolling speed of my touchpad. I can use xinput --set-prop "YOUR TOUCHPAD" "libinput Scrolling Pixel ...
dodohjk's user avatar
  • 101
0 votes
0 answers
194 views

How to disable touch screen right click in Wayfire/Wayland?

I've created a touch screen kiosk using a RPi 5 running the latest OS (eg. Bookworm + Wayfire). I'm trying to disable right-click events as they are super annoying for my use-case. A right click ...
kefa's user avatar
  • 1
0 votes
0 answers
92 views

mouse freeze - SYN_DROPPED event when using graphical applications

I first noticed the issue when using Davinci Resolve (video editor) : I get random mouse freezes logged by the X server as "SYN_DROPPED event" $ tail -f /var/log/Xorg.0.log [...] [ 12781.613]...
CrunchySlime's user avatar
1 vote
1 answer
184 views

Linux randomly enables and disables tablet mode on a Lenovo Thinkpad X1

I use a Lenovo Thinkpad X1 (Gen 6) laptop. Currently, I'm on Fedora. In the GRUB menu, the internal keyboard works as expected. While using the OS, the keyboard is mainly unresponsive, but sometimes ...
david-swift's user avatar
0 votes
0 answers
248 views

Remapping mouse buttons in Wayland

I have two Logitech trackballs, a Wireless TrackMan FX and a Marble Mouse. Both report the same set of buttons in evtest: BTN_LEFT, BTN_RIGHT, BTN_MIDDLE, BTN_SIDE and BTN_EXTRA even though they only ...
mbethke's user avatar
  • 101
0 votes
0 answers
160 views

How to correctly configure X11 to make a xinput property permanent?

I'm trying to set the "emulate middle click property" i enable with: xinput set-prop "Logitech Gaming Mouse G402" "libinput Middle Emulation Enabled" 1 as a permanent ...
falkan's user avatar
  • 1
0 votes
0 answers
155 views

HID events are received, but mouse input still not working

I'd like to understand what I'm missing between HID events and libinput. I have a device that is sending correct mouse events, recorded from hid-recorder: e.g. For a left-click: # ReportID: 11 / ...
Sam Bull's user avatar
  • 155
1 vote
0 answers
151 views

extra udev rule to keep Wacom stylus turned on while disabling Wacom touchscreen?

I turned off the touchscreen as described here and here on my Lenovo ThinkPad with Debian and Wayland/libinput. echo 'SUBSYSTEM=="usb", ATTRS{idVendor}=="056a", ATTRS{idProduct}==&...
Johan's user avatar
  • 399
0 votes
1 answer
89 views

Thinkpad T480 touchpad: enable vertical scroll (no DE), which config to use?

I don't know if im using libinput or synaptics cause i use both at the same time. Xorg synaptic config cat /etc/X11/xorg.conf.d/70-synaptics.conf # Example xorg.conf.d snippet that assigns the ...
Lolis4TheWin's user avatar
0 votes
0 answers
134 views

Identify a specific mouse using xinput to process an xinput command

Using Manjaro 23.0, I found a way to decrease the speed of my USB SteelSeries mouse but I struggle to make it persistent. After some time being not in use, or a system reboot, the xinput settings ...
user1144409's user avatar
2 votes
1 answer
740 views

What could cause a missing mouse scroll event just after reversing scroll direction?

I'm using Ubuntu 22.04.2 on an x86_64 system, with Xorg and libinput. I have a Logitech MX Master mouse (the first model), and I've noticed some unusual behaviour with scrolling. The mouse has a free-...
davidA's user avatar
  • 171
0 votes
1 answer
186 views

Can you remap REL_HWHEEL to BTN_* events or key combination using hwdb?

I have a mouse (Logitech M705) that features a 4-way scroll wheel. The left/right press are basically buttons, so not like an actual horizontal scroll wheel. Since I have no use for the horizontal ...
Bernd Steinhauser's user avatar
0 votes
1 answer
939 views

In a Wayland session, how to automatically disable input devices when the laptop lid is closed?

Running X11 I could install acpid and modify the /etc/acpi/handler.sh script to use xinput to do the deed: button/lid) case "$3" in close) #set variables so ...
netsplit's user avatar
  • 121
1 vote
0 answers
39 views

Inverting the scrolling of only one mouse

Hi I have two mice connected to my machine. One is a standard mouse, the other is a touchpad which, as a device, is split into the touchpad itself and the mouse part. I would like to set the inverted ...
Siderius's user avatar
3 votes
0 answers
270 views

What are 'default' props in xinput/libinput for?

I wanted to adjust vertical (two-finger) scrolling speed via xinput because my DE's settings utility does not expose that setting. So, I ran xinput --list-props to fetch a list of available settings ...
InfiniteLoop's user avatar
0 votes
1 answer
312 views

Bosto (Nuvoton) touchpad xinput setup

I've purchased Bosto touchpad (like this), plugged it into my notebook and it worked fine. But when I plugged device into my desktop, touchpad is not working. OS is the same on both devices: Ubuntu 20....
Igor Semenov's user avatar
0 votes
1 answer
529 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 ...
Ashark's user avatar
  • 909
1 vote
1 answer
251 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 ...
User412's user avatar
  • 21
0 votes
0 answers
506 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.
Alessio_110's user avatar
1 vote
0 answers
647 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 ...
ominoustracker's user avatar
0 votes
1 answer
102 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 ...
Nelson Teixeira's user avatar
1 vote
1 answer
3k 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 ...
fun840's user avatar
  • 13
3 votes
1 answer
4k 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 ...
user1029387's user avatar
1 vote
0 answers
879 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 ...
Eemil P's user avatar
  • 11
1 vote
1 answer
4k 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 ...
evolozzy's user avatar
  • 113
2 votes
0 answers
600 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 ...
kolumatani's 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 "...
Stephen Boston's user avatar
1 vote
2 answers
1k 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 ...
alamar's user avatar
  • 369
0 votes
1 answer
859 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 '...
Klaas van Schelven's user avatar
0 votes
1 answer
443 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 ...
Cbhihe's user avatar
  • 2,701
1 vote
0 answers
576 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 ...
problemofficer - n.f. Monica's user avatar
0 votes
0 answers
467 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 ...
v.tralala's user avatar
  • 195
0 votes
0 answers
942 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 ...
sigsegv's user avatar
  • 149
2 votes
2 answers
4k 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 ...
Wojciech Gac's user avatar
4 votes
2 answers
2k 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 ...
sjy's user avatar
  • 896
0 votes
1 answer
1k 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 ...
Shubham Jain's user avatar
2 votes
1 answer
697 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 ...
xordspar0's user avatar
  • 266
1 vote
1 answer
933 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 ...
tobiasBora's user avatar
  • 4,051
1 vote
0 answers
1k 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 ...
squirl's user avatar
  • 287
2 votes
2 answers
3k 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] ...
Xilog's user avatar
  • 21
2 votes
1 answer
900 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 (...
Serkan Durusoy's user avatar
1 vote
2 answers
1k 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 ...
user3188445's user avatar
  • 5,267
7 votes
3 answers
10k 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 ...
piegames's user avatar
  • 917
0 votes
0 answers
316 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 ...
pictorexcrucia's user avatar
0 votes
0 answers
396 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 ...
Pascal's user avatar
  • 153
1 vote
0 answers
251 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)...
nijave's user avatar
  • 123
3 votes
1 answer
4k 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 ...
tbrodbeck's user avatar
  • 185
1 vote
1 answer
580 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 ...
Yanek Yuk's user avatar
0 votes
1 answer
292 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 ...
jaam's user avatar
  • 246