Questions tagged [xinput]

xinput is a tool used to list any input devices, find out information about those devices and also change settings of any of those devices listed. Questions can cover xinput configuration and use itself and can also discuss input device configuration.

288 questions
47
votes
5 answers

How do I automatically remap buttons on my mouse at startup?

I struggled with this over the weekend, and need to remap my mouse buttons.
37
votes
6 answers

Touchpad not working on Ubuntu 18.04

I just newly bought an ASUS laptop. The touchpad works fine on Windows, then I installed Ubuntu 18.04. The touchpad however does not work. touchpad works fine on Windows 10 touchpad does not work on a live ubuntu USB fn key works on Ubuntu touchpad…
24
votes
5 answers

Mouse speed too fast

I've a problem with the mouse speed... I have a gaming mouse with a hardware switch (1000 dpi, 1600 dpi, 2000 dpi) and I've set it to 1000 dpi, I've mouse acceleration and threshold set to 0. I tried solving with xset and xinput but it seemed to…
22
votes
2 answers

How to disable touchscreen permanently?

I am trying to disable the touchscreen on my Asus S200E laptop. In Ubuntu 16.04, I was able to do so with this: Section "InputClass" Identifier "evdev touchscreen catchall" MatchIsTouchscreen "on" MatchDevicePath "/dev/input/event*" …
21
votes
1 answer

How to use trackpoint but keep touchpad disabled on Lenovo ThinkPad e531

I have a Lenovo ThinkPad e531 laptop. This model has both a touchpad and a trackpoint. I'd like to use the Trackpoint, because I'm used to it from my previous laptop, but I'd also like to disable the touchpad, to prevent accidentally touching…
adam
  • 871
19
votes
2 answers

How to remap keys on one keyboard only?

I know I can use xinput to remap mouse buttons on only one mouse but leave others unchanged. This is very useful. In my case, I use it to connect two mice to my desktop, one right-handed and the other left-handed. Can something like this also be…
Oak
  • 291
18
votes
3 answers

How to change mouse scroll speed while using libinput?

I can only find scroll methods support in libinput. https://www.mankier.com/4/libinput http://wayland.freedesktop.org/libinput/doc/latest/group__config.html How can I change the scroll speed of my bluetooth mouse? No relevant prop in my xinput…
Sudhanshu
  • 446
18
votes
4 answers

How do you enable tap-to-click via command line?

You can use this to reverse scroll direction (natural scroll): xmodmap -e "pointer = 1 2 3 5 4 7 6 8 9 10 11 12" You can also set it back again with xmodmap -e "pointer = 1 2 3 4 5 7 6 8 9 10 11 12" and this to switch the left and right…
Wilf
  • 30,732
16
votes
3 answers

Touchpad stopped working out of the blue

So, I'm watching "The Walking Dead" and all of the sudden I lose control of my mouse through the touchpad. At first it was just for my user. I could reboot my system and switch to another user and use it just fine. I cannot explain the steps I took…
KI4JGT
  • 1,888
16
votes
3 answers

'xinput list' shows same device twice & device IDs change: how to use 'set-prop' in a script?

For some reason Logitech's USB receiver shows up twice in xinput list device list: Logitech USB Receiver id=13 [slave pointer (2)] Logitech USB Receiver id=14 [slave pointer (2)] When I try to xinput set-prop "Logitech USB…
pileofrocks
  • 1,352
  • 1
  • 11
  • 26
16
votes
4 answers

How can I make IBus not ignore ~/.XCompose?

Since UIM didn't want to play ball after installing Ubuntu 12.04 from scratch, I tried IBus, since that's the IME framework that's coming with Ubuntu by default. However, ibus-table-compose is a pain in the butt to use because just to enter one…
Jipí
  • 323
13
votes
4 answers

Disabling touch screen only temporarily

My touchscreen is cracked, so the pointer continuously clicks on the cracked area. That prevents me from using the computer normally. I have tried the xinput disable 'ELAN Touchscreen' command, and even the one specific to the input number (though…
12
votes
3 answers

How to identify relation between HID /dev/input/* files and real hardware?

My friend had problems with touchscreen (they are gone after two reboots) after her sister used her laptop and when I tried to help I didn't find a way to identify /dev/input/* files. One way I've found was to grep in $ dmesg (/var/log/kern.log) but…
int_ua
  • 8,892
11
votes
3 answers

How can I stop my controller from moving my mouse?

This is the adapter which I am trying to get working: Amazon - Mayflash Wii U Pro Controller usb adapter This adapter has two modes, an xbox input mode and a generic hid mode. The xbox mode works fine on Ubuntu but it only supports one controller.…
DavidW
  • 310
10
votes
4 answers

Where do I have to paste an "xinput" command so that it executes it when GNOME is started?

On my Thinkpad I need to execute something like this in the terminal: xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Middle Button Emulation" 8 1 so that my the 2 buttons on my touchpad emulate the middle mouse click. Now I need this line to be…
michuk
  • 233
  • 1
  • 2
  • 7
1
2 3
19 20