How to configure a gaming mouse buttons in Linux using a GUI.

OK. Full disclosure. The title for this blog post is perhaps a bit misleading. The reality is that you don't actually need to use Linux. It turns out that most gaming mice can save the configuration in the mouse itself. Who knew? Certainly not me!
Some background:
I use Ubuntu Gnome as my primary OS. I don't dual boot (though I do have a Windows virtual machine for testing). I have used a gaming mouse for the past few years. I am not a gamer. The reason I use a gaming mouse is because 1) they are more precise and accurate 2) I like extra buttons for extra features and 3) they look cool.

For the longest time I was content with the mouse's default settings as I figured there was no realistic way for me to program it differently. Sure, gaming mice come with software, but I have never seen that software available for Linux.

I have looked into imwheelrc and Xbindkeys for remapping mouse buttons but I found both of those to be too much work and quite complicated. Btnx looks a bit easier to use but it is out of date and does not work on modern flavors of Linux.

I decided the other day to boot up a Virtual Machine, download the driver software, and program the mouse in the Virtual Machine. To my surprise and delight, when I used the mouse in Linux, it worked just how I configured it! The settings were saved in the mouse itself.

Honestly, I don't know why I had never thought of that before and I feel a bit dumb for never even trying it.

Bottom line: If you want a gaming mouse to work in Linux, just program it in Windows, whether via dual boot, virtual machine, or someone else's machine. They will all work fine.

About McKay Christensen

After having lived in Oregon, Alaska, and China for the past 10 years doing landscape design and English teaching, I have returned to my home state of Utah and currently work for a growing tech company.

In my free time I enjoy working on my website where I post tutorials and reviews (and anything else I think is geeky) and I also like to write songs for my Super English Kid Youtube channel.

My favorite things to do include anything with my wife and son. Hiking, camping, and photography (or anything else outdoors). Playing Ultimate Frisbee or Ping Pong. Listening to 60s, 70s, or 80s, music. 

Feel free to contact me using my contact page. I would love to hear from any of you!


  1. didn't know that. this article turns to be very helpful. keep posting.

  2. will it be configured in wine ?

  3. Gaming has good and bad sides just like everything else. The key is how good and bad are those sides. For example, some games have a bad side with players that like to fight a lot.


Powered by Blogger.