Hot answers tagged

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 ...
Alex Jones's user avatar
  • 7,840
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 ...
Jatin-CBS's user avatar
  • 667
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/...
xiota's user avatar
  • 4,749
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.
RickSanchez725's user avatar
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 ...
Ruslan Gerasimov's user avatar
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 ...
Lokasenna's user avatar
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. /...
Erin's user avatar
  • 71
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. ...
rashok's user avatar
  • 319
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 ...
Philip F. Stock's user avatar
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 ...
Sergiy Kolodyazhnyy's user avatar
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=...
Torstein S's user avatar
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 ...
Peter Chen's user avatar
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{...
user1839457's user avatar
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 ...
Mærcos's user avatar
  • 67
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....
Mr Invader's user avatar
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 ...
Carson McManus's user avatar
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 ...
Sergiy Kolodyazhnyy's user avatar
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!
tatsu's user avatar
  • 3,008
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 ...
Moilleadóir's user avatar
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.
III sprites's user avatar
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 ...
yannick1976's user avatar
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 ...
old_warbaker's user avatar
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 ...
mikołak's user avatar
  • 103
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
buyus's user avatar
  • 31
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 ...
Fabio C. Barrionuevo da Luz's user avatar
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
d1bro's user avatar
  • 2,294
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, ...
stumblebee's user avatar
  • 2,983
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 ...
Parth Shah's user avatar
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 ...
Lol4t0's user avatar
  • 81

Only top scored, non community-wiki answers of a minimum length are eligible