Questions tagged [xinput]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
17 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
18 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
25 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
31 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
34 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
12 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
18 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
17 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
66 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] ...
0
votes
1answer
59 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
33 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
22 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
18 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
78 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
35 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
26 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
69 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 ...
0
votes
0answers
124 views

SlimBlade button mapping in Linux vs. TrackballWorks

With a Kensington SlimBlade on Linux Mint 19.2 (Ubuntu 18.04), is it possible to remap button 2 (Middle) and retain 1&3 as Middle? The default button mapping is: 1 (lower left) = Button Left 2 (...
4
votes
0answers
311 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
58 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, ...
2
votes
1answer
1k 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
18 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
33 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
137 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 ...
2
votes
1answer
498 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
126 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
89 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
35 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
878 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
211 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
122 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
761 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 ...
4
votes
0answers
510 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
555 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 -- ...
1
vote
0answers
332 views

Changing resolution on touchscreen

My screen resolution is supposed to be 1366x768 according to the screen documentation. In viewing the display, it goes "off the screen" so I am guessing the resolution is simply set incorrectly. Here ...
0
votes
1answer
269 views

Evdev Wheel Emulation by keyboard

I love XInput mouse wheel emulation! Evdev Wheel Emulation can enable on any mouse button by running bellow command (9 is the mouse button that trigger Evdev Wheel Emulation) xinput set-prop $...
2
votes
1answer
207 views

Can't use Macbook Air's keyboard and trackpad simultaneously

I'm trying to play some games on my Macbook Air's laptop and Debian 9 Stretch, but my keyboard and trackpad does not work simultaneously. There are solutions to this problem mentioning changing the ...
4
votes
1answer
3k views

Calibrating a touch-screen on dual monitors (one touch one not)

I am using Debian 9. I have a little PC with 2 in-built monitors that I intend to use as a point of sale. It has one monitor facing the customer (non-touch screen) and one facing the cashier (touch ...
1
vote
0answers
193 views

Permanently disable keyboard

I have a broken keyboard, some of the keys get stuck down. It can not be easily repaired, or removed. I have used xinput to disable the built in keyboard of my laptop, because it sometimes sends a ...
5
votes
3answers
3k views

Ubuntu 18.04 LTS / libwacom: Wacom Bamboo stylus buttons no longer work

Just updated my PC from the last LTS Ubuntu distro to 18.04LTS, and the stylus on my Wacom Wireless Bamboo tablet immediately lost all button function. The system seems to be tracking the stylus ...
1
vote
1answer
59 views

Waiting for output: unexpected behaviour when piping xinput test to grep

After % xkbset -repeatkeys % xinput test 14 | grep -m 1 "key release 36" and holding the second return, nothing happens, as expected. After releasing the second return, I get key release 36 Now I ...
4
votes
1answer
180 views

Touchpad buttons do not release after press (Debian Gnome and others)

I use a Sony Vaio Tap 11 (Intel based tablet) with Debian Gnome, but experience the same issue under Ubuntu, Arch, Fedora etc. . This tablet has a radio keyboard with touchpad and two buttons ...
5
votes
2answers
3k views

Configuring Kensington Slimblade in Linux

I just got a Kensigton Slimblade Trackball and I'm trying to configure it. I'm adapting it from my old Logitech Marble configuration. I want the configuration to be: Left-Bottom: Left click Left-...
1
vote
1answer
232 views

Multi Touch and Display

I have dual-monitor setup, both are touch screen of different size and of different model. I get following result when I execute command: user@user-hpEnvy:~$ xrandr Screen 0: minimum 8 x 8, ...
4
votes
1answer
2k views

Parameters of Evdev Scrolling Distance: meaning?

I do not understand the two last parameters of the mouse scrolling distance I would like to increase: xinput list-props 14 sudo xinput set-prop 14 'Evdev Scrolling Distance' 1, 1, 1 14 is the device ...
2
votes
2answers
881 views

How to set xinput properties triggered by udev device connection?

I'm trying to set xinput properties for a USB input device whenever it is connected. I have seen solutions that require a script to run in the background and poll USB devices, but I would like to find ...
1
vote
1answer
104 views

Inconsistent device and property labels with xinput

On Linux, I use xinput set-prop to enable tapping the touchpad to click. To find the relevant device id as well as property number, I use xinput list-props. Unfortunately, I find that both the device ...