In Ubuntu (Gnome) there is absolutely no way the change the mouse wheel scroll rate for GTK applications. It is hard-coded in GTK and determined by a “smart” algorithm which dynamically depends on the window size.
So I downloaded the source and found the function that returns the step value. I changed it to return a very small number first, and then 0 (to see if it has any affect at all).
I did
./configure
make
sudo make install
as instructed by GTK website.
It compiles with no problems (I have the libraries)
Bu then, I restart and it has absolutely no affect. My guess is Ubuntu is still using the original GTK it shipped with. What do you think is wrong here?
Well, the GTK libraries used by Ubuntu are under
/usr/libbut the one you did build and installed are under/usr/local/lib(because the implicit--prefixtoconfigureis/usr/localnot/usr).Probably, by setting your
LD_LIBRARY_PATHto look into/usr/local/libbefore/usr/libshould help.