Questions tagged [xinput]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
16 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 &...
0
votes
1answer
18 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 ...
1
vote
0answers
17 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 ...
2
votes
0answers
25 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 ...
0
votes
1answer
13 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 ...
1
vote
0answers
45 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) ...
0
votes
1answer
22 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 ...
1
vote
1answer
37 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 ...
0
votes
0answers
32 views

BASH How can I execute a loop while a mousekey is pressed?

I am looking to execute a loop while I press a key, I tried multiple ways but I have yet to find a solution. The closest success I had was something similar to this. stdbuf -oL xinput test-xi2 --root '...
0
votes
0answers
9 views

Mouse Buttons 4 and 5 are Known as Numbers 1 and 2 on Ubuntu/Kubuntu

So I have a Dark Core RGB Corsair Gaming Mouse. And the mouse does not have compatible drivers to go with it, they are only compatible with Windows are known as iCue. I've noticed that when I click ...
1
vote
0answers
24 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 ...
1
vote
1answer
33 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?
0
votes
0answers
62 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 ...
2
votes
0answers
219 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 ...
0
votes
1answer
24 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 ...
0
votes
0answers
26 views

mouse button 8 and 9 consistently fire twice

I'm testing Pop_OS 20.04 in a Hyper-V VM and have noticed that the side-buttons (forward/back) on my mouse consistently fire twice on a single click, causing e.g. Firefox to go back/forward by two ...
0
votes
0answers
68 views

xinput | Button Mapped to Double-Click - How to Remap?

I'm musing a button with 12 xinput buttons (Contour Unimouse) - 1 2 3 4 5 6 7 8 9 10 11 12. Among its buttons, it has: One physical left button One physical middle button One physical right button A ...
0
votes
3answers
62 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 ...
0
votes
0answers
261 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 ...
0
votes
0answers
24 views

Why does “xinput test” not react to pointer device events on Chromium browser?

It reacts to keyboard events even then, if I give the keyboard device id. It reacts to such events on other programs I tried, such as firefox. (Use xinput list to get your pointer device id.) However, ...
0
votes
0answers
19 views

xorg pointer “partially” acts as if button one depressed when not

I am running Ubuntu 19.10 and 20.04 with Gnome on two Lenovo Thinkpad X1 Tablets. Every so often I find my pointer partially acting as if the button 1 is pressed even though it is not. I say "...
0
votes
1answer
22 views

How to stop terminal from getting mouse click input?

I was just reading this forum where I found a curious terminal control escape sequence: "\033[?1000h". Naturally, I've tried it to see what could happens. In accordance with the inspiring comment, my ...
0
votes
2answers
146 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] ...
1
vote
1answer
203 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 (...
0
votes
0answers
96 views

Synaptics Touchpad using Absolute Input in Arch Linux

I want to use my SynPS/2 Synaptics Touchpad with Absolute input, like a touchscreen. I tried xinput set-mode 16 ABSOLUTE and it returns the following error. X Error of failed request: BadMatch (...
0
votes
0answers
32 views

Trying to disable Thinkpad nub, but not buttons, using xinput

My cursor is wandering (constantly), something is wrong with the nipplemouse. The device is "TPPS/2 IBM Trackpoint", it has seven buttons. Disabling the device disables all the buttons, including ...
0
votes
0answers
26 views

Full range of x-values in graphic tablet is not detected

Long time lurker, first time poster. Please let me know if this is better suited for another forum. I have recently acquired a Huion H640P graphic tablet, which I have been trying to use on my ...
1
vote
0answers
105 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 ...
1
vote
0answers
62 views

How to map a single touchscreen across multiple displays?

I have a project that will have a single touchscreen spanning across multiple displays. The displays are not butted against each other, there's some space between them, but the touch sensor spans ...
1
vote
0answers
32 views

cannot force linux autostart script file

I need to force my KDE Plasma installed on ubuntu 18.04 to run the following script on startup: xinput --map-to-output "Wacom HID 48DE Finger touch" eDP-1-1 xinput --map-to-output "Wacom HID 48DE Pen ...
1
vote
1answer
122 views

Touchpad too sensitive after updating from Debian 9 to Debian 10

I have recently upgraded my 2007 MacBook using this tutorial, which installs Debian 8. I had successfully installed it, and was running Debian 8, but needed to change my trackpad speed beyond the ...
4
votes
0answers
443 views

wireless mouse, very strange behavior

After the most recent apt full-upgrade that included a kernel update, I have now twice encountered a rather strange problem, and more importantly I cannot for the life of me figure out how and why the ...
2
votes
0answers
94 views

Locking Mouse to a single screen

I want to lock the mouse to a single monitor in a multi-monitor setup. I tried the following: MOUSE=`grep -i 'optical mouse' <(xinput --list --name-only)` MONITOR=`awk '/HDMI.* con/ {print $1}' &...
3
votes
0answers
43 views

Why does my touchpad stop working when I plug in my (normal, non-USB) headphones?

It's the darnedest thing. And only started happening within the last two days. Whenever I plug in my 3.5mm AKG headphones into the appropriate spot on my Acer Chromebook 15 CB3-532 running Ubuntu 18, ...
3
votes
1answer
2k views

How to remap keys only for a particular keyboard in Linux?

I have a numpad connected via USB and my goal is to be able to remap keys on that numpad so they can run custom commands or be mapped to other key combinations. I have this in my .xbindkeysrc file: ~...
0
votes
1answer
19 views

Click Events Stop Working

Problem occurs both on Ubuntu 18.04 and Arch Linux. After about 5 minutes of booting into my OS, click events from the touchpad and external mouse stop working. Scroll events will behave oddly - ...
2
votes
0answers
40 views

Notifications about X input device changes

I am developing an applet for Cinnamon which lets me enable/disable the touchscreen of my laptop. This also shows the current status of the touchscreen. Currently I am using synchronous calls to the ...
0
votes
0answers
180 views

Using stylus disables touchscreen in Kubuntu

I installed Kubuntu on my HP Spectre x360 2019 version recently and came across a problem where every time I use the stylus, the touchscreen gets disabled but does not get re-enabled after lifting it ...
3
votes
1answer
628 views

setting trackpad tapping default value with xinput

It seems to be a common issue not to be able to set certain values with xinput. So today I booted up my laptop and trackpad tapping didn't work. I looked at the xinput table and noticed that the ...
3
votes
0answers
194 views

Can I assign two mice to two windows or have two pointers?

I figured out how to put two pointers at the same time and control them with two mice (using xinput), but can I have them both assigned to a window? Since I can only have one window in focus I can't ...
2
votes
0answers
84 views

How to set separate X and Y deceleration in xinput?

I use a cheap smaller brand drawing tablet, and it works nearly fine in Gnome (aside from the pressure), but it isn't usable in KDE. The reason for this is that KDE moves the cursor based on the ...
0
votes
1answer
109 views

disable touchpad through xinput

I am trying to disable touchpad through xinput. But I cannot find the id for my touchpad... Here is xinput list: Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ ...
1
vote
0answers
44 views

confusions on xinput query-state outputs

When I run xinput query-state on something such as a power button, it returns 247 keys. Shouldn't it just be a single button? I read something online about acpi that explains this, but I am not sure I ...
0
votes
0answers
1k views

Xinput coordinate transformation matrix

I am trying to calibrate a 3.5" pitft touchscreen on a Raspberry Pi 3 using xinput. I have the display rotated so it uses a landscape orientation, with the power connector facing "up" so it can rest ...
2
votes
1answer
227 views

xorg .conf file remaps buttons for all devices, not just the one specified

I have a stylus pen with a button on the side. This button sends a middle click event, and I'd like it to send a right click. Here are my input devices: $ xinput ⎡ Virtual core pointer ...
1
vote
0answers
154 views

Use trackball for horizontal and vertical scrolling

I have a trackball mouse and want to extend the scrolling capabilities. Because the horizontal scrollwheel is very limited, I thought about using the trackball for scrolling when pressing a particular ...
2
votes
2answers
2k views

How to map mice buttons via keyboard, Linux

I use Debian 9 (aka 'Stretch') x86_64. $ uname -a: Linux mypc 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux Tried to map my extra button from my device, Logitech MU-007 : $ ...
2
votes
1answer
966 views

Two touchscreen for Ubuntu and mapping of touch events

i've a touchscreen laptop (1920x1080) and a ineractive whiteboard with touch (1280x800). To use the full resolution of the laptop i just present a part of the monitor, that is done succesfully with ...
5
votes
1answer
602 views

How to avoid mouse cursor jumping while using xinput Coordinate Transformation Matrix when application releases mouse

I've got some high sensitivity mice that I need to lower the sensitivity on. The general solution to this seems to be to set the Coordinate Transformation Matrix to something acceptable. So I use the ...
1
vote
1answer
695 views

Gaming Mouse Detected as a Keyboard

I was given a gaming mouse from a company I had never heard of before as a gift. Naturally, it doesn't work. When I first plugged it in, the LEDs lit up, and that was that. No movement, no buttons -- ...