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.

2 Answers 2


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. Dec 13, 2014 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, 2014 at 20:54
  • Copied from ubuntu man page. Tested. Dec 13, 2014 at 23:02
  • 3
    So the actual command is imwheel -b "4 5" for the lazy. Sep 10, 2015 at 19:01
  • 2
    Actually, imwheel version imwheel 1.0.0pre12 requires to be -b "45"
    – Anwar
    Aug 31, 2020 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 --buttons:

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


sudo imwheel -k -b "4 5"
  • Brilliant idea to kill the current process Jan 2, 2021 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.