2022 Developer Survey is open! Take survey.

Questions tagged [xinput]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
6 views

xinput custom.conf file only applies when terminal is opened

Backstory: I need to rotate my touch input at boot so that I can use my touch display. I am successful in rotating the input with the following entered into the terminal: xinput set-prop 'seeed-tp' '...
user avatar
0 votes
1 answer
17 views

Making Xinput commands permanent "For complete noobs"

As the title suggests, I need to rotate the touch input on a DSI display. I am successful in rotating the input with this entered into the terminal. xinput set-prop 'seeed-tp' 'Coordinate ...
user avatar
1 vote
0 answers
18 views

xserver not using hotplug keyboard and mouse

I'm using a Linux desktop. My own customized distro, using debian packages, but no systemd stuff. The problem is if I re-plug the USB keyboard or mouse, the X will not respond to them anymore. unless ...
user avatar
  • 131
0 votes
1 answer
40 views

Can't Move Mouse When Key Pressed

I'm running up-to-date arch on an Asus G15 (2021) and I'm using i3 as my WM. I can't for the life of me, work out why the trackpad doesn't seem to work when I have a key pressed down. Where would I ...
user avatar
0 votes
0 answers
57 views

Mouse sending spurious x11 event (scroll right button)

I have an annoying problem where my mouse seems to somewhat randomly emit a 'Scroll right' event (button press 7). I am running Debian Buster on my main desktop at the moment. I have not made any ...
user avatar
  • 111
2 votes
0 answers
36 views

Inputing accented letters in Qt applications on Cygwin

I am a native Portuguese speaker, and I am having problems when typing accented characters in any Qt application running on Cygwin. Almost always, the result on the screen for any accented letter I ...
user avatar
  • 171
1 vote
1 answer
609 views

X11 - How to invert axis on touchscreen matrix?

I have a tablet that I flashed Fedora Silverblue on, but the touchscreen has the Y-axis inverted when the device is on landscape, and X-Axis inverted portrait mode. I've disabled wayland to use xinput ...
user avatar
  • 161
0 votes
0 answers
78 views

Touchscreen device doesn't work after boot but does after reconnecting USB

I have A Sharp Touch Screen device. Sharp PN-HW431T 43" Connected via USB. Bus 002 Device 003: ID 04dd:9e90 Sharp Corp. Touch Device The Touch works fine if you connect it after OS is Booted. OS:...
user avatar
  • 111
1 vote
0 answers
126 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
1 vote
0 answers
230 views

Cannot scroll while moving mouse in Ubuntu VirtualBox guest

Applications in Ubuntu, such as Chromium or the GNOME Terminal, are not responsive to mouse wheel scroll events when moving the mouse cursor at the same time. I am running Ubuntu 18.04.6 LTS as guest ...
user avatar
  • 111
0 votes
2 answers
482 views

xorg keyboard config not working (us altgr-intl no deadkeys)

I'm trying to get my keyboard to use the us layout with variation altr-intl and no deadkeys. Somehow my xorg-keyboard-config does not take effect. I looked up the config here arch-wiki but there seems ...
user avatar
  • 101
1 vote
0 answers
143 views

Thinkpad T460 - how do I disable the touchpad?

I recently got a Thinkpad T460 and am running Ubuntu 20.04 on it. I don't use a DE, just plain old i3. I'm like to keep my hands on the keyboard. That's why I like the trackpoint. However, I keep ...
user avatar
  • 111
0 votes
2 answers
173 views

Unable to change mouse sensitivity

System: Debian 11 Bullseye DE: XFCE or KDE There is only an acceleration slider in the mouse settings (acceleration only). And no acceleration profile or mode flags in xinput. Acceleration flags i ...
user avatar
  • 11
1 vote
1 answer
93 views

PXN-0082 controller - xinput does not see but lsusb does - how to connect

I have an arcade controller I bought so my dying dad can play old school games. but it does not show up under xinput, where it does show up under lsusb Bus 003 Device 021: ID 0079:187c DragonRise Inc. ...
user avatar
  • 131
1 vote
1 answer
189 views

Is it possible to combine two pointer xinput devices into a single device?

I'm using VirtualBox and it comes with a "Mouse Integration" feature, which creates a 2nd pointer input called VirtualBox mouse integration aside from the existing pointer input. $ xinput ⎡ ...
user avatar
  • 11
0 votes
0 answers
125 views

manipulating wayland inside scripts

I am running Ubuntu 21.04 on a Lenovo Thinkpad X1 Tablet using Gnome. On Ubuntu 20.10 I had a series of bash scripts I would run to set up different xorg and xinput configurations depending on what ...
user avatar
0 votes
0 answers
50 views

Scroll using mouse button

I'm trying to set scroll to mouse button 3, following How to scroll the screen using the middle click?: xinput list bera@debian:~$ xinput list ⎡ Virtual core pointer id=2 [...
user avatar
  • 155
1 vote
0 answers
33 views

Generic ALPS mouse added cause touchpad issue

I am using Mint 20.2 and in the last weeks I started to have touchpad issue: it stop to work properly (right and left click) randomly. After deeper investigation I found this: if I run xinpunt command ...
user avatar
0 votes
0 answers
182 views

Ubuntu -- Wireless mouse now showing in 'xinput list' but it's present in 'lsusb' and working correctly

I want to enable scrolling with my mouse click and I was following this link but I failed at start because when I'm running xinput list in terminal it's not showing my mouse there. However it is ...
user avatar
1 vote
0 answers
198 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
1 vote
1 answer
243 views

Annoying multitouch behavior Elantech touchpad on Linux Mint 20.2 Cinnamon

Recently I installed Linux Mint 20.2 Cinnamon. Touchpad multi finger behavior is strange and annoying. When I tap with two fingers exactly at the same time, it performs right click and if one of my ...
user avatar
0 votes
0 answers
139 views

Trackpoint sensitivity for HP EliteBook 840 G3

Though the trackpoint works on Garuda, it is almost unusable because it is just extremely slow. I am trying to change this for days now and starting to despair. The trackpoint is recognized as PS/2 ...
user avatar
3 votes
1 answer
501 views

Disable button on mouse (Logitech M720 Triathlon)

There's a button on my mouse that I'm unable to disable. It's right next to my thumb and I keep clicking it by accident. It triggers some kind of alt+tab function and it's very annoying! Here is my ...
user avatar
  • 33
0 votes
0 answers
20 views

Run Command on Joystic Press

the output of my $ xinput --list-props 17 is Device 'Wacom Intuos S Pad pad': Device Enabled (148): 1 Coordinate Transformation Matrix (150): 1.000000, 0.000000, 0.000000, 0.000000, ...
user avatar
0 votes
1 answer
263 views

Cursor moving erratically on its own (not a duplicated)

I've read this post that is very similar to mine, but the difference is that I have the touchpad disabled and my xinput show as if I have more than one mouse installed when I only have just one ...
user avatar
  • 111
0 votes
1 answer
69 views

Trying to disable the touchpad at wakeup

I am using a Thinkpad L13 Yoga and had the problem that the trackpoint stopped working after wakeup. So I followed the following hint (which basically reloads the psmouse module at wakeup): https://...
user avatar
  • 119
0 votes
0 answers
60 views

Built-in "Track Pad" button clicks registered by libinput not visible by xinput

I'm trying Ubuntu on a Sony VAIO Duo 11. Most hardware works, but there's a vexing issue. The Trackpad nub in the middle of the keyboard works, but its respective buttons at the bottom of the keyboard ...
user avatar
0 votes
1 answer
144 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,229
0 votes
2 answers
1k views

Enable ThinkPad Trackpad on Arch Linux

I'm using Arch Linux on a Lenovo ThinkPad P14s. On a fresh install, the trackpad is disabled. It's cumbersome to carry a mouse wherever I go, and the red knob in the middle of the keyboard is far from ...
user avatar
  • 31
4 votes
0 answers
179 views

How to map a sequence of keys to <dead_greek>?

I have mapped Insert to Multi_key (also known as Compose) so I can input ä or µ. I've used xmodmap -e 'keycode 118 = Multi_key' in my wm init script. Now, checking /usr/share/X11/locale/en_US.UTF-8/...
user avatar
0 votes
1 answer
108 views

monitoring xinput in script

My laptop has a cracked touchscreen that the local Asus tech tells me can't be replaced, not even with a non-touch because they just don't make them anymore. It is in all other respects a great laptop ...
user avatar
0 votes
0 answers
288 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
  • 129
1 vote
0 answers
114 views

Why does setxkbmap on a single device also change other devices?

I am running Ubuntu on a Thinkpad laptop with an external keyboard linked up. The laptop keyboard has a GB layout and the external has a US layout. First, I output a list of the connected devices (I'...
user avatar
  • 213
1 vote
2 answers
403 views

List only pointers with xinput

I'm trying to write a GUI tool to restrict a pointer to a specific monitor (e.g. a touchscreen pointer should map onto its own screen and not across the union of all monitors). The tool is in Python (...
user avatar
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
1 vote
1 answer
382 views

keep xinput settings after mouse wakeup

I found a way to increase the speed of my bluetooth mouse but I struggle to make it persistent. Following the wakeup of the mouse after some time being not in use the xinput settings reset to the &...
user avatar
0 votes
1 answer
74 views

Lenovo x1carbon 8th gen with debian 9 doesn't recognize touchpad

I'm struggling for more than one month, fighting to make the touchpad works on x1carbon 8th gen with Debian stretch. Yes stretch, it means the latest kernel I can work on is 4.19 (backports) The ...
user avatar
  • 1
1 vote
0 answers
45 views

Ubuntu ignoring mice

I have this issue in Ubuntu 20.04 (running under KDE desktop). Whenever I plug a mouse to my computer, it does detect it, it appears on my xinput list, but it never works. OS keeps ignoring it. My ...
user avatar
2 votes
0 answers
156 views

Unable to send keypress to Xvfb display using XTestFakeKeyEvent in C

Using this short snipped of code I am able to capture events from the keyboard (/dev/input/event1) and print them properly. However, sending them to the Xvfb display using XTestFakeKeyEvent does not ...
user avatar
  • 21
0 votes
1 answer
420 views

xinput: Disable mapping touchscreen on external monitors

I am using Arch linux with i3wm on my Lenovo x390 YOGA. I also have two external monitors. I connect them throw my docking station and configure with Arandr. Screens woks fine. But every time I ...
user avatar
1 vote
0 answers
573 views

How to configure Xorg to handle a touchscreen as mouse

We have a system running Linux on an industrial PC. It is based on Yocto Poky 2.5. Kernel is 4.15.30. Recently the manufacturer changed the touchscreen controller (USB based). The new one (egalax) ...
user avatar
0 votes
1 answer
309 views

Configure X to use a touch surface physically larger than the display?

I'm building a smart mirror (monitor behind a two-way mirror). I have a 27" infrared touch frame, which I want to use with a 22" monitor. One reason for the mismatched sizes is I am placing ...
user avatar
  • 111
1 vote
1 answer
343 views

Udev not running xinput command inside script

I'm trying to make it so that when I connect an external mouse I can automatically remap the buttons. I can remap buttons manually with xinput set-button-map $mouse_id $button_map However, I'm having ...
user avatar
1 vote
0 answers
50 views

Persisting touchpad speed on XOrg

I would like to know how to properly persist the speed of my touchpad. Every time I reboot my OS, I have to manually run: xinput set-prop 12 libinput Accel Speed 1.0 I found out that I can persist ...
user avatar
  • 21
1 vote
1 answer
101 views

How to persist modifications to xinput

Every time I reboot my Linux, I have to set the speed of my trackpad to 1.0 using the following command: xinput set-prop 12 libinput Accel Speed 1.0 Is there a way to persist this change?
user avatar
  • 21
0 votes
1 answer
540 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
3 votes
1 answer
1k views

Touchscreen not showing on Xinput

Disclaimer: I am a relative novice and am hoping I just don't know how to interpret what I am seeing onto my device. Problem and context: I got a Windows surface PRO and it was indefensibly slow, but ...
user avatar
  • 131
0 votes
1 answer
53 views

Why are some parts of a udev rule triggered script not working? (use xinput to set mouse acceleration when plugged in)

I have a udev rule ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c084", RUN+="/some/script.sh" which successfully ...
user avatar
  • 143
0 votes
3 answers
478 views

Print device ID from xinput output in Linux matching a string

I am trying to write a script to automate the disabling/enabling my touchpad with bash script in i3wm but for that, I want to fetch the touchpad ID which is reported by the output of xinput. The idea ...
user avatar
1 vote
0 answers
2k views

Integrated touchpad of Logitech K400+ not working

I am using Ubuntu 19.10 and have paired K400+ keyboard with the help of Solaar (ver.1.0.1). I am unable to use the trackpad that comes with the keyboard. xinput ⎡ Virtual core pointer ...
user avatar