28
votes
Accepted
Mouse speed too fast
Open a terminal
Run the command: xinput --list --short
Logitech USB Optical Mouse id=10 [slave pointer (2)]
(this is a part of output you will see, I found the name of my mouse Logitech USB Optical ...
28
votes
Accepted
Touchpad not working on Ubuntu 18.04
Try the below command. If it does not show your touchpad then Ubuntu does not support it.
less /proc/bus/input/devices
After that or if you have already done step 3 you can try
sudo rmmod i2c_hid
...
24
votes
Accepted
How to disable touchscreen permanently?
It appears that you are referring to files located at /usr/share/X11/xorg.conf.d. Perhaps the libinput driver was recently updated to support your touchscreen?
Probably you want to edit /usr/share/...
13
votes
Disabling touch screen only temporarily
To first find the id of the device use:
xinput -list
From there find the name of the touch screen and then run:
xinput disable DEVICE
where DEVICE is the device name enclosed in quotes or its id.
9
votes
How do I automatically remap buttons on my mouse at startup?
Short steps for this are:
There is a utility called xinput. xinput list or just xinput will show all the X input devices and theirs IDs. Here you find ID of the mouse which you want to remap.
I will ...
7
votes
How do I automatically remap buttons on my mouse at startup?
When using zerobandwidth's great answer, some devices, such as Logitech's MX Ergo, show up as both a pointer and a keyboard device:
⎡ Virtual core pointer id=2 [master ...
7
votes
How can I stop my controller from moving my mouse?
To stop the joystick controlling the mouse is actually really easy, after much searching finally stumbled across it, in the current versions of ubuntu xorg.conf isn't used, instead you have files in. /...
7
votes
Touchpad not working on Ubuntu 18.04
Installing below package will resolve the touchpad issues on Ubuntu 18.04.
sudo apt install xserver-xorg-input-synaptics
On my laptop also touchpad was not working after installing ubuntu 18.04. ...
6
votes
changing mouse acceleration and speed xinput
The way to set it is in terminal not xset m.
First, use xinput --list --short and write down your mouse ID. Mine is (8). Save it.
Next, in the terminal, type:
xinput --list-props yourMouseId
Press ...
6
votes
Accepted
run xset command at startup
As it has been solved in the comments, the solution is to set the command to the command within a shell and delayed, like so:
bash -c 'sleep 10 && xset m 2 12'
The delays allows for GUI to ...
5
votes
Mouse speed too fast
For a Corsair M65 gaming mouse i did the following
$xinput --list --short
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=...
5
votes
Accepted
Unable to set default values for SynPS/2 Synaptic
You can change the default value in your libinput config file located at
/usr/share/X11/xorg.conf.d/40-libinput.conf
(mine is actually 90-libinput.conf. anyways, something like this.)
Just add
...
5
votes
Accepted
How do i turn off the trackpoint within wayland?
This worked for me today:
sudo gedit /etc/udev/rules.d/99-myfavoritetrackpoint.rules
In that file:
# ALPS DualPoint Stick: Ignore as input device
ATTRS{name}=="*DualPoint Stick", ENV{...
4
votes
Accepted
Making xinput id permanent
For those who want to know, I couldn't turn an ID permanent but I could find it through xinput list --id-only, then created a script that used Chrome's --touch-devices parameter to set the device's ID
...
4
votes
Mouse speed too fast
I ended up having to do
xinput --list --short
as said by original answerer, but had to do
xinput set-prop 17(my device id) "Device Accel Constant Deceleration" 2
to make it work on my Xubuntu 16....
4
votes
How can I configure the buttons on a Corsair gaming mouse?
Unfortunately, Corsair doesn't seem to want to support linux at all. However, there are a couple of work arounds. Although it's important to note that I haven't tested these solutions myself. In ...
4
votes
Accepted
Mouse deceleration set - how to?
Introduction
The script bellow waits for user-defined device to be connected and sets appropriate values , continuously repeating the process , thus allowing the user to connect and disconnect device ...
4
votes
Touchpad not working on Ubuntu 18.04
shot in the dark... i literally JUST pulled updates and it started working for me!
maybe try updating now?
it's not 100% functionality and sometimes it turns off for some reason but it works!
3
votes
How can I make IBus not ignore ~/.XCompose?
Since Dennis Williamson said it worked in 16.04 in a comment above, I tested in this fresh 18.04 install with a short .XCompose copied from my previous 16.04 install.
# Import default rules from the ...
3
votes
How to change mouse scroll speed while using libinput?
This has been answered on Unix & Linux by meuh
In short,
there is no current api for changing the scroll speed for libinput devices
so other methods must be used to solve this issue.
3
votes
Accepted
executing xinput from a script in sleep.d
Finally got it to work ! It appears running xinput from a sleep.d script requires some tweaks. Here is what I did. Hope it will be of some use to someone.
So I have one script called 40mouse_slow I ...
3
votes
Remap buttons on secondary device
Map your device's mouse buttons to unused mouse buttons, then use your xbindkeys to refer to those.
Use xinput list to find your device's id.
Use xinput set-button-map to remap your buttons to other ...
3
votes
Touchscreen calibration with dual monitors (NVidia and xinput)
While Beni's answer will probably work for some (if not most) people, in my case xinput_calibrator was still getting confused despite the other displays being disabled. I also wasn't partial to ...
3
votes
Mouse speed too fast
If ConstantDeceleration is not available, you can use negative accelerations.
In Debian XFCE I used:
xinput set-prop 8 "libinput Accel Speed" -0.9
3
votes
Dell Inspiron 15-7568 Touchpad Move Freeze on Xenial 16.04
The integrated keyboard and touchpad randomly freeze in my Dell Latitude 3450 (formally, my touchpad is a clickpad )
I solved all my problems with Synaptic touchpad and keyboard freeze by simple use ...
3
votes
Accepted
How to disable mouse acceleration in 17.04
apparently some changes in the underlying code make it necessary to change the command you used to: xinput --set-prop 'USB OPTICAL MOUSE' 'libinput Accel Profile Enabled' 0, 1
3
votes
Accepted
Changes with xinput randomly revert back to default
This appears to be a bug (the fact that the touchscreen device randomly disconnects and reconnects as a new device, which has the side-effect of resetting all settings to default).
As a workaround, ...
3
votes
Accepted
Dell Active Pen PN350M not working properly
I managed to create a python driver using the evdev and libevdev libraries. I'm creating a virtual device and then simply passing the events I found from the stylus. It's working with pressure events ...
3
votes
I am unable to connect to X server
If you do it from tty, you should provide DISPLAY env variable
lol4t0@lol4t0-nix:~$ DISPLAY=:1 xinput
Unable to connect to X server
lol4t0@lol4t0-nix:~$ DISPLAY=:0 xinput
⎡ Virtual core pointer ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
xinput × 280touchpad × 72
mouse × 70
touchscreen × 49
xorg × 34
keyboard × 28
input-devices × 19
14.04 × 17
libinput × 16
synaptics × 14
command-line × 13
drivers × 13
20.04 × 13
graphics-tablet × 13
wacom × 12
wayland × 11
18.04 × 10
scripts × 10
multiple-monitors × 8
bluetooth × 8
suspend × 8
thinkpad × 8
logitech × 8
mouse-scroll × 8
16.04 × 7