Mouse Wheel Speed in Gnome

First you need to install imwheel using whatever package manager you use.
Ubuntu users should be able to use the software centre apt://imwheel
Or command line:

sudo apt-get install imwheel

Put imwheel in your Preferences -> Startup Applications list.

Download the code below http://www.nicknorton.net/mousewheel.sh
Save it into your home folder, make it executable. Run it and enjoy.

#!/bin/bash
# Version 0.1 Tuesday, 07 May 2013
# Comments and complaints http://www.nicknorton.net
# GUI for mouse wheel speed using imwheel in Gnome
# imwheel needs to be installed for this script to work
# sudo apt-get install imwheel
# Pretty much hard wired to only use a mouse with
# left, right and wheel in the middle.
# If you have a mouse with complications or special needs,
# use the command xev to find what your wheel does.
#
### see if imwheel config exists, if not create it ###
if [ ! -f ~/.imwheelrc ]
then

cat >~/.imwheelrc<<EOF
".*"
None,      Up,   Button4, 1
None,      Down, Button5, 1
Control_L, Up,   Control_L|Button4
Control_L, Down, Control_L|Button5
Shift_L,   Up,   Shift_L|Button4
Shift_L,   Down, Shift_L|Button5
EOF

fi
##########################################################

CURRENT_VALUE=$(awk -F 'Button4,' '{print $2}' ~/.imwheelrc)

NEW_VALUE=$(zenity --scale --window-icon=info --ok-label=Apply --title="Wheelies" --text "Mouse wheel speed:" --min-value=1 --max-value=100 --value="$CURRENT_VALUE" --step 1)

if [ "$NEW_VALUE" == "" ];
then exit 0
fi

sed -i "s/\($TARGET_KEY *Button4, *\).*/\1$NEW_VALUE/" ~/.imwheelrc # find the string Button4, and write new value.
sed -i "s/\($TARGET_KEY *Button5, *\).*/\1$NEW_VALUE/" ~/.imwheelrc # find the string Button5, and write new value.

cat ~/.imwheelrc
imwheel -kill

Comments

Great!! Worked very well for

Great!! Worked very well for me, thanks.

I did this on ubuntu 14.04,

I did this on ubuntu 14.04, hope you guys find it handy. This will add it under your ubuntu settings panel. # install wget or just go download the mousewheel.sh script that Nick Norton created. sudo apt-get install wget # download script and make it executable cd /usr/local/bin sudo wget http://www.nicknorton.net/mousewheel.sh sudo chmod +x mousewheel.sh # create this so that you can set this via the system settings panel in ubuntu :-) sudo vi /usr/share/applications/unity-mouse-panel-wheel.desktop # add this content to the above file [Desktop Entry] Name=Mouse Scroll Wheel Comment=Set your mouse scroll speed Exec=bash -c /usr/local/bin/mousewheel.sh Icon=input-mouse Terminal=false Type=Application StartupNotify=true Categories=GNOME;GTK;Settings;HardwareSettings;X-Unity-Settings-Panel; OnlyShowIn=Unity; X-Unity-Settings-Panel=mousewheel # Translators: those are keywords for the mouse and touchpad control-center panel Keywords=Trackpad;Pointer;Click;Tap;Double;Button;Trackball; X-Ubuntu-Gettext-Domain=unity-control-center

Installed, but don't know

Installed, but don't know where it is after terminal said was running .. maybe this is too complicated for my simple mind. Just want to slow down the scroll wheel as it skips way to fast.

Download the script. It could

Download the script. It could be the that the file gets downloaded to your "Downloads" folder. Make the script executable & run it. If nothing happens when you run the script, delete the existing config file for imwheel. It should be in your home folder but it is a hidden file rm ~/.imwheelrc

How to slow down the speed of

How to slow down the speed of a wheel? my wheel is scrolling a half page on 1 step by default.