Skip to main content

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
0 answers
27 views

How to configure input devices when using Wayland instead of Xorg?

I'm using KDE desktop environment, and I have recently switched from Xorg to Wayland. The compositor is KWin. I'm concerned about configuring my mouse and keyboard properly, because obviously it can't ...
melonfsck - she her's user avatar
0 votes
0 answers
41 views

Touchpad lag after two fingers scroll

I didn't know where to post this issue and thought this was the best place to start. I recently tried a number of linux distros on my job's laptop and always encountered this issue. I tested and ...
asnaeb's user avatar
  • 101
0 votes
0 answers
97 views

Debian Bookworm touchpad not working

Touchpad seems configured, cat /proc/bus/input/devices: I: Bus=0011 Vendor=0002 Product=000a Version=0063 N: Name="TPPS/2 Elan TrackPoint" P: Phys=isa0060/serio1/input0 S: Sysfs=/devices/...
bs-'s user avatar
  • 43
0 votes
1 answer
48 views

libinput example program doesn't get any events

https://wayland.freedesktop.org/libinput/doc/latest/api/index.html Following the simple example program in their website i made the following , but the loop never executes , meaning no events where in ...
Lampros's user avatar
  • 143
1 vote
0 answers
36 views

Listen to keyboard layout change

I'd like to perform some actions when the user requests a keyboard layout change (via ibus/setxkbmap/wayland/gnome/plasma/…), notably in order to disable KMonad (otherwise the user-defined layout ...
tobiasBora's user avatar
  • 4,361
1 vote
1 answer
26 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
79 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
457 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
131 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
238 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
1 vote
0 answers
601 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
  • 111
0 votes
0 answers
307 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
185 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
211 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
  • 419
0 votes
1 answer
118 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
1 vote
0 answers
202 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
924 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
234 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
1 vote
1 answer
1k 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
  • 151
1 vote
0 answers
41 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
339 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
337 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
604 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
  • 1,019
1 vote
1 answer
280 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
1 vote
0 answers
616 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
753 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
121 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
4k 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
5k 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
996 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 ...
ozankiratli's user avatar
2 votes
0 answers
690 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
2k 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
  • 379
0 votes
1 answer
946 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
477 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,771
1 vote
0 answers
604 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
524 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
  • 205
1 vote
0 answers
1k 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
  • 159
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
3 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
  • 906
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
782 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
1k 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,361
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
913 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,419
8 votes
3 answers
11k 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
  • 937
0 votes
0 answers
323 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