-
Notifications
You must be signed in to change notification settings - Fork 5
/
README
157 lines (122 loc) · 6.34 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
Greetings!!!
------------------------------------------------------------------------------
About this package
------------------------------------------------------------------------------
***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 ([email protected])
This code is under the GNU GPL v2 license. See below for full license!
------------------------------------------------------------------------------
Software dependacies to compile on Ubuntu, Kubuntu, Mint Linux and the other
Debian or Ubuntu derivatives
------------------------------------------------------------------------------
# One liner to grab all the package requirements for Ubuntu, Kubuntu, etc:
sudo apt install build-essential pkg-config libusb-1.0-0-dev
# if building with gui program:
sudo apt install libgtk-3-dev libglib2.0-dev
------------------------------------------------------------------------------
Software dependacies to compile on Redhat, Suse, or other RPM based distros
------------------------------------------------------------------------------
# One liner to grab all the package requirements for Redhat and other RPM
# based distributions:
sudo yum groupinstall "Development Tools"
sudo yum install libusbx-devel
# if building with gui program:
sudo yum install gtk3-devel glib2-devel
------------------------------------------------------------------------------
Compiling and installing this package on Linux:
------------------------------------------------------------------------------
Open a command line, and cd into the directory you untarred this package then
type:
autoreconf -i .
# if building with gui program:
./configure
# if building WITHOUT gui program:
./configure --disable-gui
# The rest for either
make
sudo make install
------------------------------------------------------------------------------
To configure the system through the graphical interface after 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.
------------------------------------------------------------------------------
To have the package run on system bootup on the command line
------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
To disable resetmsmice from starting on bootup on the command line
------------------------------------------------------------------------------
as root type:
sudo resetmsmice-enable-boot --disable
This will stop resetmsmice from running on bootup.
------------------------------------------------------------------------------
License: GPL 2 or above
------------------------------------------------------------------------------
Copyright (C) 2011-2021 Paul F. Richards ([email protected])
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.
------------------------------------------------------------------------------
Appendix A: Description of each package required (Ubuntu/Debian flavors)
------------------------------------------------------------------------------
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.