Greetings!!!
RECENT UPDATE: some recent linux distributions that have Wayland or Xorg that use libinput have this glitch fixed, so you might not need this utility. I have heard conflicting reports, so your mileage may vary.
This package, resetmsmice, fixes scroll wheel issues with certain Wireless Microsoft mice in X.org (includes KDE & Gnome applications), where the vertical wheel scrolls abnormally fast. Only needed if you dual boot between Microsoft Windows and some linux distro. Known to fix the vertical scroll wheel issue with the following models (and others related): Microsoft Wireless Mouse 1000 Microsoft Wireless Optical Desktop 3000 Microsoft Wireless Mobile Mouse 3500 Microsoft Wireless Mobile Mouse 4000 Microsoft Comfort Mouse 4500 Microsoft Wireless Mouse 5000 Microsoft Sculpt Mouse This program basically just resets a setting in the mouse through usb communications and then exits.
Please let me know if this works for your mouse not listed above!!!
Copyright (C) 2011-2021 Paul F. Richards (paulrichards321@gmail.com)
This code is under the GNU GPL v2 license. See below for full license!
sudo apt install build-essential pkg-config libusb-1.0-0-dev
sudo apt install libgtk-3-dev libglib2.0-dev
sudo yum groupinstall "Development Tools" sudo yum install libusbx-devel
sudo yum install gtk3-devel glib2-devel
Open a command line, and cd into the directory you untarred this package then type: autoreconf -i .
./configure
./configure --disable-gui
make sudo make install
If you have a Gnome, KDE, or Unity desktop, go to the Settings submenu and you will see an icon there for 'Microsoft Mouse Settings' for launching the program.
To launch it from the command line run (with gui): resetmsmice-gui
To launch it from the command line (without gui): resetmsmice
From the graphical interface you can enable/disable the mouse to be reset on boot or reset right now.
By default the make install script sets up the package to run on boot, but if you disable it and ever need to enable it manually again run as root: sudo resetmsmice-enable-boot --enable
as root type: sudo resetmsmice-enable-boot --disable
This will stop resetmsmice from running on bootup.
Copyright (C) 2011-2021 Paul F. Richards (paulrichards321@gmail.com)
Large parts of the code included in this package was taken from the Linux kernel, and the below license applies to that as well. See each file for more details.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
build-essential: The development and build essentials such as the C/C++ compilers and standard development libraries
cmake: Modern cross-platform build utility (optional)
pkg-config: Helper tool for compiling applications and libraries If you are on another distro and can't seem to find a package for pkgconfig, grab it here:
http://www.freedesktop.org/wiki/Software/pkg-config
You will need to compile pkg-config and install it if your package
manager doesn't have the package.
libusb-1.0-0-dev: Lib usb development files
If you can't seem to find this package in your package manager,
you can grab the tarball here:
http://sourceforge.net/projects/libusb/files/libusb-1.0/
I use libusb-1.0.8, but anything after that should work as well.
libgtk-3-dev: Gtk graphical toolkit development files and associated dependencies
libglib-2.0-dev: Glib library for starting programs and handling messages between programs.