Skip to main content

Questions tagged [xinput]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
68 votes
7 answers
109k views

How can I set mouse sensitivity, not just mouse acceleration?

I can't find a single desktop environment that supports setting both mouse acceleration AND mouse sensitivity. I don't want any mouse acceleration, but I want to increase the speed of my mouse. That ...
David Gay's user avatar
  • 985
51 votes
5 answers
7k views

Can a command line program prevent its output being redirected?

I have become so used to do this: someprogram >output.file I do it whenever I want to save the output that a program generates to a file. I am also aware of the two variants of this IO ...
humanityANDpeace's user avatar
25 votes
5 answers
13k views

Disabling middle click on bottom of a clickpad / touchpad

The Thinkpad T480s has a "clickpad": a touchpad where (parts of) the touchpad itself is pressable instead of having physical dedicated buttons. Running X.org 7.7, there is a horizontal stripe at the ...
Cactus's user avatar
  • 845
25 votes
4 answers
27k views

Determine xinput device manufacturer and model?

I'm trying to find the device manufacturer and model of my keyboard and touch pad so I can write an XOrg configuration file targeting it via: Section "InputClass" Identifier "touchpad" ...
Naftuli Kay's user avatar
  • 40.4k
24 votes
2 answers
5k views

Where is the input method configuration file?

My ibus input method was broken after an update. So I switched to fcitx. Actually, there are a handful IMs (Input Methods) installed in my Fedora 19 system, e.g. fcitx, ibus, yong, etc. However, I ...
Martin Wang's user avatar
23 votes
3 answers
23k views

Hiding the mouse cursor dynamically when using the touchscreen

I have a touchscreen laptop and I want to hide the pointer whenever I touch the screen. I am aware of solutions like unclutter and startx -nocursor but I want the pointer to hide/show dynamically, ...
erp's user avatar
  • 717
10 votes
3 answers
11k 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-...
Nelson Teixeira's user avatar
10 votes
1 answer
2k views

Can I Xmodmap only a specific device?

I'd like to reverse scroll direction, but only on my BCM5794 multitouch trackpad. Is this possible?
Naftuli Kay's user avatar
  • 40.4k
9 votes
4 answers
7k views

Mouse scroll wheel speed far too sensitive

In my Crunchbang installation with X11, openbox, my wireless usb mouse is listed at both /dev/psaux and /dev/input/mouse0. It's working fine apart from the scroll wheel, which although active, is far ...
citronic's user avatar
  • 325
8 votes
3 answers
17k views

How can I permanently disable a xinput device?

I have a rogue xinput device due to some OS error that sends key press signals even tough nothing is pressed thereby causing screen flickering and the loss of mouse focus. The device is: xinput list ...
samy's user avatar
  • 201
8 votes
2 answers
3k 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 ...
Ian Mackinnon's user avatar
8 votes
2 answers
5k views

TrackPoint hard to control after Debian update

I'm on debian testing, and after rebooting (after an uptime of 3 weeks or so, that included a bunch of package updates, I believe including the kernel) the other day, the fine-adjustment - what a ...
Evgeniy Berezovsky's user avatar
8 votes
3 answers
2k 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 ...
milesvp's user avatar
  • 81
8 votes
4 answers
11k views

How to make xinput commands permanent

Using Linux Mint 18.1, I've remapped some mouse and keyboard keys using 'xinput' (command below). When I disconnect the mouse and reconnect it, the xinput command must be re-run manually. I had read ...
David Parks's user avatar
  • 1,170
8 votes
1 answer
2k views

How do I get xinputrc to work for login screen?

I have the following lines in /etc/X11/xinit/xinputrc to tame my mouse sensitivity: xinput --set-prop 9 "Device Accel Constant Deceleration" 4.5 xinput --set-prop 9 "Device Accel Velocity Scaling" 1 ...
Leigh Whiting's user avatar
7 votes
1 answer
9k 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 ...
mulllhausen's user avatar
  • 2,702
7 votes
1 answer
4k views

How to check whether an input device is disabled or not in xinput?

I can disable a keyboard or mouse using: xinput disable <device> But how could I know whether a device is previously disabled, in command line?
user23013's user avatar
  • 1,107
7 votes
2 answers
5k 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: ~...
orion3's user avatar
  • 211
7 votes
4 answers
7k views

How to get rid of the delay way before Lenovo touch pad reacts?

On my Lenovo T460p, I have a "delay way" before touch pad movement or scrolling is registered. Note: This delay way is not to be confused with inactive areas of the touchpad as configurable ...
Jonas Schäfer's user avatar
7 votes
1 answer
6k views

How can I see the exact properties that are set with xset?

The two main utilities to configure and test X input devices are xinput and xset. The main difference between the two (for what I understand) is that xinput allows a more fine-grained control over ...
glS's user avatar
  • 806
7 votes
2 answers
11k views

bash commands don't seem to run in .xinitrc

I am trying to run some bash commands in my .xinitrc script, but the window manager starts without these commands running properly. I run Arch Linux with the window manager is called "awesome", and I ...
Joshua's user avatar
  • 351
7 votes
1 answer
3k views

syndaemon won't disable touchpad while typing

I am trying to use syndaemon to disable my touchpad while I type. I know that the GUI for this doesn't work for many people but all the posts I've seen online suggest that using syndaemon from the ...
Jessica Hekman's user avatar
5 votes
1 answer
4k 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 ...
neverMind9's user avatar
  • 1,700
5 votes
1 answer
541 views

Can one disable tap-to-click in X server configuration without "InputClass" sections?

I want to configure my system so that tap-to-click is disabled on the touchpad. (It's running a rather old version of ALTLinux distro with xorg-server-1.4.2-alt10.M41.1.) I'm interested in a solution ...
imz -- Ivan Zakharyaschev's user avatar
5 votes
1 answer
1k 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 &...
raumkundschafter's user avatar
5 votes
1 answer
3k 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 ...
Pink Panther's user avatar
5 votes
2 answers
6k views

Disable the external keyboard from a script

I have a udev rule for my external keyboard. I can catch events, and by running a script I can also reach udev env variables. Can I disable keyboard with udev? Or must I use a script to disable the ...
ibasaran's user avatar
  • 121
5 votes
0 answers
803 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/...
Zeta.Investigator's user avatar
5 votes
0 answers
936 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 ...
NetIceCat's user avatar
  • 2,324
5 votes
3 answers
5k 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 ...
Boxbot's user avatar
  • 89
5 votes
1 answer
697 views

How can I find and edit the input classes reported by "xinput list --long"

I found these configurations and "classes" using the xinput utility on Linux Mint. Hours of documentation-crawling and googling yielded no information about them. Can anyone tell me what they are, ...
Jared's user avatar
  • 51
4 votes
1 answer
7k views

Increase mouse speed (xinput)

I don't know how to increase mouse speed. Some weeks ago xset was working fine. Now, I increase speed using command xinput --set-prop 'USB OPTICAL MOUSE' 'libinput Accel Speed' 1 But it isn't ...
Saturn's user avatar
  • 221
4 votes
1 answer
741 views

Match graphic tablet active area to monitor subarea in a dual monitor setup

I have a graphic tablet with a pen recognized by xinput as UC-LOGIC Tablet WP8060U Pen. The tablet active area has 4:3 proportions. I have two monitors: 2560x1440 (16:9) on the left and 1440x900 (16:...
Davide Olianas's user avatar
4 votes
1 answer
1k views

Get X to ignore specific mouse?

I have a program which needs control of a mouse. I have a specific mouse attached for this, and I would like X to leave it alone. Unfortunately whatever mechanism in X autodetects and configures input ...
sebf's user avatar
  • 215
4 votes
5 answers
6k views

How can I increase the acceleration of the mouse wheel via xinput?

I have a Microsoft wireless USB mouse whose scroll wheel seems to have absolutely no acceleration whatsoever on Linux. On Windows and OSX, the faster I scroll, the faster the page scrolls, and vice ...
user78529's user avatar
4 votes
0 answers
344 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
4 votes
1 answer
399 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 ...
ChrisK's user avatar
  • 41
4 votes
0 answers
1k views

Hide individual pointer cursor (because of flicker) in KDE in dual pointer setup with touchscreen

Under Kubuntu 17.04, I'm trying to obtain a dual pointer setup where one is attached to my mouse as usual and the other is attached to the touchscreen that otherwise works correctly while attached to ...
Ayberk Özgür's user avatar
4 votes
1 answer
886 views

TrackPoint problems with latest libinput, Xorg updates (need evdev props)

I'm running Arch Linux. On a recent update of Xorg, evdev was replaced by libinput (by default). When this happened, I lost the xinput properties I use for making my TrackPoint behave properly. ...
MountainX's user avatar
  • 18.4k
4 votes
0 answers
901 views

manipulate multiple windows simultaneously

this is probably a long shot but I've been pondering it for a while. I realize that the actual use-cases of this sort of interaction are quite sparse. The main uses I can think of would be moving ...
erp's user avatar
  • 717
3 votes
2 answers
2k 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 ...
ScottishTapWater's user avatar
3 votes
3 answers
1k views

Is it possible to tweak input from touchpad?

I use a MS keyboard on my Debian machine. The problem is that MS does not ship configuration software for us and touchpad's default scrolling directions are reversed (it uses natural scrolling). I ...
Kolyunya's user avatar
  • 587
3 votes
2 answers
5k views

How to use xinput to configure multiple devices with a script?

How do you configure xinput to set multiple devices automatically using a script? $ xinput --list ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core ...
Exaeta's user avatar
  • 133
3 votes
3 answers
4k views

Touchpad not detected

Some days ago I received a LDLC Iris FB2-I5-8-S2 notebook and installed Linux on it (Linux Mint 16 Cinnamon 32bit, Kernel 3.11.0-12-generic). Everything except the TouchPad works out of box (even the ...
eldkylot's user avatar
3 votes
3 answers
2k 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 ...
lolc's user avatar
  • 33
3 votes
2 answers
7k views

Touchpad not working after suspend Ubuntu 16.04

My mousepad is not working after suspend on a Lenovo E460. It used to work perfectly but after this it no longer even appears in xinput. I have tried to plug in a mouse and that works fine. Edit: ...
ADan's user avatar
  • 71
3 votes
2 answers
5k views

xinput calibration and options

I'm on a lenovo thinkpad x220t running a fresh installation of fedora 22. Everything works fine, except when I connect the tablet to a projector, due to change of resolution the pen is not calibrated ...
K1.'s user avatar
  • 225
3 votes
2 answers
4k 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 : $ ...
Gilles Quénot's user avatar
3 votes
1 answer
4k views

Xinput button mapping and middle button emulation

I have a mouse with 4 physical buttons (Kensington Slimblade Trackball), let's call them A B C D, plus 3 axes: mouse X, Y, and scroll wheel. Buttons A and B work out of the box as primary (button 1) ...
Tobia's user avatar
  • 689
3 votes
1 answer
1k views

X11 multi-pointer, pointer conflicts

In an attempt to continue using my PC whilst automating a GUI application, I have created 2 pointers on my machine using xinput, one being controlled by me, the other by pyautogui. on my system this ...
keda's user avatar
  • 82

1
2 3 4 5