I installed imwheel correctly with sudo apt-get install imwheel. Afterwards I did insert this:

None,       Up,     Up,     10
None,       Down,   Down,   10

in my ~/.imwheelrc file. The scrolling works perfectly now. However the back / forth navigation buttons from my mouse(Logitecg G700) don't work anymore.

If I kill the process with killall imwheel, the buttons work.

Do you have any suggestions / ideas how to fix this? I'd like to use imwheel.


You can restrict imwheel to only affect the scroll wheel with the -b option. See man imwheel for more information. Hence, run it with

imwheel -b 45

Some versions of imwheel (e.g. on Ubuntu 14.04) require a different syntax. If the output of imwheel --version is imwheel 1.0.0pre12 by -=<Long Island Man>=- <jcatki@jcatki.no-ip.org>, then use the following syntax:

imwheel -b "4 5"
  • -b, --buttons button-spec The button-spec must be surrounded by quotes. Each button number must be separated by a space. – Waldemar Wosiński Dec 13 '14 at 19:07
  • @WaldemarWosiński Is that from the man page? My version doesn't have that text, and this command works perfectly fine. I'm running 1.0.0pre12, which was released 10 years ago. – Sparhawk Dec 13 '14 at 20:54
  • Copied from ubuntu man page. Tested. – Waldemar Wosiński Dec 13 '14 at 23:02
  • 3
    So the actual command is imwheel -b "4 5" for the lazy. – Rotsiser Mho Sep 10 '15 at 19:01
  • 2
    Actually, imwheel version imwheel 1.0.0pre12 requires to be -b "45" – Anwar Aug 31 '20 at 14:10

I noticed everytime kill or buttons or -c is launched, there is a competing instance already running, try single line kill and button:

sudo imwheel --kill ---buttons "4 5"


sudo imwheel -k -b "4 5"
  • Brilliant idea to kill the current process – Jamie Hutber Jan 2 at 12:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.