Questions tagged [xinput]

The tag has no usage guidance.

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

Z component of mouse input/output with xinput coordinte transformation matrix

I'm trying to understand the coordinate transformation matrix that can be used with xinput. I read this article, which makes sense, but I didn't really understand what the last row of the matrix -- or ...
0
votes
1answer
29 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 ...
0
votes
2answers
57 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 ...
2
votes
0answers
39 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/...
0
votes
1answer
26 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 ...
0
votes
0answers
53 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 ...
0
votes
0answers
33 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'...
1
vote
1answer
53 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 (...
1
vote
1answer
518 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 ...
1
vote
1answer
68 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
29 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
31 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
67 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
60 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
245 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
98 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
110 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
43 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
13 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
39 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
43 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
1answer
191 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
775 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
36 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
30 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
156 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
144 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 ...
1
vote
0answers
902 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
43 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
40 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
365 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
441 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 (...
1
vote
0answers
155 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
181 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
36 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
191 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
587 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
141 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
27 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
58 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 ...
3
votes
1answer
850 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
264 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
86 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
136 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
49 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
261 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 ...